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.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Path error when installing 2.4RC1 ??


Reply


3 Posts   1031 Views

Avatar
mark-e-mark

Community Member, 9 Posts

3 April 2010 at 8:24pm

Hi Guys,

I'm trying to install 2.4RC1 on my server (mediatemple) and I keep getting the following error on the 'Installing SilverStripe...' screen:

...
Building database schema...

Warning: require_once(Zend/Log.php) [function.require-once]: failed to open stream: No such file or directory in /nfs/c06/h01/mnt/87587/domains/mydomainname.com/html/sapphire/dev/Log.php on line 46

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Log.php' (include_path='.:/nfs/c06/h01/mnt/87587/domains/mydomainname.com/html/sapphire:/nfs/c06/h01/mnt/87587/domains/mydomainname.com/html/sapphire/parsers:/nfs/c06/h01/mnt/87587/domains/mydomainname.com/html/sapphire/thirdparty:/usr/local/php-5.2.6-1/share/pear') in /nfs/c06/h01/mnt/87587/domains/mydomainname.com/html/sapphire/dev/Log.php on line 46
....

Any ideas?? It installs perfectly on my local development server (Mac)

Avatar
mark-e-mark

Community Member, 9 Posts

3 April 2010 at 9:10pm

Edited: 03/04/2010 9:30pm

I think it has something to do with line 46 of sapphire/dev/Log.php

require_once 'Zend/Log.php';

I think this should be

require_once 'ZendLog.php';

as that file actually exists (Zend/Log.php doesn't appear to?)

Even after changing, however, I get path errors.

Avatar
mark-e-mark

Community Member, 9 Posts

3 April 2010 at 10:43pm

UPDATE: SOLVED

require_once 'Zend/Log.php';

is actually correct.

I was pushing the SilverStripe site to my server using GIT.

The developers had left a .gitignore file in the sapphire/dev/thirdparty directory that was causing my git to ignore uploading the Zend directory.

About to open a ticket now ...