Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

admin access not working after moving site


denisejeffers

Recommended Posts

Posted

I moved my osCommerce from one host to another. I realize the database information all changed and have the catalog working.

(so I have the database connection set correctly in catalog/includes/configure.php I suspect)

 

When I attempt to go to my admin, I receive 'unable to connect to database server'

 

I want to reset my password, but am confused hence I've come to the experts.

 

First let me tell you the version I suspect is extremely old, when I look in configure.php I see the following:

 

$Id: configure.php,v 1.3 2003/09/30 16:13:41 serg Exp $

Copyright © 2002 osCommerce

If there is another place to look please advize and I will report back the correct osCommerce version.

 

Question:

1. What values do I set in the admin/includes/configure.php for the database connection string - A or B below or neither?

A The same userid/password for phpMyAdmin

B. the userid/password I have set in my catalog/includes/configure.php?

 

define('DB_SERVER_USERNAME', ' '); <obviously I've blanked it out for this post

define('DB_SERVER_PASSWORD', ' '); "" ""

 

Neither seems to work.

 

When I look at my directories and files thru FileZilla (or any other FTP software) I see the .htaccess file in the catalog main directory

nothing in catalog/admin directories.

 

 

Questions: Should there be a .htaccess file in the catalog/admin directory?

Or does the .htaccess file catalog directory control the access to the admin section?

Do I need to regenerate a new .htaccess file in the catalog directory?

Or do I need to go onto my hosting Control panel and reset it a different way?

 

Thank you in advance as my client is waiting for his site to go live, but I can't release it until I have the admin section working.

Posted

Suspect thr problem could be in the line above.

 

Is the server set to localhost ?

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted
Suspect thr problem could be in the line above.

 

Is the server set to localhost ?

 

Thank you for responding - My server is set to define('HTTP_SERVER','http://allfashionsunglasses.com');

Archived

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

×
×
  • Create New...