Solved

Joomla 2.5.11 Menu Item Error 500

Posted on 2013-05-13
3
1,049 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
Comment Utility
looks like youre missing column jtobv_menu.ordering in table jtobv_menu
0
 
LVL 15

Expert Comment

by:Ess Kay
Comment Utility
just add the columnt to your database, set default to 1

update all values to 1
0
 

Author Closing Comment

by:RiCzN
Comment Utility
Thanks you! It was spot on.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
This article discusses four methods for overlaying images in a container on a web page
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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…

744 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

10 Experts available now in Live!

Get 1:1 Help Now