cbaker23 Posted January 19, 2005 Posted January 19, 2005 Last week, I had a working install of oscommerce on a Windows server. Due to unrelated issues, I had to move it to another server, this one running FreeBSD. I unzipped everything, put the catalog directory in the site's root. When I try to view the catalog or the admin page, I get errors such as this: Warning: main(includes/configure.php): failed to open stream: No such file or directory in /www/docs/europeanbean/catalog/includes/application_top.php on line 29 Fatal error: main(): Failed opening required 'includes/configure.php' (include_path=''.:/usr/local/share/pear:/usr/local/lib/php:/usr/local/lib/php/Net'') in /www/docs/europeanbean/catalog/includes/application_top.php on line 29 I was able to get around some of these by modifying the configure.php pages, but it seems like I shouldn't have had the problems in the first place, and there's a much easier fix. Did I missing something, or has anyone else ran into this? Thanks!
♥Vger Posted January 20, 2005 Posted January 20, 2005 What do you mean when you say you 'unzipped everything'. If you just downloaded your website files fromyour old server, plus the database, and installed them on the new server, then all you would have had to do would be to update the two configure.php files. If you've unzipped a new version of osCommerce and uploaded them, then you'll either have to upload your old website files and overwrite the default ones, plus add the database, or else you'll have to run the install again. Vger
cbaker23 Posted January 20, 2005 Author Posted January 20, 2005 What do you mean when you say you 'unzipped everything'. If you just downloaded your website files fromyour old server, plus the database, and installed them on the new server, then all you would have had to do would be to update the two configure.php files. If you've unzipped a new version of osCommerce and uploaded them, then you'll either have to upload your old website files and overwrite the default ones, plus add the database, or else you'll have to run the install again. Vger <{POST_SNAPBACK}> I've actually tried both...installing a new version, and using the old one. I can't even run the installer - I get similar errors. I've concluded that this is an issue with the include_path setting in my php.ini, which I need in place for other sites on this server. Anyone know if there's an easy way I can get this to work without screwing around with the paths in configure.php too much?
Guest Posted January 20, 2005 Posted January 20, 2005 Concerning the above errors: It tells you that the installer needs to be able to write to catalog/includes/configure.php and also catalog/admin/includes/configure.php. Set the appropriate write permissions on both configure.php files and immediately after installation set them all to read-only.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.