karinwaz Posted December 13, 2004 Posted December 13, 2004 Hi All. I am getting errors in my admin section. When I hit refresh, it goes away, so to speak. Sometimes it pops up again (randomly) and sometimes it doesn't. Fatal error: Call to undefined function: tamleblock() in /home/vhostpn/www/pleasurablenovelties.com/catalog/admin/includes/classes/box.php on line 55 Parse error: parse error, unexpected T_VARIABLE in /home/vhostpn/www/pleasurablenovelties.com/catalog/admin/includes/classes/box.php on line 55 Warning: Unexpected character in input: ' in /home/vhostpn/www/pleasurablenovelties.com/catalog/admin/includes/functions/sessions.php on line 63 Parse error: parse error, unexpected T_STRING in /home/vhostpn/www/pleasurablenovelties.com/catalog/admin/includes/functions/sessions.php on line 63 Line 55 is in box.php: $this->heading = $this->tableBlock($heading); Line 63 in sessions.php: if ($check['total'] > 0) { return tep_db_query("update " . TABLE_SESSIONS . " set expiry = '" . tep_db_input($expiry) . "', value = '" . tep_db_input($value) . "' where sesskey = '" . tep_db_input($key) . "'"); } else { return tep_db_query("insert into " . TABLE_SESSIONS . " values ('" . tep_db_input($key) . "', '" . tep_db_input($expiry) . "', '" . tep_db_input($value) . "')"); } } if ($check['total'] > 0) { return tep_db_query("update " . TABLE_SESSIONS . " set expiry = '" . tep_db_input($expiry) . "', value = '" . tep_db_input($value) . "' where sesskey = '" . tep_db_input($key) . "'"); } else { return tep_db_query("insert into " . TABLE_SESSIONS . " values ('" . tep_db_input($key) . "', '" . tep_db_input($expiry) . "', '" . tep_db_input($value) . "')"); } } I would assume that "tamleblock" should be tableBlock- but I can't find it anywhere. Thanks to those of you who take the time to pass on their knowledge and information!
Guest Posted December 13, 2004 Posted December 13, 2004 The error can be found in catalog/admin/includes/classes/box.php on line 55 :D Matti
Recommended Posts
Archived
This topic is now archived and is closed to further replies.