Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OS Help


awisdoms

Recommended Posts

Ok, this is begining to be a chore hmmm anyhow help again, I changed my password on my host and for some reason everything went wrong and I couldn't log into it or into my OS so I had to contact my host to change it back in which they did and now I can get in fine, but when I attempted to log into my OS I get this message

 

"1046 - No Database Selected

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

[TEP STOP]"

 

In the configure.php file the only change I made was I changed false to true.

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

 

Can someone please advise thanks!!!

Link to comment
Share on other sites

Hmmm, ok Mibble thank you so very much for advising me of that....

anyhow this is what I show in my file

define('HTTP_SERVER', 'http://www.happy.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.happy.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/happy/public_html/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'happy');

define('DB_SERVER_PASSWORD', 'happy');

define('DB_DATABASE', 'happy_shop');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

First off, I want to say that I am sorry for appearing to be a blond but I have been working on this all day and I am a bit burned out so I just want to say thanks to all for bearing with me!!

The link is www.ancient-wisdoms.com I just changed it to happy didnt know what was safe to post and not post...

Dia

Link to comment
Share on other sites

reason jared asked for the whole configure.php is to see if you had anything in this area:

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'happy');

define('DB_SERVER_PASSWORD', 'happy');

define('DB_DATABASE', 'happy_shop');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

 

so if you can check via your host cpanel, or whatever you use to make sure the user, db, etc match

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...