Solved

Joomla 2.5.11 Menu Item Error 500

Posted on 2013-05-13
3
1,061 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
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…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

752 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