frazz999 Posted July 7, 2006 Posted July 7, 2006 Hi seem to be having a problem installing oscommerce, on step 2 i get the following error SQL file does not exist: /install/oscommerce.sql I'm running windows 2003 server with php5 and mysql 5. I have set register_long_arrays = YES in php.ini and the file does exist and has read permissions. Any help would be appreciated.
spax Posted July 7, 2006 Posted July 7, 2006 From what I understand, you need to give the full path to Windoze as it doesn't like relative paths. Or you can manually populate the database and bypass the import part.
♥Vger Posted July 7, 2006 Posted July 7, 2006 You are probably trying to install on a Windows server. If they were people - they wouldn't be able to find their own way home. You need to edit install/templates/pages/install_3.php and where you see: $sql_file = $dir_fs_www_root . 'install/oscommerce.sql'; Edit it to (change /path_to_root/ to real path): $sql_file = '/path_to_root/install/oscommerce.sql'; You will need to know the path to the root of your website. Check with your hosting company if you don't know. Vger
frazz999 Posted July 8, 2006 Author Posted July 8, 2006 Hi Thanks for the replies folks, it does seem to be a problem with the paths. I got the database installed by editing the install_3.php file, but there still seems to be some issues regarding the paths as some of the links within the cart are broken. I'll keep fiddling with the code until it works :) Cheers
Recommended Posts
Archived
This topic is now archived and is closed to further replies.