Jump to content



Photo
- - - - -

how to get into my admin

error: invalid administrator

This topic has been archived. This means that you cannot reply to this topic.
18 replies to this topic

#1   drshats

drshats
  • Members
  • 11 posts

Posted 30 June 2012 - 22:43

I did few backups and same how came this massage:Error: Invalid administrator login attempt.

#2   DunWeb

DunWeb

    The Censored One

  • Members
  • 13,084 posts

Posted 01 July 2012 - 00:43

@drshats

Wait the 5 minutes and then try again.



Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

#3   drshats

drshats
  • Members
  • 11 posts

Posted 02 July 2012 - 02:16

still not working next day

#4   drshats

drshats
  • Members
  • 11 posts

Posted 02 July 2012 - 02:17

is any customer support around

#5   DunWeb

DunWeb

    The Censored One

  • Members
  • 13,084 posts

Posted 02 July 2012 - 03:11

@drshats

is any customer support around


A little clarification for you.....

1) YOU are not a customer of osCommerce. That would imply you PAID for it. osCommerce is FREE

2) There is NO official support on this forum, any questions you get answered here are answered by VOLUNTEERS who offer free advice.

So, now that you know your place......I suggest trying the following:
  • Truncate the administrators table (using PHPMYADMIN in your hosting account control panel)
  • Truncate the Sessions tables (same as above)
  • Ensure you DO NOT have .htaccess protection enabled until you are aware of the username and password.


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

#6   drshats

drshats
  • Members
  • 11 posts

Posted 02 July 2012 - 23:13

@drshats



A little clarification for you.....

1) YOU are not a customer of osCommerce. That would imply you PAID for it. osCommerce is FREE

2) There is NO official support on this forum, any questions you get answered here are answered by VOLUNTEERS who offer free advice.

So, now that you know your place......I suggest trying the following:

  • Truncate the administrators table (using PHPMYADMIN in your hosting account control panel)
  • Truncate the Sessions tables (same as above)
  • Ensure you DO NOT have .htaccess protection enabled until you are aware of the username and password.

Chris

whats mean truncate

#7   DunWeb

DunWeb

    The Censored One

  • Members
  • 13,084 posts

Posted 02 July 2012 - 23:30

@drshats

:| Truncate = EMPTY




Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

#8   xvoyance

xvoyance
  • Members
  • 87 posts

Posted 03 July 2012 - 00:17

Presumably you restored a backup file from another user ID.
That is the problem.

What you need to do is not to re-installed the back-up administrator table.
Or, in Chris's word 'truncated' the table.
And, create a new administrator.

#9   drshats

drshats
  • Members
  • 11 posts

Posted 03 July 2012 - 02:38

Presumably you restored a backup file from another user ID.
That is the problem.

What you need to do is not to re-installed the back-up administrator table.
Or, in Chris's word 'truncated' the table.
And, create a new administrator.

but to create a new administrator possible only from phpmyadmin?

#10   14steve14

14steve14
  • Members
  • 3,505 posts

Posted 03 July 2012 - 09:18

As Chris has said, empty the administrators table using phpmyadmin. Once empty go to your store admin page using your browser. You will be asked to create a new user name and password, Enter those details and login.
REMEMBER BACKUP, BACKUP AND BACKUP

Don't take life too seriously. no one gets out alive anyway

#11   satish

satish
  • Members
  • 5,350 posts

Posted 03 July 2012 - 17:43

http://forums.oscomm...database-table/

check this.
SO that you can add another admin.
Ask/Skype for  Free osCommerce value addon/SEO suggestion tips for your site.

Check My About US For who am I and what My company does.

#12   drshats

drshats
  • Members
  • 11 posts

Posted 07 July 2012 - 18:18

but the problem is - I can't reache data (I do not have my password) and support from GoDaddy tell me if I change password(create a new one) that my be bring more problem!?

#13   DunWeb

DunWeb

    The Censored One

  • Members
  • 13,084 posts

Posted 07 July 2012 - 23:14

@drshats

If you change database passwords, then you will need to change the password in the two configure.php files. Not a HUGE problem......takes about 5 minutes.




Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

#14   satish

satish
  • Members
  • 5,350 posts

Posted 08 July 2012 - 06:00

You can have more then one admin.

So either
1. empty data base or
2. Add another admin by looking at the link I posted in My above comments.


Satish
Ask/Skype for  Free osCommerce value addon/SEO suggestion tips for your site.

Check My About US For who am I and what My company does.

#15   brad11

brad11
  • Members
  • 15 posts

Posted 12 July 2012 - 14:58

I'm having this exact problem. In my case I renamed my catalog folder, changed my configure file and re-uploaded. The store works great, but found I was locked out of my Admin. I followed the above directions and truncated the administrators folder in phpMyAdmin, but .htaccess is still keeping me out. I know DunWeb said:


@drshats

  • Ensure you DO NOT have .htaccess protection enabled until you are aware of the username and password.


... but can't figure out how exactly to do that? Can anyone please tell me how to disable .htaccess protection so I can reset my Admin credentials?

Thanks,
Brad

#16   DunWeb

DunWeb

    The Censored One

  • Members
  • 13,084 posts

Posted 12 July 2012 - 15:30

@brad11

edit the /admin/.htaccess file to reflect the NEW path.



Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

#17   Gergely

Gergely

    Action Hero

  • Community Team
  • 1,123 posts

Posted 13 July 2012 - 11:51

1. MAIN STEP
.htaccess protection can be found in some places. Switch off all htaccess password protections(important!) and start again.

2. Close browser and Open again.

3. Delete all admin users.

4. Start to log in. (generate new password and admin user when offer this the login page)

5. and wait at least 5 mins after modifications /whistling.gif' class='bbc_emoticon' alt=':-' />) if you missed the log in.

6. FINALY
give a new htaccess layer now!!!
Only one htaccess layer protection need for you and the htacces password and user name have to be the same when use in oscommerce admin login page.

i.e:
htaccess layer
user: XYZ
password: 1234

oscommerce admin have to use the same user-password pair!!!
user: XYZ
password: 1234


7. after some times you have to give user and password again into the new htaccess layer.


I have doing the same repairs for years successfully /whistling.gif' class='bbc_emoticon' alt=':-' />)

i.e: some servers cant use oscommerce htaccess layer only the built in hosting services (directory protections)

Edited by Gergely, 13 July 2012 - 11:53.

some rewrites :-)

#18   drshats

drshats
  • Members
  • 11 posts

Posted 18 July 2012 - 00:51

thanks a lot I did it!

#19   drshats

drshats
  • Members
  • 11 posts

Posted 18 July 2012 - 00:53

I have other question - when I came to page "contact us" on a top of header sing:"Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/42/8967942/html/contact_us.php:1) in /home/content/42/8967942/html/includes/functions/sessions.php on line 102" - what this and how to resolve?!Thanks!