title: PHP Fatal error: require_once()
body: <p>As soon as I move my files to my host (at namecheap through Filezilla), only the navbar loads - I use the "codecourse" (previously phpacademy) OOP login/registration system, and the problem seems to be in the classes "../class/xxx.php" being called in "../core/init.php" - I haven't touched any of those files other than changing datebase, but no code has been touched.</p>
  
  <p>The error log (error_log);
  <a href="http://pastebin.com/eZsKrftm" rel="nofollow noreferrer">http://pastebin.com/eZsKrftm</a></p>
  
  <p>My 'classes' folder;
  <a href="https://i.stack.imgur.com/B0Tuw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/B0Tuw.png" alt="enter image description here"></a></p>
  
  <p>../core/init.php line 21;</p>
  
  <pre><code>require_once($_SERVER['DOCUMENT_ROOT'] . '/classes/' . $class . '.php');
  </code></pre>
  
  <p>I have <strong>no</strong> idea how to fix this, I did everything the error_log says is wrong really, I tried renaming all the classes to have a capital front-letter, but that doesn't seem to be it...</p>
  
  <p>The weirdest part about this, is that it works just fine locally (xampp).</p>