Jump to:

23483 Posts in 18976 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Suddenly broken site (PLESK)

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 2
Go to End
Author Topic: 2881 Views
  • martbarr
    Avatar
    Community Member
    46 Posts

    Re: Suddenly broken site (PLESK) Link to this post

    I just cleared out silverstripe-cache folder, made sure it was chmod 777, and tried the site again.
    It has written two files in there - manifest-index and manifest-main
    and then stopped with the fatal debug not found error in the log

    A bit weird that it does this on a fresh install !

    thanks for your help!

    Martin

  • martbarr
    Avatar
    Community Member
    46 Posts

    Re: Suddenly broken site (PLESK) Link to this post

    thanks - tried it both live and dev and no go .......

  • martimiz
    Avatar
    Forum Moderator
    1086 Posts

    Re: Suddenly broken site (PLESK) Link to this post

    Hi again,

    Seems I spoke too soon - and didn't read too well: The error message states that you have access to your root folder and to /tmp/ as well. So my interpretation of your error message was off I guess- sorry for that

    But it seems that there definitely are issues with open_basedir and plesk. I found this, and there is more (no, there is nothing missing from the url):

    http://www.bigsoft.co.uk/blog/index.php/2007/12/30/fixing-php-s-require-open_basedir-restri

    [EDIT] OK - that's old, but http://icephoenix.us/php/getting-around-open_basedir-restriction-on-plesk/, http://forum.parallels.com/showthread.php?t=105645

    So maybe your ISP does have the answers...

  • martbarr
    Avatar
    Community Member
    46 Posts

    Re: Suddenly broken site (PLESK) Link to this post

    Solution:-

    It was indeed the open_basedir settings changed in plesk- it had suddenly acquired a final slash.
    But when SS calculates it's BASE_PATH it doesn't have the last slash (on 2.4.5) and so fails the "in path" test and thus fails to build the manifest properly and stops with fatal errors.

    Just had to make a tweak to Core.php to add a final slash and suddenly all the errors went away and I was back up!

    Thanks guys for the ideas and moral support - invaluable !!!!

    Martin

    2881 Views
Page: 1 2
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.