Jump to:

4952 Posts in 14256 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Path error when installing 2.4RC1 ??

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

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

Page: 1
Go to End
Author Topic: 958 Views
  • mark-e-mark
    Avatar
    Community Member
    9 Posts

    Path error when installing 2.4RC1 ?? Link to this post

    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)

  • mark-e-mark
    Avatar
    Community Member
    9 Posts

    Re: Path error when installing 2.4RC1 ?? Link to this post

    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.

  • mark-e-mark
    Avatar
    Community Member
    9 Posts

    Re: Path error when installing 2.4RC1 ?? Link to this post

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

    958 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.