Aye Poppin Posted May 9, 2008 Posted May 9, 2008 I have no admin this is it! 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP]
spax Posted May 9, 2008 Posted May 9, 2008 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
Aye Poppin Posted May 9, 2008 Author Posted May 9, 2008 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/');
spax Posted May 9, 2008 Posted May 9, 2008 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.
Aye Poppin Posted May 10, 2008 Author Posted May 10, 2008 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?
Aye Poppin Posted May 10, 2008 Author Posted May 10, 2008 k got it! Needed to add catalog/ to the end of this! define('DIR_FS_CATALOG', '/home/httpd/vhosts/ayepoppintees.com/httpdocs/'
Recommended Posts
Archived
This topic is now archived and is closed to further replies.