Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fresh install can't find SQL file error


Jiffy

Recommended Posts

Posted

Hi all. I just downloaded and was in the process of installing osCommerce when I got this error.

 

"The following error has occurred:

 

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

 

I'm not sure what to do. The sql file is sitting right there in the install folder so I'm not sure what else to do. Any help would be great since I'd really love to get this up and running.

 

Oh and I'm on an IIS box if that makes a difference. Don't flame me too much, I'm not a Linux guy.

Posted
Hi all. I just downloaded and was in the process of installing osCommerce when I got this error.

 

"The following error has occurred:

 

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

 

I'm not sure what to do. The sql file is sitting right there in the install folder so I'm not sure what else to do. Any help would be great since I'd really love to get this up and running.

 

Oh and I'm on an IIS box if that makes a difference. Don't flame me too much, I'm not a Linux guy.

 

chk if you catalog/"install" folder is been renamed as either install__ or install-- . renamed it again as "install"

will work.

enjoy

Posted

Nothing has been renamed or moved. This is weird. Just says it can't find the file even though it's sitting right there.

  • 1 month later...
Posted

I don't know why it hangs here ... s/thing to do w/php5, I think.

 

However, I fixed it by going into catalog/install/templates/pages/install_3.php. Around line 43 is this:

 

$sql_file = $dir_fs_www_root . 'install/oscommerce.sql';

 

I commented that out and replaced it with the actual full path to oscommerce.sql, ie ...

 

/* $sql_file = $dir_fs_www_root . 'install/oscommerce.sql'; */

$sql_file = 'c:/xxx/xxx/xxx/catalog/install/oscommerce.sql';

 

Hackish, but it worked.

Posted

You did the right thing. You're hosted on a Windows server and they can never find the sql file. If they were people they'd get themselves lost.

 

Vger

  • 1 month later...
Posted

Whats interesting is if you are using CGI this is not a problem. However if I am running ISAPI I do have this problem.

Archived

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

×
×
  • Create New...