Aeolian Posted October 31, 2006 Posted October 31, 2006 I am getting this error during installation: Database Import The following error has occurred: SQL file does not exist: /install/oscommerce.sql I uploaded the catalog folder via Dreamweaver to my FTP site, and I see that install file in there, so I'm not sure what's going on. Do I have to upload that file elswhere? I have a MySQL database from godaddy set up already and that's where i got my host name from. Can anyone help? Also, some general questions if anyone knows. I'm new to online shopping carts and I'm setting up an online store. Can I integrate the OS commerce shopping cart, into the design of my page? And also, does it work easily with setting up with credit card merchants? THANKS!
crash3903 Posted October 31, 2006 Posted October 31, 2006 Make sure the sql file is in the install directory - If so change the permissions to 777 Regarding your credit card questions there are plenty of contributions that will assist you regards Regards Mark A Reynolds
Aeolian Posted October 31, 2006 Author Posted October 31, 2006 Make sure the sql file is in the install directory - If so change the permissions to 777 Regarding your credit card questions there are plenty of contributions that will assist you regards Thanks, it is in the install directory. How do I change permissions?
crash3903 Posted October 31, 2006 Posted October 31, 2006 In dreamweaver you can install an extension from their website to change permissions - when installed you can right click the file and change the permissions or do it through your hosting control panel Regards Mark A Reynolds
Aeolian Posted November 1, 2006 Author Posted November 1, 2006 In dreamweaver you can install an extension from their website to change permissions - when installed you can right click the file and change the permissions or do it through your hosting control panel Thanks again, do u happent to know what that file is?
♥Vger Posted November 1, 2006 Posted November 1, 2006 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
Aeolian Posted November 1, 2006 Author Posted November 1, 2006 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 Thanks for the answer! I'm still having problems though. I went in and changed the code like you said. I cant figure out whats going on with the path to root. Ok I am uploading FTP via dreamweaver. Everything I upload gets transferred into a folder on my ftp called /nickcaroth1/ and so the OS commerce is under that as Catalog folder. So I tried both making my path: nickcaroth1/install/oscommerce.sql and also nickcaroth1/catalog/install/oscommerce.sql and I got the same errors both times. I wasn's sure if i was using the wrong Database Name for the install procedure, but i've been using nickcaroth1 for everything so i tried that. I also tried nickcaroth1/catalog and It didnt work. I'm stuck, please help.. THANKS!!
crash3903 Posted November 1, 2006 Posted November 1, 2006 Thanks for the answer! I'm still having problems though. I went in and changed the code like you said. I cant figure out whats going on with the path to root. Ok I am uploading FTP via dreamweaver. Everything I upload gets transferred into a folder on my ftp called /nickcaroth1/ and so the OS commerce is under that as Catalog folder. So I tried both making my path: nickcaroth1/install/oscommerce.sql and also nickcaroth1/catalog/install/oscommerce.sql and I got the same errors both times. I wasn's sure if i was using the wrong Database Name for the install procedure, but i've been using nickcaroth1 for everything so i tried that. I also tried nickcaroth1/catalog and It didnt work. I'm stuck, please help.. THANKS!! if you need some help PM me Regards Mark A Reynolds
Recommended Posts
Archived
This topic is now archived and is closed to further replies.