Forums / Basic Configuration / Person doing my admin has disappeared cant log into admin

Person doing my admin has disappeared cant log into admin

Locked

Views: 1,440

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
20 Jan 2015, 9:25 AM
#1
semcomputers avatar

semcomputers

New Zenner

Join Date:
Oct 2009
Posts:
5
Plugin Contributions:
0

Person doing my admin has disappeared cant log into admin

Unsure on my version
MySQL version is 5.5.40=cll
phpmyadmin is 4.0.10.7

The guy i have been paying to look after my website has disappeared and 2nd time this has happened, been over9mths cant access my zencart admin, i can log into phpMyAdmin.
I am trying to run a new query DELETE FROM admin WHERE admin name = Admin

I get an ERROR
sql query

DELETE FROM admin WHERE admin_name = Admin

MYSQL said

#1146 - Table 'beanieki_beanieki.admin doesnt exist,

can anyone shed any light on this
thanks

20 Jan 2015, 2:07 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Person doing my admin has disappeared cant log into admin

In phpMyAdmin, what are the names of the first 3 tables in your database?
What is the common prefix that they all start with?

As the FAQ article says, if your table name isn't "admin", but is instead "fred_admin" or "abc_admin" or "bean_admin" then you'll need to add that prefix to the DELETE FROM and INSERT INTO statements.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Jan 2015, 11:54 PM
#4
semcomputers avatar

semcomputers

New Zenner

Join Date:
Oct 2009
Posts:
5
Plugin Contributions:
0

Re: Person doing my admin has disappeared cant log into admin

hi in the phpmyadmin

on left hand side
i have looks like 2 tables

beanieki_beanieki
information_schema

yep the error code 1146 looks like prefix error

20 Jan 2015, 11:57 PM
#5
semcomputers avatar

semcomputers

New Zenner

Join Date:
Oct 2009
Posts:
5
Plugin Contributions:
0

Re: Person doing my admin has disappeared cant log into admin

thanks mate can see the 1146 error, just need to correct that prefix and try again

21 Jan 2015, 12:11 AM
#6
semcomputers avatar

semcomputers

New Zenner

Join Date:
Oct 2009
Posts:
5
Plugin Contributions:
0

Re: Person doing my admin has disappeared cant log into admin

okies i looked under the structure tab
and i found this

SELECT
FROM zen_admin
LIMIT 0 , 30

so i gather this is my admin

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

so after DELETE FROM I insert zen_admin
and INSERT INTO insert zen_admin

21 Jan 2015, 12:31 AM
#7
semcomputers avatar

semcomputers

New Zenner

Join Date:
Oct 2009
Posts:
5
Plugin Contributions:
0

Re: Person doing my admin has disappeared cant log into admin

thanks guys got in finally
yipyah 9mths and finally yah

got a ssl issue but ill post that later
great:smile: