mr3 Posted October 24, 2006 Share Posted October 24, 2006 at the time of installation i get the following erro SQL file does not exist: /install/oscommerce.sql please help Link to comment Share on other sites More sharing options...
CMAdmin Posted October 24, 2006 Share Posted October 24, 2006 I am also having the same problem and can't seem to find the solution. Can someone please help us with this? Thank you in advance! CMAdmin at the time of installation i get the following erro SQL file does not exist: /install/oscommerce.sql please help Link to comment Share on other sites More sharing options...
♥Vger Posted October 24, 2006 Share Posted October 24, 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 Link to comment Share on other sites More sharing options...
CMAdmin Posted October 24, 2006 Share Posted October 24, 2006 Thank you so much for your response Vger. However, this is so confusing for a beginner. Edit it to (change /path_to_root/ to real path):$sql_file = '/path_to_root/install/oscommerce.sql'; The website I'm trying to install this cart on is happyheartstationery.com. How do I figure out what the path_to_root is? I know you said to contact the hosting company but their tech / customer service is horrible. How can I figure this out? I am also having the same problem and can't seem to find the solution. Can someone please help us with this? Thank you in advance!CMAdmin Link to comment Share on other sites More sharing options...
♥Vger Posted October 24, 2006 Share Posted October 24, 2006 On your desktop create a new text document and rename it to to cwd.php (ignore the warning about changing the file type). Put this code in it: <?php $p = getcwd(); echo $p; ?> Now FTP this file to the folder your osCommerce website is in. Then go to the file in your browser e.g. http://www.yourdomain.com/cwd.php or http://www.yourdomain.com/catalog/cwd.php Printed on the screen is your full DIR_FS pathway to that folder e.g. /usr/local/apache/htdocs/ This is your 'path_to_root' Delete the cwd.php file from the server after using it. Vger Link to comment Share on other sites More sharing options...
CMAdmin Posted October 24, 2006 Share Posted October 24, 2006 I can't tell you how much I appreciate your help. I'm so sorry to keep asking questions but is this correct? $sql_file = $hosting\happyheart06\osCommerce\catalog . 'install/oscommerce.sql' On your desktop create a new text document and rename it to to cwd.php (ignore the warning about changing the file type). Put this code in it: <?php $p = getcwd(); echo $p; ?> Now FTP this file to the folder your osCommerce website is in. Then go to the file in your browser e.g. http://www.yourdomain.com/cwd.php or http://www.yourdomain.com/catalog/cwd.php Printed on the screen is your full DIR_FS pathway to that folder e.g. /usr/local/apache/htdocs/ This is your 'path_to_root' Delete the cwd.php file from the server after using it. Vger Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.