4945 Posts in 17872 Topics by 1494 members
|Go to End|
9 October 2010 at 8:36pm
No speak english - Google Translation
How can I fix this error message?
I am now running through the installation steps (this should take about 30 seconds)
If you receive a fatal error, refresh this page to continue the installation
* Setting up 'mysite/_config.php'...
* Setting up /var/www/web2/html/nwcwe/mysite/_config.php
* Setting up '.htaccess' file...
* Setting up /var/www/web2/html/nwcwe/.htaccess
* Building database schema...
Warning: require_once(Zend/Log.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/web2/html/nwcwe/sapphire/dev/Log.php on line 2
Fatal error: require_once() [function.require]: Failed opening required 'Zend/Log.php' (include_path='.') in /var/www/web2/html/nwcwe/sapphire/dev/Log.php on line 2
9 October 2010 at 8:44pm Last edited: 9 October 2010 8:46pm
Please ensure a "sapphire/thirdparty" folder exists within your SilverStripe installation.
Within sapphire/thirdparty should be a "Zend" folder, and within that a Log.php file.
Sometimes these may not have transferred correctly when uploading files to server via FTP.
9 October 2010 at 11:33pm
You also have to make sure sapphire/thirdparty is on your include path. You can do this manually in your php.ini (include_path) or if you cannot override that file you can put this at the top of your _config file
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(dirname(__FILE__). "/sapphire/thirdparty");
20 October 2010 at 5:01am
Paste this code in sappihire/_config.php??
20 October 2010 at 10:21am Last edited: 20 October 2010 10:23am
There's already code doing this in sapphire/core/Core.php. Specifically, it is this (around line 203):
set_include_path(str_replace('.' . PATH_SEPARATOR, '.' . PATH_SEPARATOR
. BASE_PATH . '/sapphire' . PATH_SEPARATOR
. BASE_PATH . '/sapphire/parsers' . PATH_SEPARATOR
. BASE_PATH . '/sapphire/thirdparty' . PATH_SEPARATOR
This adds sapphire, sapphire/parsers and sapphire/thirdparty absolute paths to the include path.
I'm not sure why it's not working for some people. Perhaps the web host has locked the ability to set the include path?
21 October 2010 at 12:57am
I think the same thing: the host of my client sucks... I'm going to try changing the host service and then I'll tell you if it works.
|Go to Top|