title: WordPress : can't find wp-load.php file
body: <p>This is probably a simple problem, but can't figure it out...</p>
  
  <p>1) I installed the wordpress file directly under the xxxx directory; wp-admin, wp-content, wp-includes are all within wordpress file.</p>
  
  <p>2) wp-load.php exists wordpress folder, I copied it into the wp-admin folder as well.</p>
  
  <p>3) wp-config.php exists in wordpress folder.</p>
  
  <p>the errors are as follows:</p>
  
  <pre><code>&lt;br /&gt;
  &lt;b&gt;Warning&lt;/b&gt;:  require_once(../wp-load.php): failed to open stream: No such file or directory in &lt;b&gt;D:\xampp\htdocs\dev\wp-content\plugins\workflow\ajax.php&lt;/b&gt; on line &lt;b&gt;6&lt;/b&gt;&lt;br /&gt;
  &lt;br /&gt;
  &lt;b&gt;Fatal error&lt;/b&gt;:  require_once(): Failed opening required '../wp-load.php' (include_path='D:\xampp\php\PEAR') in &lt;b&gt;D:\xampp\htdocs\dev\wp-content\plugins\workflow\ajax.php&lt;/b&gt; on line &lt;b&gt;6&lt;/b&gt;&lt;br /&gt;
  </code></pre>
  
  <p>This problem is in plugin folder.</p>
  
  <p>and i add this code in php file :-</p>
  
  <pre><code>include("../../../wp-load.php");
  if($_POST["do"] == "add_edda_form")
  {
  global $wpdb;
  $wpdb-&gt;workflow_content = $wpdb-&gt;prefix.'workflow_content';
  session_start();
  if(isset($_POST["captcha"]) &amp;&amp; $_POST["captcha"] != "" &amp;&amp; $_SESSION["code"] == $_POST["captcha"] &amp;&amp; $_POST["stutjawgmodano"] )
  {
  $ebdaa_insert = mysql_query("INSERT INTO $wpdb-&gt;workflow_content SET
  stutjawgmodano = '".$_POST["stutjawgmodano"]."',
  stutjawgmodaprice = '".$_POST["stutjawgmodaprice"]."',
  stumotazerno = '".$_POST["stumotazerno"]."',
  stumotazerprice = '".$_POST["stumotazerprice"]."',
  stuenzarno = '".$_POST["stuenzarno"]."',
  stuenzarprice = '".$_POST["stuenzarprice"]."',
  stuotherno = '".$_POST["stuotherno"]."',
  stuotherprice = '".$_POST["stuotherprice"]."',
  stutotalno = '".$_POST["stutotalno"]."',
  stutotalprice = '".$_POST["stutotalprice"]."',
  buldrentno = '".$_POST["buldrentno"]."',
  buldrentprice = '".$_POST["buldrentprice"]."',
  earthrentno = '".$_POST["earthrentno"]."',
  earthrentprice = '".$_POST["earthrentprice"]."',
  unrentno = '".$_POST["unrentno"]."',
  unrentprice = '".$_POST["unrentprice"]."',
  unotherno = '".$_POST["unotherno"]."',
  unotherprice = '".$_POST["unotherprice"]."',
  untotalno = '".$_POST["untotalno"]."',
  untotalprice = '".$_POST["untotalprice"]."',
  totalallprice = '".$_POST["totalallprice"]."',
  masoolname = '".$_POST["masoolname"]."',
  masoolemail = '".$_POST["masoolemail"]."',
  masoolid = '".$_POST["masoolid"]."',
  unverstyname = '".$_POST["unverstyname"]."',
  date = '".time()."'") or die(mysql_error());
  }
  </code></pre>