stevemills Posted January 22, 2005 Posted January 22, 2005 Successful installation is complete (deleted the install directory and CHMOD'd the config.php file back to 644). Now when I try to reach my Admin page, I see this message: 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP] Thanks for any help you can provide. Steve
Guest Posted January 22, 2005 Posted January 22, 2005 if you can get to the catalog side, then open that configure.php file and copy the database connec tion to your admin/includes/configure.php file
texhead Posted January 23, 2005 Posted January 23, 2005 Successful installation is complete (deleted the install directory and CHMOD'd the config.php file back to 644). Now when I try to reach my Admin page, I see this message:Thanks for any help you can provide. Steve <{POST_SNAPBACK}> Me same! :blush: :huh:
stevemills Posted January 23, 2005 Author Posted January 23, 2005 if you can get to the catalog side, then open that configure.php file and copy the database connec tion to your admin/includes/configure.php file <{POST_SNAPBACK}> I don't quite understand what you are saying. I can get to the catalog directory via FTP, but the configure.php file is in the subdirectory of "admin" (not the name I am using, of course). I see no line in that file referring to the MySQL database. Do you mean something else? Thanks, Steve
stevemills Posted January 24, 2005 Author Posted January 24, 2005 I see the database definitions in my /catalog/includes/configure.php file. Where do they belong in the catalogs/admin/configuration.php file? How much of it do I c/p? Should I take everything between // define our database connection and ?> ?
OceanRanch Posted January 24, 2005 Posted January 24, 2005 Even though the configure.php look similar they each have some different "defines" specific to the catalog and admin programs. Sooo...... Make sure you are editing catalog/includes/configure.php for the catalog and catalog/admin/includes/configure.php for the admin. If you have already modified the admin with stuff from the catalog configure.php you might want to get a fresh copy of each and make changes to them. HTH Tom
stevemills Posted January 24, 2005 Author Posted January 24, 2005 Even though the configure.php look similar they each have some different "defines" specific to the catalog and admin programs. Sooo...... Make sure you are editing catalog/includes/configure.php for the catalog and catalog/admin/includes/configure.php for the admin. If you have already modified the admin with stuff from the catalog configure.php you might want to get a fresh copy of each and make changes to them. HTH Tom <{POST_SNAPBACK}> I have not edited anything yet. I have no idea at this point why I can't access my Admin page, other than for some reason the config file doesn't reference any database. I'm not about to do any editing until I know what and where to edit. I'm thinking, actually, of doing a fresh install. Maybe I made an error in the installation, I don't know.
♥Vger Posted January 24, 2005 Posted January 24, 2005 Sometimes, during installation, one of the two configure.php files doesn't get written to. There's no guarantee that a fresh install will correct this. You just need to make a note of what is in includes/configure.php for db host, db user name, db password and db name, then go to admin/includes/configure.php and put the same info in there. Vger
stevemills Posted January 24, 2005 Author Posted January 24, 2005 Sometimes, during installation, one of the two configure.php files doesn't get written to. There's no guarantee that a fresh install will correct this. You just need to make a note of what is in includes/configure.php for db host, db user name, db password and db name, then go to admin/includes/configure.php and put the same info in there. Vger <{POST_SNAPBACK}> Vger, This was precisely the problem. In my first install, I failed to CHMOD the config file under /Includes. Now the Admin panel is available to me, I have CHMOD'd back to 644 and deleted the /install directory. One last thing I don't quite understand is how to successfully rename the Admin directory. I've tried changing the name, but all links become inoperable unless I manually edit the address bar in my browser. Is there a universal change I can make in one or more of the Config files to reflect the choice I made for a directory name? Thanks for all the help. Steve
stevemills Posted January 24, 2005 Author Posted January 24, 2005 Nevermind my last question, I found the answer in other threads. Thanks again!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.