22437 Posts in 7058 Topics by 2750 members
|Go to End|
13 February 2010 at 5:19am
I am trying to run version 2.4 beta1 on my shared host. They are using cgi-php and I am getting some funky fatal errors. The main one is:
Fatal error: require_once() [function.require]: Failed opening required 'Zend/Log/Writer/Abstract.php' (include_path='/usr/local/share/pear:.') in /usr/local/psa/home/vhosts/i-lateral.com/httpdocs/sapphire/dev/LogFileWriter.php on line 17
The require once statement in this file works fine in mod_php, but CGI doesn't seem to like it.
14 February 2010 at 7:11pm Last edited: 14 February 2010 7:12pm
Could be different include paths or something in the FastCGI setup of PHP? Might be worth checking the phpinfo() details to see if there's anything.
Strange though, I've had SS 2.4 working with FastCGI and it appears to be working fine, even with IIS.
Permission error, perhaps?
15 February 2010 at 11:29am
Thanks for the response. I guess it could be issues with fastcgi not being able to amend PATH (as it will be doing so using my user account on the server). I am in contact with my hosting provider and have asked them. They are being very helpful, so hopefully I will know if that is the case, or if it is something else.
I will post updates here when I have them.
17 February 2010 at 9:44am
Ok, I have been corresponding with my hosting company for about 4 days now, they have managed to fix the problem but it has been very strange.
Not sure why, but the set_include_path function, used in sapphire/core/core.php was unable to to assign sapphire/thirdparty to the PATH when run under CGI. My host has added that directory to the PATH now in the cgi config (which was nice of them) and this has fixed the problem.
Anyone have any ideas why this might happen? My host was asking if I had any ideas, in case something like this came up again, so I thought I would post the question to the community at large.
Answers on a postcard please :s.
|Go to Top|