Forums / General Questions / Cant Access my Admin Page after restoring from backup

Cant Access my Admin Page after restoring from backup

Started by nelly7 on 23 Jan 2013, 10:36 AM · Views: 1,408

Results 1 to 9 of 9
23 Jan 2013, 10:36 AM
#1
nelly7 avatar

nelly7

New Zenner

Join Date:
Mar 2009
Posts:
8
Plugin Contributions:
0

Cant Access my Admin Page after restoring from backup

Hi,

Can someone please help, I tried to upgrade my cart through softaculas last year, however it didn't work so I got my server administrators to revert back to previous back up, the site works fine, but now cant log in to admin area, it just appears as a blank screen, I have tried looking through all the other threads which relate to this type of issue, but I cant find a solution.

the error I'm getting in the admin/cache folder is the following:

[23-Jan-2013 10:06:20] PHP Fatal error: 1146:Table 'motox_zc1.project_version' doesn't exist :: select * from project_version WHERE project_version_key = 'Zen-Cart Database' in /home/motox/public_html/motox/includes/classes/db/mysql/query_factory.php on line 101

Any help would be appreciated, thanks in advance!

Neil

23 Jan 2013, 10:46 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

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

Re: Cant Access my Admin Page after restoring from backup

The error is telling you that something is missing in the database.

I imagine that when your hosting company restored the system for you, they did not revert to the earlier database, but just dealt with the FILES.

This would need fixing in the database - probably via phpMyAdmin.

Ask your host to attend to this, or seek some professional help.

20 years a Zencart User

31 Jan 2013, 9:00 PM
#3
nelly7 avatar

nelly7

New Zenner

Join Date:
Mar 2009
Posts:
8
Plugin Contributions:
0

Re: Cant Access my Admin Page after restoring from backup

Thanks schoolboy,

I have now got this error message when trying to log in to the admin side

Fatal error: Class 'products_viewed_counter' not found in /home/motox/public_html/includes/autoload_func.php on line 79

I've done a file compare with the above and it shows no errors, has anyone got any ideas??

Cheers
Neil

31 Jan 2013, 9:04 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cant Access my Admin Page after restoring from backup

Table 'motox_zc1.project_version' doesn't exist
Use phpmyadmin and check for this table "zc1.project_version"

Zen-Venom Get Bitten

31 Jan 2013, 9:38 PM
#5
nelly7 avatar

nelly7

New Zenner

Join Date:
Mar 2009
Posts:
8
Plugin Contributions:
0

Re: Cant Access my Admin Page after restoring from backup

Hi kobra,

I've dealt with that error message, I've got this one!

Fatal error: Class 'products_viewed_counter' not found in /home/motox/public_html/includes/autoload_func.php on line 79

Not sure what this one is??

Cheers

Neil

31 Jan 2013, 11:20 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Cant Access my Admin Page after restoring from backup

nelly7:

Fatal error: Class 'products_viewed_counter' not found in /home/motox/public_html/includes/autoload_func.php on line 79
That means your server is missing the file at /includes/classes/observers/class.products_viewed_counter.php

... and if it's missing that, then chances are it's missing many others too. Did your FTP upload fail to transfer all the files properly?

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

19 Jun 2014, 11:30 AM
#7
aire avatar

aire

New Zenner

Join Date:
Jun 2014
Location:
Alicante
Posts:
15
Plugin Contributions:
0

Re: Cant Access my Admin Page after restoring from backup

nelly7 did you find the solution?

DrByte I've got the same error but the file is in its place.

Still have the same error.

19 Jun 2014, 3:49 PM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cant Access my Admin Page after restoring from backup

aire:

I've got the same error but the file is in its place.
Check file size with ftp and insure that it is not "zero" bytes

Zen-Venom Get Bitten

20 Jun 2014, 8:18 AM
#9
aire avatar

aire

New Zenner

Join Date:
Jun 2014
Location:
Alicante
Posts:
15
Plugin Contributions:
0

Re: Cant Access my Admin Page after restoring from backup

I've found the error!

I forgot to change 1 line in configure: DIR_FS_CATALOG.

Thank you!