Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error: Invalid administrator login attempt.


Guest

Recommended Posts

Hi,

Hopefully posting in the right area this time.

I cant log into my admin.

I searched the forums and tried Bryce Jnr Following code:

 

DROP TABLE IF EXISTS administrators;

CREATE TABLE administrators (

id int NOT NULL auto_increment,

user_name varchar(32) binary NOT NULL,

user_password varchar(40) NOT NULL,

PRIMARY KEY (id)

);

 

This worked in that it asked me to make a new administrator, i did this, several times, but it still wont let me log on with it.

 

The admin was working fine when last used and i have no idea what to do now.

 

Would someone Kindly help please, im very new at sql, so if it is to do with that please be patient, the rest im a newbie, but not brand new .....

 

Looking forward to some help.

 

Kindest regards DAWN

Link to comment
Share on other sites

Just a follow on thought, my server sent me the following email.

 

Hello,

 

I have added the rewrites to force HTTPS on your page as requested. Please try now, the lock should appear the moment the page is visited. If there's anything else we can help you with, don't hesitate to let us know!

 

 

Could the instillation of the ssl ticket (which has been frought with pains of its own) possibly have anything to do with me not being able to log in to my admin.

Link to comment
Share on other sites

Just a follow on thought, my server sent me the following email.

 

Hello,

 

I have added the rewrites to force HTTPS on your page as requested. Please try now, the lock should appear the moment the page is visited. If there's anything else we can help you with, don't hesitate to let us know!

 

 

Could the instillation of the ssl ticket (which has been frought with pains of its own) possibly have anything to do with me not being able to log in to my admin.

Yes, forcing it to ssl could have broke it. If you put it back does it fix it?

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Link to comment
Share on other sites

An htaccess rewrite is not necessary for pages that need to be in ssl to show as secure pages.

 

These changes in configure.php files should be sufficient

 

SSL in admin (admin/includes/ configure.php)

Sample:
 define('HTTP_SERVER', 'https://www.dawn_store.com');
 define('HTTP_CATALOG_SERVER', 'https://www.dawn_store.com');
 define('HTTPS_CATALOG_SERVER', 'https://www.dawn_store.com');
 define('ENABLE_SSL_CATALOG', 'true');

 

SSL in catalog pages (catalog/includes/ configure.php)

Sample
 define('HTTPS_SERVER', 'https://www.dawn_store.com');
 define('ENABLE_SSL', 'true');

 

Try accessing your osc admin panel without rewrite.

Link to comment
Share on other sites

Hi Bryce..... When I changed those settings and saved them, rechecked them they wont save with the s on the end of http?

any reason why ?

Thankyou sooooooo much for answering, i was feeling a little invisible...:)

Link to comment
Share on other sites

Hi Bryce..... When I changed those settings and saved them, rechecked them they wont save with the s on the end of http?

any reason why ?

Thankyou sooooooo much for answering, i was feeling a little invisible...:)

 

Only a thought and maybe you have already done it but I had the same problem when my host was doing something I went back to the hosts admin and changed/reentered my name and password. That worked for me. It seemed too simple at the time but sometimes its the simple things that are overlooked.

 

Regards Mel

Link to comment
Share on other sites

Hi Bryce..... When I changed those settings and saved them, rechecked them they wont save with the s on the end of http?

any reason why ?

Thankyou sooooooo much for answering, i was feeling a little invisible...:)

Change permission, temporarily, on that file to allow you to make changes on it. Once the changes are made, set the permission back.

 

For example, if it is set to 444 or 400, set it to 644 and make changes. Upload the file and set the permission back to 444 or 400.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...