Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot access store: correct URL in configure.php and other files?


Guest

Recommended Posts

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.

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

The error is as follows:

 

The server can not find the requested page:

 

www.mydomain.com/DIR_WS_ADMINlogin.php?osCAdminID=f4a6f68933380e50eab374d09c2d45fa (port 80)

Link to comment
Share on other sites

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/');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...