Forum Support

Shape 5
March 28, 2024, 03:46:59 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Errors in s5_no_moo_menu.php  (Read 283 times)
pastvne
Jr. Member
**
Offline Offline

Posts: 1



« on: July 28, 2010, 07:35:47 PM »

I've run into some errors using mediaplate template with Joomla 1.5.17 and PHP 5.2.  Php complains of a missing index on line 250 and line 499 of this script:

I made these changes and the issue has gone away but not sure if I have opened myself to other problems:

Around line 250:
Code:
/* s7bd original code:$mitem->link = JRoute::_($mitem->alias);*/
$mitem->link = JRoute::_('$mitem->alias');


Around line 499:

Code:
/***origjnal code** if (isset($parentid) && $parentid >= 0 && $subrows[$parentid]) {*/
if (isset($parentid) && $parentid >= 0) {


These changes provided in case I've discovered a bug and have managed to fix it.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.