Guest Posted June 7, 2007 Posted June 7, 2007 I am new to all this but I am trying to set up an eccomerce site and am having problems setting up the database. I have the following message New Installation Database Import The following error has occurred: SQL file does not exist: /install/oscommerce.sql can anyone help me ?? regards Rob
millhouse Posted June 7, 2007 Posted June 7, 2007 open the following file install/templates/pages/install_4.php find the line $sql_file = $dir_fs_www_root . 'install/oscommerce.sql' and change to the path for the file on your server eg, $sql_file = '/admin/install/oscommerce.sql' you will need to know the path to the root of your site
Guest Posted June 7, 2007 Posted June 7, 2007 open the following file install/templates/pages/install_4.php find the line $sql_file = $dir_fs_www_root . 'install/oscommerce.sql' and change to the path for the file on your server eg, $sql_file = '/admin/install/oscommerce.sql' you will need to know the path to the root of your site Thank you for your reply, however I can't find the sql_file line in the install_4.php file
millhouse Posted June 7, 2007 Posted June 7, 2007 Thank you for your reply, however I can't find the sql_file line in the install_4.php file $sql_file = $dir_fs_www_root . SQL_FILE; perhaps this line? or something similar?
Guest Posted June 7, 2007 Posted June 7, 2007 $sql_file = $dir_fs_www_root . SQL_FILE; perhaps this line? or something similar? I can't find any mention of $sql in any of the file
Guest Posted June 8, 2007 Posted June 8, 2007 I can't find any mention of $sql in any of the file I have managed to find references of the $sql strings in: install_2.php <p><?php echo $dir_fs_www_root . 'install/oscommerce.sql'; ?></p> install_3.php $sql_file = 'install/oscommerce.sql'; What do I need to change to make the installation work? Regards Rob
millhouse Posted June 8, 2007 Posted June 8, 2007 On mine it is in install_4 but that could be the problem in step 3 Change it to the whole path from the root of the server (ask your host if you don't know) it will look more like $sql_file = '/path_from_root/install/oscommerce.sql'; regards
Recommended Posts
Archived
This topic is now archived and is closed to further replies.