Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Oops


Guest

Recommended Posts

Posted

Well, I was trying to install a mod thta I found in the contributions section, got stuck, e-mailed fo rhelp and never got a response. Twice with mods from same person...dunno if it's me or what.

 

Anyway, the attempted installation got my site all jacked up, so I had to start again from scratch. Am using the snapshot that was available today, and am getting this error in the admin area:

1046 - No Database Selected

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

[TEP STOP]

 

The URL I am on when I get this error is:

NO idea how to relate the code to the database, although the database is created. The catalog section is working...thus my confusion.

 

Any asistance would be greatly appreciated.

Posted

Not sure exactly how you decided to install this. I can tell that you decided to install this yourself instead of running an install script.

 

I am wondering why you decided to place your admin files in /admin/admin instead of /catalog/admin and your /catalog files aren't available. I would try to reinstall osC, and be sure to specify your db, or at least the db name you want.

 

I hope this helps,

Chris

Chris Sullivan

Posted

Do you realize your admin is a relative path of /admin/admin? Is this what you want? the standard installation is /admin.

 

Assuming this *is* what you want, sounds to me as if your /admin/includes/configure.php is missing the database parameter. Take a look at the file and make sure the following line in the database config section is set to the correct database name:

 

define('DB_DATABASE', 'catalog');

 

If your database isn't named "catalog", set this parameter appropriately.

 

-Jim

Posted

I ran the install thru the File Manager that's included with CPanel 5.

For some reason, it wants to install it like that (catalog/catalog/... ) and the same for admin.

 

How SHOULD I be installing it?

Archived

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

×
×
  • Create New...