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

Posted

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.

Posted

Lisa,

 

 

The password in the configure.php file does not match your database password

 

 

 

 

Chris

Posted

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!

Posted

Hmmm... The store is accessible, however, admin is not. I am getting a 404 not found error message. Thoughts on that?

Posted

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

Posted

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

Posted

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

Posted

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

Posted

The error is as follows:

 

The server can not find the requested page:

 

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

Posted

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

Archived

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

×
×
  • Create New...