Jiffy Posted December 11, 2006 Posted December 11, 2006 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.
aryangupta19 Posted December 11, 2006 Posted December 11, 2006 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
Jiffy Posted December 11, 2006 Author Posted December 11, 2006 Nothing has been renamed or moved. This is weird. Just says it can't find the file even though it's sitting right there.
rainbird997 Posted January 11, 2007 Posted January 11, 2007 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.
♥Vger Posted January 12, 2007 Posted January 12, 2007 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
dawc21 Posted February 26, 2007 Posted February 26, 2007 Whats interesting is if you are using CGI this is not a problem. However if I am running ISAPI I do have this problem.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.