Yep - That is the same thing I am getting. It seems to work for a couple of pages and then stops working again. Any suggestions of where to look? log files, etc?
Thanks,
Glen
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Yep - That is the same thing I am getting. It seems to work for a couple of pages and then stops working again. Any suggestions of where to look? log files, etc?
Thanks,
Glen
I'm also hosting at Webdrive and I get similiar errors. Though adding ?flush=1 to the admin url only fixes it for that pageview the next page view has similiar errors as above.
Web Drive uses Mod Vhost Alias:
http://httpd.apache.org/docs/1.3/mod/mod_alias.html
VirtualDocumentRoot /home/httpd/vhlinks/%0/
I assume the VirtualDocumentRoot is causing the problem for SilverStripe.
A developer here sorted the issue by changing the core/ManifestBuilder.php line 39
// Config manifest
// $baseDir = dirname($_SERVER['SCRIPT_FILENAME']) . "/..";
$baseDir = '/path/to/files';
Now SS is working.. Bout time!
Cheers for that, I have been battling for a little while with webdrive too and only just made a break through today with creating the site on my computer, uploading the whole site via ftp (no ssh... argh!!!), adding ini_set(â€Âmemory_limitâ€Â,â€Â32Mâ€Â); in sapphire/main.php (don't quote me on doing this but if it works then cool!!!), removing PHP Safe Mode in the Advanced Settings which achieved a viewable website, then logging into the cms was a problem until adding that fix... awesome!!!!