Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Install Problems


The Transplanter

Recommended Posts

Posted

This is my 1st install of any kind and I thought I was doing well until I got this message on install..... :blush:

 

Database Import

 

The following error has occurred:

 

SQL file does not exist: /install/oscommerce.sql

 

 

I created the database on my server and uploaded the files as per the instructions, and the test connection to the database was succesful !!!

 

Im sure that I have missed something out here but I dont have a clue to what that something is :'(

 

 

Please help

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

I had the same problem installing on my windows server, so don't feel bad. I called my hosting company and got the full path, but even after editing the path in the install_3.php file I continued to get the error message. After reading each line of code until I felt my eyes were going to bleed, I figured out it helps to remove the slash it automatically inserts into the path. Try this:

 

Open install_3.php and find the line that says

$dir_fs_www_root = implode('/', $dir_fs_www_root) . '/';

?>

 

Take out the slashes so it looks like this

$dir_fs_www_root = implode('', $dir_fs_www_root) . '';

?>

 

It worked for me. Hope it works for you as well. Good luck.

 

 

This is my 1st install of any kind and I thought I was doing well until I got this message on install..... :blush:

 

Database Import

 

The following error has occurred:

 

SQL file does not exist: /install/oscommerce.sql

I created the database on my server and uploaded the files as per the instructions, and the test connection to the database was succesful !!!

 

Im sure that I have missed something out here but I dont have a clue to what that something is :'(

Please help

Archived

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

×
×
  • Create New...