Jump to:

23550 Posts in 19336 Topics by 2890 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: 522 Views
  • try2dream
    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
    Forum Moderator
    1091 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...


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.