Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Joomla 2.5.11 Menu Item Error 500

Posted on 2013-05-13
3
Medium Priority
?
1,077 Views
Last Modified: 2013-05-13
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:

Error
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
0
Comment
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
Ess Kay earned 2000 total points
ID: 39161565
looks like youre missing column jtobv_menu.ordering in table jtobv_menu
0
 
LVL 15

Expert Comment

by:Ess Kay
ID: 39161568
just add the columnt to your database, set default to 1

update all values to 1
0
 

Author Closing Comment

by:Ronniel Allan Castanito
ID: 39161630
Thanks you! It was spot on.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
Knowledge base software has turned out to be a quite reliable method for storing information, promoting collaborative work and for sharing valuable input and solutions.However, some organizations are trying to develop a knowledge base that works wit…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question