No Dashboard: Fatal error: Call to undefined method View::addFooterItem()
PermalinkI can go to the site athttp://vaymca.org/index.php/dashboard/... and log in, but after logging in I just get this message and nothing else:
Fatal error: Call to undefined method View::addFooterItem() in /home2/vaymca/public_html/concrete/themes/dashboard/elements/header.php on line 39
Line 39 is:
$v->addFooterItem($html->javascript('jquery.backstretch.js'));
and is contained within:
// Required JavaScript $v->addFooterItem($html->javascript('jquery.backstretch.js')); $v->addFooterItem($html->javascript('jquery.ui.js')); $v->addFooterItem($html->javascript('jquery.form.js')); $v->addFooterItem($html->javascript('jquery.rating.js')); $v->addFooterItem('<script type="text/javascript" src="' . REL_DIR_FILES_TOOLS_REQUIRED . '/i18n_js"></script>'); $v->addFooterItem($html->javascript('bootstrap.js')); $v->addFooterItem($html->javascript('ccm.app.js')); $v->addFooterItem($html->javascript('ccm.dashboard.js')); $v->addFooterItem(Loader::helper('html')->javascript('tiny_mce/tiny_mce.js'));
There have been NO updates, NO changes. Just logged in one day and the dashboard was inaccessible. Once I'm logged in, I can update specific pages by going to that page's URL (i.e.http://vaymca.org/index.php/) but cannot access the dashboard for anything.
My error log, if it means anything, contains that same Line 39 error for the past few days, but also contains this in between this recurring error:
[18-Oct-2013 10:58:08 UTC] PHP Fatal error: Uncaught exception 'ADODB_Exception' with message 'mysql error: [2006: MySQL server has gone away] in EXECUTE("insert into Logs (logType, logText, logIsInternal) values ('exceptions', 'Exception Occurred: mysql error: [2006: MySQL server has gone away] in EXECUTE("SELECT * from btJeremeTweetcreteUserOrHashSettings where bID = \'297\' ORDER BY assertOrder ASC")\n\n#0 /home2/vaymca/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(1037): adodb_throw(\'mysql\', \'EXECUTE\', 2006, \'MySQL server ha...\', \'SELECT * from b...\', false, Object(ADODB_mysql))\n#1 /home2/vaymca/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(993): ADOConnection->_Execute(\'SELECT * from b...\')\n#2 /home2/vaymca/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(1543): ADOConnection->Execute(\'SELECT * from b...\', Array)\n#3 /home2/vaymca/public_html/concrete/libraries/3rdparty/adodb/adodb.inc.php(1380): ADOConnection->GetArray(\'SELECT * from b...\', Array)\n#4 [internal function]: A in /home2/vaymca/public_html/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php on line 78
Should I upgrade? That seems like a really bad idea, since upgrading usually causes more problems and makes troubleshooting more difficult.
If there is an answer besides updating (which I cannot do) please advise me. I am stuck!
Thank you!!
Tammy
The error you are using is typical of a site that is post c5.5 using a theme that is pre c5.5, or of an addon designed for c5.5+ being used with a site that is pre c5.5, or vice-versa.