Jump to content



Latest News: (loading..)

- - - - -

how to get into my admin

error: invalid administrator

  • Please log in to reply
18 replies to this topic

#1   drshats

drshats
  • Members
  • 11 posts
  • Real Name:vlad

Posted 30 June 2012 - 10:43 PM

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

#2   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,732 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 01 July 2012 - 12:43 AM

@drshats

Wait the 5 minutes and then try again.



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

See my Profile (click here)

#3   drshats

drshats
  • Members
  • 11 posts
  • Real Name:vlad

Posted 02 July 2012 - 02:16 AM

still not working next day

#4   drshats

drshats
  • Members
  • 11 posts
  • Real Name:vlad

Posted 02 July 2012 - 02:17 AM

is any customer support around

#5   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,732 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 02 July 2012 - 03:11 AM

@drshats

Quote

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 (click here)

#6   drshats

drshats
  • Members
  • 11 posts
  • Real Name:vlad

Posted 02 July 2012 - 11:13 PM

View PostDunWeb, on 02 July 2012 - 03:11 AM, said:

@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
  • 12,732 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 02 July 2012 - 11:30 PM

@drshats

:|  Truncate =  EMPTY




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

See my Profile (click here)

#8   xvoyance

xvoyance
  • Members
  • 87 posts
  • Real Name:xi voyance
  • Gender:Male

Posted 03 July 2012 - 12:17 AM

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
  • Real Name:vlad

Posted 03 July 2012 - 02:38 AM

View Postxvoyance, on 03 July 2012 - 12:17 AM, said:

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

    STORE OWNER NOT CODER

  • Members
  • 3,081 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Dorset UK

Posted 03 July 2012 - 09:18 AM

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
I am not a coder, so dont bother sending PMs asking for help as you wont get any.  

OSC has a steep learning curve, but in general the program does work.  If it doesnt work, the chances are it is something you have done.

#11   satish

satish
  • Members
  • 5,350 posts
  • Real Name:Satish Mantri
  • Gender:Male
  • Location:Nagpur(India)

Posted 03 July 2012 - 05:43 PM

http://forums.oscommerce.com/topic/294759-how-to-add-an-administrator-in-the-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
  • Real Name:vlad

Posted 07 July 2012 - 06:18 PM

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
  • 12,732 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 07 July 2012 - 11:14 PM

@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 (click here)

#14   satish

satish
  • Members
  • 5,350 posts
  • Real Name:Satish Mantri
  • Gender:Male
  • Location:Nagpur(India)

Posted 08 July 2012 - 06:00 AM

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
  • Real Name:Brad

Posted 12 July 2012 - 02:58 PM

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:


View PostDunWeb, on 02 July 2012 - 03:11 AM, 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
  • 12,732 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 12 July 2012 - 03:30 PM

@brad11

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



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

See my Profile (click here)

#17   Gergely

Gergely
  • Community Team
  • 532 posts
  • Real Name:Gergely Tóth
  • Gender:Male

Posted 13 July 2012 - 11:51 AM

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

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

Header Footer Content Modules
SCM
v3

and some rewrites :-)

#18   drshats

drshats
  • Members
  • 11 posts
  • Real Name:vlad

Posted 18 July 2012 - 12:51 AM

thanks a lot I did it!

#19   drshats

drshats
  • Members
  • 11 posts
  • Real Name:vlad

Posted 18 July 2012 - 12:53 AM

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!