title: what's wrong with my require_once path?
body: <p>I've switched my files over from a local environment to my vps and now my facebook notification isn't working even thought I'm pretty sure I've updated all the paths correctly. I've tried writing the require path numerous ways.
  I'm doing a "$.post" from jquery to a php page where the facebook notification is sent and am getting this error: </p>
  
  <pre><code>&lt;b&gt;Fatal error&lt;/b&gt;:  Class 'Facebook' not found in 
  
  &lt;b&gt;/home/zjkkvcxc/public_html/accepted.php&lt;/b&gt; on line &lt;b&gt;9&lt;/b&gt;&lt;br /&gt;
  
  //THIS IS MY PHP REQUIRE PATH. 
  
  require_once('php-sdk/facebook.php') ;
  
  //IN MY LOCAL ENVIRONMENT I WAS USING THIS PATH BECAUSE IT WAS THE ONLY ONE THAT WORKED. THIS DOESN'T WORK ON MY VPS THOUGH. 
  
  require_once(dirname(__FILE__).'/php-sdk/facebook.php') ;
  </code></pre>