goodbunny Posted April 10, 2004 Posted April 10, 2004 I was using osCommerce for quite some time without any problems, but have suddenly encountered a problem that I hope someone might be able to help me with. After a long, nightmarish story that doesn't pertain to the actual problem at hand, my hosting provider upgraded to PHP version 4.3.4 and asked me to reinstall osCommerce. I tried to do a clean install, but am now getting the following error when I try to run the install script: Warning: main(includes/functions/general.php): failed to open stream: No such file or directory in /home/bare4/public_html/catalog/install/includes/application.php on line 22 Fatal error: main(): Failed opening required 'includes/functions/general.php' (include_path='/usr/local/lib/php:/usr/lib/php') in /home/bare4/public_html/catalog/install/includes/application.php on line 22 After reading through the other posts on the forum, I am pretty certain it is a path issue. I changed the path of includes/functions/general.php in install/includes/application.php to "/home/bare4/public_html/catalog/includes/functions/general.php" and that fixed that particular error, but another one cropped up (of course). So my question is: What should I do now? My host is providing absolutely no help; is there something I should be asking them to change on their end? Or is there something I can do on my end to rectify things? I've read plenty of posts about changing php.ini, but I'm not sure what exactly that entails or if that is even going to solve things in my case. I greatly appreciate your assistance!
AlanR Posted April 11, 2004 Posted April 11, 2004 Since you had a working set-up before why not just skip the installer and set the config files manually? You've got examples to work from. Sometimes the installer script works great, sometimes not. It seems to depend on the server set-up. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
goodbunny Posted April 11, 2004 Author Posted April 11, 2004 I tried restoring from my backup, but I got the same errors.
Guest Posted August 6, 2004 Posted August 6, 2004 If you add the current directory to your include path then the problems should be resolved. Ideally this should be fixed in the code so that this is not required.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.