JoomFish / joomfish-2.5

Joom!Fish 2.5 core development
http://www.joomfish.net/
34 stars 27 forks source link

The sample menu item "Statistics" of the type "Articles > Single Article" results in an Error 500 #61

Closed quodo closed 12 years ago

quodo commented 12 years ago

Problem I'm translating each and every item in the "About Joomla" module from the sample data. For the "Statistics" (About Joomla! module: Using Joomla > Using Extensions > Modules > Utility Modules > Statistics) I get a 500 Error. Both in the default language (en-GB) and the menu item translated in the second language (nl-NL)

Info The "Statistics" is of the menu item type "Articles > Single Article". The non-SEF URL (according to the info when editing the Menu Type) is index.php?option=com_content&view=article&id=44.

Error message JDatabaseMySQLi::query: 1146 - Table 'joomla_development_joomla25joomfish.content' doesn't exist SQL=SELECT COUNT(id) AS count_items,jfself.id AS id FROM jos_content INNER JOIN content AS jfself USING (id) WHERE state = 1

Call stack Function Location 1 JSite->dispatch() ...\index.php:42 2 JComponentHelper::renderComponent() ...\includes\application.php:198 3 JComponentHelper::executeComponent() ...\libraries\joomla\application\component\helper.php:357 4 require_once() ...\libraries\joomla\application\component\helper.php:388 5 JController->execute() ...\components\com_content\content.php:18 6 ContentController->display() ...\libraries\joomla\application\component\controller.php:754 7 JController->display() ...\components\com_content\controller.php:77 8 ContentViewArticle->display() ...\libraries\joomla\application\component\controller.php:715 9 JDispatcher->trigger() ...\components\com_content\views\article\view.html.php:126 10 JEvent->update() ...\libraries\joomla\event\dispatcher.php:161 11 call_user_func_array() ...\libraries\joomla\event\event.php:71 12 plgContentLoadmodule->onContentPrepare()
13 plgContentLoadmodule->_loadmod() ...\plugins\content\loadmodule\loadmodule.php:87 14 JDocumentRendererModule->render() ...\plugins\content\loadmodule\loadmodule.php:130 15 JModuleHelper::renderModule() ...\libraries\joomla\document\html\renderer\module.php:106 16 include() ...\libraries\joomla\application\module\helper.php:175 17 modStatsHelper::getList() ...\modules\mod_stats\mod_stats.php:18 18 JFDatabase->loadResult() ...\modules\mod_stats\helper.php:75 19 JFDatabase->_loadObject() ...\plugins\system\jfdatabase\jfdatabase_inherit.php:263 20 JFDatabase->loadObject() ...\plugins\system\jfdatabase\jfdatabase_inherit.php:409 21 interceptDB->loadObjectList() ...\plugins\system\jfdatabase\jfdatabase_inherit.php:395 22 JFDatabase->query() ...\plugins\system\jfdatabase\intercept.jdatabasemysqli.php:93 23 interceptDB->query() ...\plugins\system\jfdatabase\jfdatabase_inherit.php:689 24 JDatabaseMySQLi->query() ...\plugins\system\jfdatabase\intercept.jdatabasemysqli.php:412 25 JError::raiseError() ...\libraries\joomla\database\database\mysqli.php:396 26 JError::raise() ...\libraries\joomla\error\error.php:251

quodo commented 12 years ago

Error 500 problem is fixed, like in #59.

New issue mentioned in https://github.com/JoomFish/jf-future/issues/59#issuecomment-5458464 also happens for this menu item.