millhouse Posted June 2, 2007 Posted June 2, 2007 HI I'm trying to install a new shopping cart, however it is connecting successfully to the Mysql server but then I am getting this message at step 4 SQL file does not exist: /install/sql/oscommerce.sql I have checked through the files and this file is clearly uploaded and in the correct place. Any ideas as to how I can get round this? many thanks
Guest Posted June 2, 2007 Posted June 2, 2007 HI I'm trying to install a new shopping cart, however it is connecting successfully to the Mysql server but then I am getting this message at step 4 SQL file does not exist: /install/sql/oscommerce.sql I have checked through the files and this file is clearly uploaded and in the correct place. Any ideas as to how I can get round this? many thanks The file should be there if you are installing the standard OSC downloaded from http://www.oscommerce.com/solutions/downloads
♥Vger Posted June 2, 2007 Posted June 2, 2007 Cannot find install/oscommerce.sql ---------------------------------- 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
millhouse Posted June 4, 2007 Author Posted June 4, 2007 Cannot find install/oscommerce.sql---------------------------------- 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 Thanks Vger, however I don't have that line of code in install/templates/pages/install_3.php. The nearest I can find to it is in install_4.php which reads $sql_file = $dir_fs_www_root . SQL_FILE; Could that be the culprit? It is on a windows server you are correct. regards
Recommended Posts
Archived
This topic is now archived and is closed to further replies.