4626 Posts in 1398 Topics by 1393 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1058 Views |
-
Zend log.php

9 October 2010 at 8:36pm
Hello
No speak english - Google TranslationHow 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
-
Re: Zend log.php

9 October 2010 at 8:44pm Last edited: 9 October 2010 8:46pm
Hello,
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.Good luck!
Sean
-
Re: Zend log.php

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");
-
Re: Zend log.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
, get_include_path()));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?
Sean
-
Re: Zend log.php

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.
Thanks
Faca
| 1058 Views | ||
|
Page:
1
|
Go to Top |




