Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Post-Install Errors


Guest

Recommended Posts

I've just installed osCommerce on a testing web server on this machine. Later, I will install it on the remote server. The web server displays other pages okay, but I'm having problems after installing osCommerce.

 

After install, I enter this URL: http://localhost/oscommerce2.2ms2/catalog/index.php

expecting to view the catalog, but instead I get the following error:

 

1046 - No Database Selected

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

I'm sure that I entered the name and location of the database correctly, because I got the message that the Database import was successful, and after installation I got the message that configuration was successful. Also, the WinMySQLadmin shows all the tables in the catalog database. I'd really appreciate any suggestions how to fix this error.

Link to comment
Share on other sites

Warning: mysql_connect(): Host '******' is not allowed to connect to this MySQL server in *:\******\www\*****\******\includes\functions\database.php on line 19

Unable to connect to database server!

 

This indicates the wrong server DB_SERVER information in the configure.php files

 

Warning: mysql_connect(): Access denied for user: '****@*****' (Using password: *****) in *:\******\www\*****\******\includes\functions\database.php on line 19

Unable to connect to database server!

 

This indicates the wrong username DB_SERVER_USERNAME or password DB_SERVER_PASSWORD information in the configure.php files

 

1046 - No Database Selected

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

This indicates that either no database has been created or the wrong database name DB_DATABASE exists in the configure.php files

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...