osCommerce: 1046 - No Database Selected
Posted by admin in osCommerce, tips
Tukaj je rešitev za napako:
1046 - No Database Selected
select configuration_key as cfgKey, configuration_value as cfgValue from configuration
[TEP STOP]
Odpri datoteko /catalog/includes/confugure.php in preveri, če so nastavitve za bazo (ime baze, uporabniško ime in geslo) pravilne.
define(’DB_SERVER’, ‘localhost’); // in most cases you don’t have to change this
define(’DB_SERVER_USERNAME’, ‘uporabnisko_ime’);
define(’DB_SERVER_PASSWORD’, ‘geslo’);
define(’DB_DATABASE’, ‘ime_baze’);
Podobno preveri tudi v datoteki /catalog/admin/includes/confugure.php, za pravilno delovanje administracijskega dela.



Hi,
Thanks for sharing!
Bas
Webmaster
motortassen
useful tip. very thanks for sharing.
arigatou.