Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installation Error


frazz999

Recommended Posts

Posted

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.

Posted

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.

Posted

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

Posted

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...