[SOLVED] mod_gk_vm_header : big problem !

Multi-purpose Joomla template including ecommerce features and beautiful design
GK User
Thu Jul 10, 2008 4:33 pm
Env: Joomla 1.5.4 + Virtuemart 1.1.1

Strange, i start from your quick install pack.
i remove and create a new set for GK photoSlide
As some peoples, the components stops to work well :
Module mod_gk_vm_header : images are now fix. the module doesn't alternate anything.
i can't access to the readmore button...

So, i enable Joomla debug to full. :P

i see on the home page a lot of :
Notice: Undefined offset: xx ../public_html/modules/mod_gk_vm_header/helper.php on line 101
Notice: Undefined offset: xx ../public_html/modules/mod_gk_vm_header/helper.php on line 100


Notice: Undefined offset: xx in /public_html/modules/mod_gk_vm_lastprod/tmpl/product.php on line 47

i search more messages. For exemaple, i ask virtuemart to display my catalog :

Notice: Undefined index: category_id in /public_html/modules/mod_gk_vm_category_menu/tmpl/main.php on line 19

it seems there is a pb for your modules to determine category_id

Ok, let's go to ../public_html/modules/mod_gk_vm_header/helper.php
and check line 100 & 101
if i remove these two lines (i know that's not the solution):
for($a = 0; $a < $this->wc1; $a++) if($desc[$a]) $desc_ss .= $desc[$a].' ';
for($b = 0; $b < $this->wc2; $b++) if($desc[$b]) $desc_ll .= $desc[$b].' ';

gk_vm_header works well now but of course doesn't display anything (no price, no add cart, no comment) except the picture ..

i try to reinstall -> same results ->same problem

So i suppose there is a bug or a problem somewhere ....

Could you help me ?


Last edited by GK User on Tue Jul 15, 2008 10:15 am, edited 1 time in total.
User avatar
Fresh Boarder

Fri Jul 11, 2008 6:39 pm
Disable notices in php.ini file - also for installation Joomla 1.5.3 it's recommended.

See this post:
User avatar

GK User
Fri Jul 11, 2008 9:54 pm
notices were disable at the beginning.
i enable notices to try to know why the module doesn't work....
i'm using Joomla 1.5.3 and Joomla 1.5.4 and i get the same problem : it seems that i'm not alone in the same case.....
User avatar
Fresh Boarder

Sat Jul 12, 2008 12:24 am
Try change lines 100-101 for:
Code: Select all
for($a = 0; $a < $this->wc1; $a++) if($a < count($desc)) $desc_ss .= $desc[$a].' ';
for($b = 0; $b < $this->wc2; $b++) if($b < count($desc)) $desc_ll .= $desc[$b].' ';

After changes in file helper.php all should be ok ;)
User avatar

GK User
Sat Jul 12, 2008 5:21 pm
Thanks for your help.
but sorry, that doesn't work.
IE 7 notices me this :
Line 15
character 3
error : 'JSON' has value NULL or is not an object
Code: 0
User avatar
Fresh Boarder

Mon Jul 14, 2008 7:51 am
Can you give me link to your site ?
User avatar

GK User
Mon Jul 14, 2008 10:10 am
i'm going to activate Joomla debug mode...
also, genuine helper...
you will see images stops to flip and images come freeze and no comment !
tell me when you have watch it : i have to disable debug mode after

User avatar
Fresh Boarder

Mon Jul 14, 2008 10:30 am
Try replace your modules with this files: http://gavick.com/dev/eshoptrix1/modules.zip of course create backup of original files... You have problem also with product description - try remove all special chars and quotes
User avatar

GK User
Tue Jul 15, 2008 10:13 am
congratulations Dziudek !!! that works now. thanks a lot for your time

User avatar
Fresh Boarder

GK User
Sat Mar 07, 2009 3:27 pm
please tell us how to disable notices in php.ini
User avatar
Fresh Boarder

GK User
Sat Mar 07, 2009 5:02 pm

The php.ini file is the default settings file for new PHP installations.
There you can disable run time notices from bugs in code, that are in some cases intentional.
If you don't have access to this file on your website, please contact your Host Provider.

User avatar
Platinum Boarder

Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.