If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Taking over the site, where to start, cant login??

Taking over the site, where to start, cant login??

Started by fendy on 4 Sep 2011, 10:05 AM · Views: 1,342

Results 1 to 11 of 11
4 Sep 2011, 10:05 AM
#1
fendy avatar

fendy

New Zenner

Join Date:
Sep 2011
Posts:
17
Plugin Contributions:
0

Post #1 by fendy

I just got a site that I bought from anther person and it is damaged. I can't login, the shopping cart is now working.....

First, can I just overwrite all the files with new files?

I do not know what version of zencart I have?

How to login into admin section?

4 Sep 2011, 10:38 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #2 by schoolboy

If your previous owner won't/can't give you admin password access, then logging in will require that you access the database to "insert" a new passkey phrase.

There is a section in the FAQ/TUTORIALS explaining the procedure - but it ALSO requires that you can access phpMyAdmin through a server Control Panel.

If the above is starting to look like gibberish, then go back to the person from whom you acquired the site and ask them for:

  1. The NAME and website of the HOSTING COMPANY
  2. The Hosting account LOGIN details
  3. The Server c-Panel LOGIN details
  4. The Server FTP login details

If these details are unobtainable from the previous owner, then he/she should contact the hosting company, get all of the above info, and forward it to you.

When you have all the above, come back to the forum.

20 years a Zencart User

4 Sep 2011, 10:41 AM
#3
fendy avatar

fendy

New Zenner

Join Date:
Sep 2011
Posts:
17
Plugin Contributions:
0

Post #3 by fendy

I have all of those information

the admin folder is hidden, ok, but how to reset the password for admin?

Is there a way to decrypt the current password?

And how to find out the current version of the site, I am not sure if the login still works, maybe it is damaged, how to upgrade to the latest version? Just overwrite the files?

4 Sep 2011, 10:56 AM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #4 by schoolboy

fendy:

I have all of those information

the admin folder is hidden, ok, but how to reset the password for admin?

Is there a way to decrypt the current password?

And how to find out the current version of the site, I am not sure if the login still works, maybe it is damaged, how to upgrade to the latest version? Just overwrite the files?

To see the NAME of the admin folder, access the setup either in C-Panel or via FTP. This will reveal all the folder names.

Your admin login will be your site URL followed by " /youradminfolder "

It is not possible to "de-crypt" the password - so follow the ADMIN PASSWORD RESET given in the FAQ/TUTORIALS.

The VERSION will be revealed when you get into the admin section.

20 years a Zencart User

4 Sep 2011, 11:10 AM
#6
fendy avatar

fendy

New Zenner

Join Date:
Sep 2011
Posts:
17
Plugin Contributions:
0

Post #6 by fendy

i know how to go to admin screen, but i cant login, i added default admin user and used the login info, it says access denied

i used this query

DELETE FROM admin WHERE admin_name = 'Admin'; 
INSERT INTO admin (admin_name, admin_email, admin_pass, admin_level) 
VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);

i still could not login, also the send password by email does not work, i think the site is totally damaged

4 Sep 2011, 11:17 AM
#7
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #7 by schoolboy

The "query" needs to be run through phpMyAdmin - not through the site's login page.

You need to do this via the hosting C-PANEL interface.

If you are using the proprietary C-Panel, then there will be an icon in the Panel called "phpMyAdmin".

Clicking that link in your C-Panel will then open up a rather daunting screen (MySQL administrator screen), where you would run the "query".

You do need to be careful inside phpMyAdmin... even the tiniest mistake can wreck the entire site - so if you do not know how to use phpMyAdmin, then ask the host to do this step for you.

20 years a Zencart User

4 Sep 2011, 11:20 AM
#8
fendy avatar

fendy

New Zenner

Join Date:
Sep 2011
Posts:
17
Plugin Contributions:
0

Post #8 by fendy

I know, i did it, i used query in phpmyadmin

i got new user Admin, and the pass is admin, but it is not working on admin login page, seems like the site is damaged on purpose

4 Sep 2011, 11:27 AM
#9
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #9 by schoolboy

Then this will require further audit. You may need to ask someone to assist you, as it is impossible to know what is preventing access until such an analysis is conducted.

Is the shop front working - for customers... ?

20 years a Zencart User

4 Sep 2011, 11:36 AM
#10
fendy avatar

fendy

New Zenner

Join Date:
Sep 2011
Posts:
17
Plugin Contributions:
0

Post #10 by fendy

the front page is working untul they want to checkout, the cart shows empty all the times

4 Sep 2011, 11:44 AM
#11
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #11 by schoolboy

Looks like the guy who sold it to you has passed on a load of problems...

Did he disclose all these issues before he got you to agree with the sale?

If not, contact him to indicate that you would like him to undertake the necessary repairs - or if you contract someone, he should pay the cost.

If the database is accessible (which it seems to be), then the most important thing is to create a BACKUP of it, so that at least this element is "made safe".

Then, you could try a number of approaches - including building a whole NEW site on a fresh install, then pointing that site to a COPY of the original database (this COPY being constructed using the backup).

(Do a BACKUP of the files too - by FTP to your hard drive).

Another option is to create a full CLONE of the entire site, and play about on that clone to try to identify the issues.

The procedure for a site CLONE are discussed in various threads on the forum.

It does not appear that the problems are insurmountable - but it will take the input of a knowledeable zenner to effect the repairs.

20 years a Zencart User