Solved

Joomla 2.5.11 Menu Item Error 500

Posted on 2013-05-13
3
1,051 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
Question by:RiCzN
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
Ess Kay earned 500 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:RiCzN
ID: 39161630
Thanks you! It was spot on.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

896 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now