Link to home
Start Free TrialLog in
Avatar of Ricky Nguyen
Ricky NguyenFlag for Australia

asked on

Joomla 2.5.11 Menu Item Error 500

Hi Experts,

Can you please help point me in the right direction. I can't seem to find anything on any forums that would help resolve the error I'm experiencing with my Joomla website.

When I click on the the menu items its giving me the following errors as show below:

User generated image
My php_error_log:
[13-May-2013 13:33:11 UTC] PHP Warning:  mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in C:\xampp\htdocs\Joomla\libraries\joomla\database\database\mysqli.php on line 263
[13-May-2013 13:33:11 UTC] PHP Stack trace:
[13-May-2013 13:33:11 UTC] PHP   1. {main}() C:\xampp\htdocs\Joomla\administrator\index.php:0
[13-May-2013 13:33:11 UTC] PHP   2. JAdministrator->dispatch() C:\xampp\htdocs\Joomla\administrator\index.php:46
[13-May-2013 13:33:11 UTC] PHP   3. JComponentHelper::renderComponent() C:\xampp\htdocs\Joomla\administrator\includes\application.php:153
[13-May-2013 13:33:11 UTC] PHP   4. JComponentHelper::executeComponent() C:\xampp\htdocs\Joomla\libraries\joomla\application\component\helper.php:351
[13-May-2013 13:33:11 UTC] PHP   5. require_once() C:\xampp\htdocs\Joomla\libraries\joomla\application\component\helper.php:383
[13-May-2013 13:33:11 UTC] PHP   6. JController->execute() C:\xampp\htdocs\Joomla\administrator\components\com_menus\menus.php:18
[13-May-2013 13:33:11 UTC] PHP   7. MenusController->display() C:\xampp\htdocs\Joomla\libraries\joomla\application\component\controller.php:761
[13-May-2013 13:33:11 UTC] PHP   8. JController->display() C:\xampp\htdocs\Joomla\administrator\components\com_menus\controller.php:58
[13-May-2013 13:33:11 UTC] PHP   9. MenusViewItems->display() C:\xampp\htdocs\Joomla\libraries\joomla\application\component\controller.php:722
[13-May-2013 13:33:11 UTC] PHP  10. JView->get() C:\xampp\htdocs\Joomla\administrator\components\com_menus\views\items\view.html.php:35
[13-May-2013 13:33:11 UTC] PHP  11. JModelList->getPagination() C:\xampp\htdocs\Joomla\libraries\joomla\application\component\view.php:386
[13-May-2013 13:33:11 UTC] PHP  12. JModelList->getTotal() C:\xampp\htdocs\Joomla\libraries\joomla\application\component\modellist.php:179
[13-May-2013 13:33:11 UTC] PHP  13. JModel->_getListCount() C:\xampp\htdocs\Joomla\libraries\joomla\application\component\modellist.php:231
[13-May-2013 13:33:11 UTC] PHP  14. JDatabaseMySQLi->getNumRows() C:\xampp\htdocs\Joomla\libraries\joomla\application\component\model.php:320
[13-May-2013 13:33:11 UTC] PHP  15. mysqli_num_rows() C:\xampp\htdocs\Joomla\libraries\joomla\database\database\mysqli.php:263

Open in new window


Your help are much appreciated.

Many thanks in advance
Ricky
ASKER CERTIFIED SOLUTION
Avatar of Ess Kay
Ess Kay
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
just add the columnt to your database, set default to 1

update all values to 1
Avatar of Ricky Nguyen

ASKER

Thanks you! It was spot on.