Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

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

Suddenly broken site (PLESK)


Reply


12 Posts   2933 Views

Avatar
martbarr

Community Member, 47 Posts

16 July 2011 at 12:25am

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

Avatar
martbarr

Community Member, 47 Posts

16 July 2011 at 12:28am

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

Avatar
martimiz

Forum Moderator, 1098 Posts

16 July 2011 at 1:30am

Edited: 16/07/2011 1:38am

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...

Avatar
martbarr

Community Member, 47 Posts

18 July 2011 at 4:20am

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