notset4life
3-30-04, 09:40 PM
Because of the clutter in my database, I added a new one to my powweb package
Originally, the database was titled...let's say DATABASEONE.
I added DATABASETWO and moved all the oscommerce files to that db so I didn't need to use prefixes, and most things work.
However, a few things causes errors such as this:
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /www/c/mywebsite/htdocs/catalog/catalog_products_with_images.php on line 346
1146 - Table 'databaseone.configuration' doesn't exist
The table should be databasetwo...I believed it is called from configure.php. This only happens on NON ssl pages...it works fine on SSL pages.
My configure file is correctly pointing to databasetwo. Can anyone tell figure out why scripts are pointing to the original database???
TIA
Vin
Originally, the database was titled...let's say DATABASEONE.
I added DATABASETWO and moved all the oscommerce files to that db so I didn't need to use prefixes, and most things work.
However, a few things causes errors such as this:
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /www/c/mywebsite/htdocs/catalog/catalog_products_with_images.php on line 346
1146 - Table 'databaseone.configuration' doesn't exist
The table should be databasetwo...I believed it is called from configure.php. This only happens on NON ssl pages...it works fine on SSL pages.
My configure file is correctly pointing to databasetwo. Can anyone tell figure out why scripts are pointing to the original database???
TIA
Vin