Guest Posted January 30, 2010 Posted January 30, 2010 I am rebuilding a website, including setting up a store on a new web server. All was well until the web hosting service changed the server. The address was http://69.65.3.178/ and have had to change it to http://69.65.33.10/ in admin/includes/configure.php and includes/configure.php. I now get the message: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'database_user'@'localhost' (using password: YES) in /home/blabla/public_html/store/includes/functions/database.php on line 19 Unable to connect to database server! Not sure what I am missing. Help! - and thanks in advance.
Guest Posted January 30, 2010 Posted January 30, 2010 Lisa, The password in the configure.php file does not match your database password Chris
Guest Posted January 30, 2010 Posted January 30, 2010 Lisa, The password in the configure.php file does not match your database password Chris That was it! I knew it was something obvious. Thanks much!
Guest Posted January 30, 2010 Posted January 30, 2010 Hmmm... The store is accessible, however, admin is not. I am getting a 404 not found error message. Thoughts on that?
Guest Posted January 30, 2010 Posted January 30, 2010 Lisa, Check the path in the configure.php file. If the ADMIN folder has been renamed then that needs to be updated as well. Chris
Guest Posted January 30, 2010 Posted January 30, 2010 Lisa, Check the path in the configure.php file. If the ADMIN folder has been renamed then that needs to be updated as well. Chris I updated paths in both configure files. The ADMIN folder has not been renamed...
Guest Posted January 30, 2010 Posted January 30, 2010 If the path has not renamed then it is: www.yourdomain.com/catalog/admin (catalog could also be shop or store or just about anything) OR www.yourdomain.com/admin BTW, You SHOULD rename the Admin folder and also follow the other security suggestions found on this forum. Chris
Guest Posted January 30, 2010 Posted January 30, 2010 If the path has not renamed then it is: www.yourdomain.com/catalog/admin (catalog could also be shop or store or just about anything) OR www.yourdomain.com/admin BTW, You SHOULD rename the Admin folder and also follow the other security suggestions found on this forum. Chris Yes, that is the path I am using in my web browser and getting the 404. What I had updated in the configure files was the correct server. Wow - didn't know that about the renaming the admin folder and I thought I had read posts with security suggestions (implemented those on the first store I set up - haven't done anything on this one yet).
Guest Posted January 30, 2010 Posted January 30, 2010 The error is as follows: The server can not find the requested page: www.mydomain.com/DIR_WS_ADMINlogin.php?osCAdminID=f4a6f68933380e50eab374d09c2d45fa (port 80)
Guest Posted January 30, 2010 Posted January 30, 2010 The error is as follows: The server can not find the requested page: www.mydomain.com/DIR_WS_ADMINlogin.php?osCAdminID=f4a6f68933380e50eab374d09c2d45fa (port 80) I added these lines to my configure files and it worked: define('DIR_WS_ADMIN', '/store/admin/'); define('DIR_FS_ADMIN', '/fullpath/to/myserver/store/admin/');
Recommended Posts
Archived
This topic is now archived and is closed to further replies.