HouNeil Posted February 4, 2007 Share Posted February 4, 2007 I am newbie, after transferring files to my webhost server and inputting data for mysql database, I cannot go pass step 3. Oscommerce installation says oscommerce.sql file does not exists, but I can see it when I ftp it using filezilla. I am using windows XP, and have changed the attributes of the configuration.php file. Any information will be helpful. Thank you in advance Link to comment Share on other sites More sharing options...
spax Posted February 4, 2007 Share Posted February 4, 2007 Are you on a Windows server? Link to comment Share on other sites More sharing options...
HouNeil Posted February 4, 2007 Author Share Posted February 4, 2007 Are you on a Windows server? Yes I am hosting on a window server. Link to comment Share on other sites More sharing options...
spax Posted February 4, 2007 Share Posted February 4, 2007 An Apache setup is better for osC so if your host can accomodate that, I'd advise switching. Windows has a problem with relative paths so to show it where the oscommerce.sql file is, you need to locate catalog/install/templates/pages/install_3.php. Download and open it in a text editor. Look for this code: $sql_file = $dir_fs_www_root . 'install/oscommerce.sql'; and change it so it has the full path to oscommerce.sql. It would look something like: $sql_file = 'C:/inetpub/www/your_account/catalog/install/oscommerce.sql'; If it still doesn't connect after you have uploaded the file again, you could go into your MySql GUI and manually populate the database. Link to comment Share on other sites More sharing options...
raceonusa.com Posted April 12, 2007 Share Posted April 12, 2007 Ok I'm using vista IIS7 Here's what I had to do... $sql_file = $dir_fs_www_root . 'inetpub/wwwroot/catalog/install/oscommerce.sql'; When I tried adding the C: to the line it wouldn't work. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.