Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Lost admin access info


  • You cannot reply to this topic
36 replies to this topic

#21 esm

  • Community Member
  • 115 posts
  • Real Name:Ed Miller

Posted 14 January 2011, 20:33

Yes, I did open the admin table and entered the user name manually. Same result, invalid login attempt.

#22 Procommerce

  • Community Member
  • 53 posts
  • Real Name:Procommerce Argentina S.A.
  • Gender:Male
  • Location:Argentina

Posted 15 January 2011, 03:33

How does "uploading a new admin" sounds to you?

Do you mind giving a temp URL to take a look?

Providing Ecommerce & CRM Solutions since 1995


Vote my post up if you found it usefull


#23 geoffreywalton

  • Community Sponsor
  • 7,731 posts
  • Real Name:Geoffrey Walton
  • Gender:Male
  • Location:Norfolk, UK (close to the centre of the universe)

Posted 15 January 2011, 08:53

I posted a solution to this last night, purely following the advice of Mike Taylor.


Try this

HTH

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

#24 esm

  • Community Member
  • 115 posts
  • Real Name:Ed Miller

Posted 15 January 2011, 16:27

When I tried to enter the changes in the admin/configuration.php, those 3 "define" lines are not even in there. I did a search for that string and it's definitely not in that file. This drives me nuts! :-(

Edited by esm, 15 January 2011, 16:27.


#25 germ

  • Community Member
  • 13,586 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 15 January 2011, 16:58

You're hunting rabbits and it's duck season.
:blink:

Look in /admin/includes/configure.php
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

"Headers already sent" - The definitive help

"Cannot redeclare ..." - How to find/fix it

SSL Implementation Help

Like this post? "Like" it again over there >

#26 esm

  • Community Member
  • 115 posts
  • Real Name:Ed Miller

Posted 16 January 2011, 18:24

OK, my mistake.

So I opened the admin/includes/configure.php file, made the changes, uploaded on the server, emptied the administrators table and attempted to create an administrator.

Result: 404 error message, file not found!

#27 esm

  • Community Member
  • 115 posts
  • Real Name:Ed Miller

Posted 17 January 2011, 19:09

Guys,

Wouldn't it be easier to just scrap this cart, delete everything on the server and start a new cart from scratch?

Just a thought.

Ed

#28 Xpajun

  • Community Member
  • 1,272 posts
  • Real Name:Julian
  • Gender:Male
  • Location:UK

Posted 18 January 2011, 14:01

The answer is yes but...

It will depend on the state of your store - is it active - that is do you have customers buying, or have you customers that need transferring to a new store.

Have you add-ons that you feel you need.

At the end of the day it is always a case of can you afford to lose what you already have, but updating to 2.3.1 will solve a lot of security and php6 problems and you could import most of the essential parts of your database customer of course and products (to keep the search engines happy)

#29 esm

  • Community Member
  • 115 posts
  • Real Name:Ed Miller

Posted 18 January 2011, 15:40

I understand the implications of starting a new store and I'd rather avoid it. But this whole thing with not being able to get into the store admin has been going on for too long and I need a solution. My customer (the store owner) is getting nervous. :-)

#30 AlistairMcCoy

  • Community Member
  • 28 posts
  • Real Name:Alistair McCoy
  • Gender:Male

Posted 18 January 2011, 21:27

just a quick suggestion.

Do you have any other oscommerce shops?

if not install a new one and create yourself an admin account. then go to that shops database and export the admin table

now on the shop you want to fix delete the admin table and import the one from the second shop. then try login. if that doesnt work then there is something larger wrong with the store and i would recommend a start from scratch.
Alistair McCoy
Owner and CEO at Ifusion Hosting

#31 esm

  • Community Member
  • 115 posts
  • Real Name:Ed Miller

Posted 20 January 2011, 21:27

Hi Y'all,

My customer wants me to start a new shopping cart from scratch.

What would be the best method to back up the existing database?

Thanks,

Ed

#32 bmiadmin

  • Community Member
  • 2 posts
  • Real Name:Jason Breiner

Posted 12 January 2012, 17:58

I have the same problem, except I am not as computer smart as some of you. I have godaddy as my host. I can go into the dashboard on their website, open the htaccess password file and see the password but it is encrypted and can go into the htaccess folder and see my user name .....NOW WHAT? HELP please! I have customers ordering products from me that are discontinued and I NEED to get into my catalog!!

#33 DunWeb

  • Community Sponsor
  • 10,464 posts
  • Real Name:Chris Dunn
  • Gender:Male
  • Location:Tecumseh, Ontario, Canada N8N 1X8

Posted 12 January 2012, 19:27

Jason,

Rename the .htaccess file. This will get you access to the website.

To recreate .htaccess protection, upload new .htaccess and .htpasswd_oscommerce files and then set the protection from admin>>configuration>> administrators again.




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

:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:

:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:

#34 geoffreywalton

  • Community Sponsor
  • 7,731 posts
  • Real Name:Geoffrey Walton
  • Gender:Male
  • Location:Norfolk, UK (close to the centre of the universe)

Posted 13 January 2012, 08:16

View Postesm, on 20 January 2011, 21:27, said:

Hi Y'all,

My customer wants me to start a new shopping cart from scratch.

What would be the best method to back up the existing database?

Thanks,

Ed

Use the back up option in the shop admin

HTH

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

#35 CNSS

  • Community Member
  • 2 posts
  • Real Name:James
  • Gender:Male
  • Location:Uganda/Sweden

Posted 15 January 2012, 17:53

does any one know how to recover a lost password to there admin panel on oscommerce? please mail me if you havae any information on this tpoic. Mail james@cnss.se

#36 geoffreywalton

  • Community Sponsor
  • 7,731 posts
  • Real Name:Geoffrey Walton
  • Gender:Male
  • Location:Norfolk, UK (close to the centre of the universe)

Posted 15 January 2012, 20:36

Funnily enough I occasionally get locked out and it is something to do with the action recorder table.

Clearing that often allows me in. One day I'll work out exactly what it is.

Cheers

G

Edited by geoffreywalton, 15 January 2012, 20:36.

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

#37 germ

  • Community Member
  • 13,586 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 17 January 2012, 11:40

View PostCNSS, on 15 January 2012, 17:53, said:

does any one know how to recover a lost password to there admin panel on oscommerce? please mail me if you havae any information on this tpoic. Mail .se"]james@CNSS.se
osC paswwords are "hashed" not "encrypted" therefore they are unrecoverable.

I believe you are supposed to empty the administrators table in the DB. Then when you login after that you will be prompted for a username/password.
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

"Headers already sent" - The definitive help

"Cannot redeclare ..." - How to find/fix it

SSL Implementation Help

Like this post? "Like" it again over there >