Jump to:

23367 Posts in 18143 Topics by 2863 members

General Questions

SilverStripe Forums » General Questions » Site showing php error (ClassLoader.php on line 57)

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 477 Views
  • try2dream
    Avatar
    Community Member
    5 Posts

    Site showing php error (ClassLoader.php on line 57) Link to this post

    I just checked my website and haven't edited any content or files and have checked with my hosting company to confirm that nothing has been changed on the server and my website is showing this PHP error:

    Warning: require_once(/home/******/public_html/cms/_config.php) [function.require-once]: failed to open stream: No such file or directory in /home2/******/public_html/framework/core/manifest/ClassLoader.php on line 57

    Fatal error: require_once() [function.require]: Failed opening required '/home/******/public_html/cms/_config.php' (include_path='.:/home2/******/public_html/framework:/home2/******/public_html/framework/parsers:/home2/******/public_html/framework/thirdparty:.:/usr/lib/php:/usr/local/lib/php') in /home2/******/public_html/framework/core/manifest/ClassLoader.php on line 57

    It was working fine last night, anyone know how can I fix this?

  • martimiz
    Avatar
    Forum Moderator
    1067 Posts

    Re: Site showing php error (ClassLoader.php on line 57) Link to this post

    I'm finding it a bit weird that the error is referring to 2 separate absolute paths /home/... And /home2/... At this point it seems the directory used to be called /home/ but is now called /home2/. I don't quite understand how this could be if your provider sais nothing changed...

    But I suppose doing a /dev/build/?flush=1 should flush your cache and point silverstripe back to the correct path...

    Martine

    477 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.