Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can any one tell me what this means?


Aye Poppin

Recommended Posts

Posted

I have no admin this is it!

 

1046 - No Database Selected

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

[TEP STOP]

Posted

The database info in admin/includes/configure.php is incorrect. If the catalog side is working ok, copy over the info from catalog/includes/configure.php

Posted

nothing is working- I try to pull up the admin and thats it. I changed this-and it freaked out.

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.ayepoppintees.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.ayepoppintees.com');
 define('HTTPS_CATALOG_SERVER', 'https://dlphost-secure.net/ayepoppintees/');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/ayepoppintees.com/httpdocs/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/home/httpd/vhosts/ayepoppintees.com/httpdocs/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', ''); // absolute path required
 define('DIR_FS_CATALOG', '/home/httpd/vhosts/ayepoppintees.com/httpdocs/'); // absolute path required
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

Posted

Your catalog is working fine, it is only the admin that is confused.

 

Look at the database information at the bottom of both configure files and you should see that it differs. Make a copy of admin/includes/configure.php - just in case, in fact make a copy of both configure files - then copy over the correct database information from includes/configure.php, into admin/includes/configure.php. Save the changes, delete the one from the server, upload the edited admin/includes/configure.php, change permissions to 444 and then it should be ok.

Posted

Guess I'm not sure what my DB database should be-lol

 

Really confused-the site works-everything is the same on those files and still no admin section?

Archived

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

×
×
  • Create New...