Zen Cart Logo
Forums / Upgrading to 1.5.x / After Upgrade can't access admin bebug shows tableblock error

After Upgrade can't access admin bebug shows tableblock error

Locked

Views: 870

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
30 Apr 2015, 3:11 PM
#1
bearlymakinit avatar

bearlymakinit

Zen Follower

Join Date:
Feb 2009
Posts:
128
Plugin Contributions:
0

After Upgrade can't access admin bebug shows tableblock error

I can't get into admin after the upgrade. All white screen. in the logs folder I have the follow error

015 09:46:35 America/Chicago] PHP Fatal error: Class 'tableBlock' not found in /home/e4mpdnk7/public_html/xxx/includes/classes/box.php on line 27

What is supposed to be there? I have checked the new 1.54 zencart, the test store and they all show that area blank.

class box extends tableBlock {
function box() {
$this->heading = array();
$this->contents = array();
}

30 Apr 2015, 3:21 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,081
Plugin Contributions:
56

Re: After Upgrade can't access admin bebug shows tableblock error

It sounds like the file /YOUR_ADMIN/includes/classes/table_block.php was either not uploaded or somehow corrupted in the upload. Update that file with the like-named file from your ZC 1.5.4 distribution zip-file.

Out of curiosity, how was this upgrade performed?

30 Apr 2015, 5:22 PM
#3
bearlymakinit avatar

bearlymakinit

Zen Follower

Join Date:
Feb 2009
Posts:
128
Plugin Contributions:
0

Re: After Upgrade can't access admin bebug shows tableblock error

I replaced the file. It didn't work. I Didn't think it would do any good because it looked just like the one in the admin/includes/classes file.

I followed the instruction in the zencart 1.54 #2 readme how to upgrade. Uploaded the new_store to a new database and chose upgrade.

I was able to access it before I did the upgrade. I even contacted my web company and asked them to check it and they said Regarding http://bearlymakinit.com/xxx/, I would suggest you to contact a developer regarding this issue.

The only thing I can think of is during the upgrade it asked the sign in and password for the website. I gave them the old website info since that was the site I would be using. Maybe that was the wrong one to give?

I'm off to download another 1.54 zencart to see if the /YOUR_ADMIN/includes/classes/table_block.php is any different.

30 Apr 2015, 5:31 PM
#4
bearlymakinit avatar

bearlymakinit

Zen Follower

Join Date:
Feb 2009
Posts:
128
Plugin Contributions:
0

Re: After Upgrade can't access admin bebug shows tableblock error

The new download of the 1.54 zencart /YOUR_ADMIN/includes/classes/table_block.php is blank just like the rest of the /YOUR_ADMIN/includes/classes/table_block.php I have.

30 Apr 2015, 6:59 PM
#5
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: After Upgrade can't access admin bebug shows tableblock error

Version of PHP?

30 Apr 2015, 7:55 PM
#6
bearlymakinit avatar

bearlymakinit

Zen Follower

Join Date:
Feb 2009
Posts:
128
Plugin Contributions:
0

Re: After Upgrade can't access admin bebug shows tableblock error

Php 5.5.11

30 Apr 2015, 7:57 PM
#7
bearlymakinit avatar

bearlymakinit

Zen Follower

Join Date:
Feb 2009
Posts:
128
Plugin Contributions:
0

Re: After Upgrade can't access admin bebug shows tableblock error

The php 5.5.11 is the new store. I can't get into the admin in the old store to find out what it is. I am assuming it is the same

30 Apr 2015, 10:26 PM
#8
bearlymakinit avatar

bearlymakinit

Zen Follower

Join Date:
Feb 2009
Posts:
128
Plugin Contributions:
0

Re: After Upgrade can't access admin bebug shows tableblock error

I found out what it was. I was missing the table_block php. Thank you