VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.


joomfreak-logo

It's time to pass this project on to someone passionate about continuing its journey. joomfreak offers a unique opportunity to build upon a well-established platform and keep providing the Joomla community with quality templates and tools.

If you're interested, we'd love to hear from you!
[email protected]

Welcome, Guest
Username Password: Remember me

Problem with mainmenu in jf_well-benessere-quickst
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Problem with mainmenu in jf_well-benessere-quickst

Problem with mainmenu in jf_well-benessere-quickst 26 Sep 2012 14:00 #1115

I downloaded jf_well-benessere-quickstart
and install successful but i have problem with menu on top (main menu)

SCREAM: Error suppression ignored for( ! )
Notice: Undefined index: 1 in D:wampwwwjf_well-benessere-quickstart-25-spatemplatesjf_well-benesserescriptsphpmainmenu.php on line 47

Here is code of mainmenu.php:
//work out if this should be highlighted
$sql = "SELECT m.* FROM #__menu AS m"
. "nWHERE menutype='". $menutype ."' AND m.published='1'";
$database->setQuery( $sql );
$subrows = $database->loadObjectList( 'id' );
$maxrecurse = 5;
$parentid = $Itemid;

//this makes sure toplevel stays hilighted when submenu active
while ($maxrecurse-- > 0) {
$parentid = getParentRow($subrows, $parentid);
Line 47: if (isset($parentid) && $parentid >= 0 && $subrows[$parentid]) {
$hilightid = $parentid;
} else {
break;
}
}
[attachment:1]C:fakepatherrorPHP.jpg[/attachment]

  • Posts:1
  • ducpmz
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Problem with mainmenu in jf_well-benessere-quickst 27 Sep 2012 05:45 #1123

Hi
Please seach in google how to turn off "Notice" report in php?
  • mars
  • Page:
  • 1
Time to create page: 0.49 seconds
Saturday 07 December 2024

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.