× Support for Joomla 1.5 templates is discontinued. This forum category is read-only.

dj Multicolumn Error

More
8 years 3 months ago #1107 by Thanos
Thanos created the topic: dj Multicolumn Error
I have the latest WAMP server installed. I used the quick install feature of this template and am getting this error:

( ! ) Notice: Undefined index: 1 in C:\wamp\www\dts\modules\mod_djmenu\helper.php on line 406

I've attached a screenshot. Paying for a template that does not work is pretty frustrating.


Attachment notworking.jpg not found

Attachments:

Please Log in or Create an account to join the conversation.

  • admin
  • admin's Avatar
8 years 3 months ago #1112 by admin
admin replied the topic: Re: dj Multicolumn Error
Hi,

First of all install the website on the live server since the problems you're struggling now may not occur on live server.
Also note, that problems may occur any time with any extensions since you didn't purchase a vase but the template/extension that contains code and its correct working depends on many factors, including server configuration.
The problem would be if you didn't get any help.

To make the menu work on your localhost, edit the following file modules\mod_djmenu\helper.php go to 406 line and replace:
$havechild = is_array($children[$row->id]);

with this code:
if(is_array($children)){
$havechild = isset($children[$row->id]);
}else{
$havechild = false;
}

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #1117 by Thanos
Thanos replied the topic: Re: dj Multicolumn Error
Thank you for the reply. I have having a similar issue now with with the sub-menus. When I hover over a main menu I get a similar screen with this error:

Notice: Undefined variable: li_count in C:\wamp\www\dts\modules\mod_djmenu\helper.php on line 458

In another menu I'm getting the same error on line 496.

Thanks

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago - 8 years 3 months ago #1128 by szymon.woronowski
szymon.woronowski replied the topic: Re: dj Multicolumn Error
Hello,

To avoid those notice messages you need to initiate li_count variable at the begining of mosRecurseListMenu function. To do so you have to modify modules\mod_djmenu\helper.php file by adding the code below in 358 line:
$li_count = 0;
Last Edit: 8 years 3 months ago by szymon.woronowski.

Please Log in or Create an account to join the conversation.

Time to create page: 0.177 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.