Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

1046 - No database selected


chadwilm

Recommended Posts

We are migrating an OSCommerce site. In the admin we are getting the "1046 - No database selected" error on Update Categories, Edit Product, Product Options, and Products Expected.

 

We have search help docs and changed the catalog/includes/configure.php and the catalog/admin/includes/configure.php and changed all the paths, but are still getting the error.

 

We have also run through all the steps included in the Tips and Tricks doc ...

http://www.oscommerce.com/forums/lofiversion/i...hp/t137766.html

 

Is there anything else we should look at?

Link to comment
Share on other sites

I can't seem to edit my post, so I'll add the actual error since there seems to be a couple different "1046 - No database selected" errors.

 

 

--------------------------

Edit Product

--------------------------

1046 - No database selected

 

select products_price from products where products_id=438

 

[TEP STOP]

 

1046 - No database selected

 

select count(*) as total from sessions where sesskey = '8b0a9982452b35d24c424342863be3a4'

 

[TEP STOP]

 

--------------------------

Update Categories

-------------------------

 

update categories set sort_order = '0', last_modified = now() where categories_id = '143'

1046 - No database selected

 

update categories set sort_order = '0', last_modified = now() where categories_id = '143'

 

[TEP STOP]

 

1046 - No database selected

 

select count(*) as total from sessions where sesskey = '8b0a9982452b35d24c424342863be3a4'

 

[TEP STOP]

 

--------------------------

Product Options

--------------------------

 

1046 - No database selected

 

update products_options set products_options_name = 'Flavor' where products_options_id = '1' and language_id = '1'

 

[TEP STOP]

 

1046 - No database selected

 

select count(*) as total from sessions where sesskey = '8b0a9982452b35d24c424342863be3a4'

 

[TEP STOP]

 

--------------------------

Products Expected

--------------------------

 

1046 - No database selected

 

select products_price from products where products_id=3

 

[TEP STOP]

 

1046 - No database selected

 

select count(*) as total from sessions where sesskey = '8b0a9982452b35d24c424342863be3a4'

 

[TEP STOP]

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...