Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cant find install/oscommerce.sql


weseal

Recommended Posts

Followed installation instruction all the way to step 3 and get an error when creating/importing tables for .sql files. "cant find install/oscommerce.sql" I know the file is right were it needs to be but i cant go any further in the installation.

 

Please help, im very excitied about trying this software!

 

Thanks,

Jon W

Link to comment
Share on other sites

If it can't pick it up you can go into your phpmyadmin and enter the data yourself, then when running the install unclick "import database"

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

If it can't pick it up you can go into your phpmyadmin and enter the data yourself, then when running the install unclick "import database"

 

yeah...well...thats my problem, im not not very knowledgable on phpmyadmin. Where can i find the data i need to enter?

Thanks tons,

Jon W

Link to comment
Share on other sites

You're welcome.

 

If you have problems this is what you do.

log into your phpmyadmin, select the correct database name.

Click on SQL

then either copy and paste the code in the oscommerce.sql into the text box and click go

or

click browse, find the file then click go :)

 

Should be all set then.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

imported database as explained above. But now i get a "Unable to connect to database server!", but it does connect to database or it wouldnt give me a "The configuration was successful!" message. If i cant the database info it wont let me finish config. Weird??

Link to comment
Share on other sites

Once you have installed the setup database manually you then also set up the two configure.php files manually - and this removes the need to run the install process at all.

 

Vger

Link to comment
Share on other sites

Once you have installed the setup database manually you then also set up the two configure.php files manually - and this removes the need to run the install process at all.

 

Vger

 

i found one of the configure.php files but not two...where are these files?

 

Thank you!

Link to comment
Share on other sites

includes/configure.php

admin/includes/configure.php

 

Read the 'Quick Install Guide' link below my name which will explain some of the settings you need to enter into the configure.php files.

 

Others are (includes/configure.php - install into root of web - no ssl):

 

define('HTTP_SERVER', 'http://www.yourdomain.com');

define('HTTPS_SERVER', '');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'www.yourdomain.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/var/www/html/'); //check with your hosting company for your pathway

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'your_mysql_user_name');

define('DB_SERVER_PASSWORD', your_mysql_password');

define('DB_DATABASE', 'database_name');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...