Template Tag.php

Ecommerce design Joomla template to start your online business with VirtueMart and additional eshop features.
GK User
Sun Jan 08, 2012 8:10 am
I get this warning on the frontend every time a k2 tag is clicked. Any idea on how this can be resolved please...

Warning: Invalid argument supplied for foreach() in /nfs/c04/h02/mnt/185759/domains/domainname.com/html/templates/gk_yourshop/html/com_k2/templates/default/tag.php on line 94
User avatar
Fresh Boarder

GK User
Sun Jan 08, 2012 9:06 am
Can you please rename following folder so k2 can load its own template so we can see if problem is to do with custom template style or k2 component specific.
Folder: _______/templates/gk_yourshop/html/com_k2/
Rename to:____/templates/gk_yourshop/html/_com_k2/
User avatar
Platinum Boarder

GK User
Sun Jan 08, 2012 9:37 am
normanUK wrote:Can you please rename following folder so k2 can load its own template so we can see if problem is to do with custom template style or k2 component specific.
Folder: _______/templates/gk_yourshop/html/com_k2/
Rename to:____/templates/gk_yourshop/html/_com_k2/



I just renamed it, and it worked...
User avatar
Fresh Boarder

GK User
Sun Jan 08, 2012 9:55 am
Can you please check your installation and write down version numbers for following components and template.

K2
K2 Store
Yourshop Template
Joomla

As i have just installed/checked a quickstart package and everything is working fine. So perhaps one or more of your components or template needs updating.

See you around...
User avatar
Platinum Boarder

GK User
Sun Jan 08, 2012 10:27 am
normanUK wrote:Can you please check your installation and write down version numbers for following components and template.

K2
K2 Store
Yourshop Template
Joomla

As i have just installed/checked a quickstart package and everything is working fine. So perhaps one or more of your components or template needs updating.

See you around...



K2 is 2.5.4
K2 Store is 2.4.1
Yourshop Template is 1.0.8
Joomla is 1.5.25

Thanks again...
User avatar
Fresh Boarder

GK User
Sun Jan 08, 2012 12:56 pm
I have updated k2 to same version as yours and it is still working fine. So i believe some of your settings which you have chosen for layout and tag listing options might break how Gavick Styling has been created. So i would need an admin access to your site to compare and see where it breaks down.

If you have a live site send me an access details via private message and i ll take a look.
If this is in your local installation please in a separate folder install a quickstart package and compare tag layout options.

See you around...
User avatar
Platinum Boarder

GK User
Tue Feb 21, 2012 4:17 pm
normanUK wrote:I have updated k2 to same version as yours and it is still working fine. So i believe some of your settings which you have chosen for layout and tag listing options might break how Gavick Styling has been created. So i would need an admin access to your site to compare and see where it breaks down.

If you have a live site send me an access details via private message and i ll take a look.
If this is in your local installation please in a separate folder install a quickstart package and compare tag layout options.

See you around...


I had the same problem. I fixed it by downloading K2s most recent tag.php and doing a stare and compare with the one Gavick had on file. They did not match, so I replaced that block of php right around line 94. This mostly fixed it.

Oh, and mine was with Sporter (I figured it was because of the templates age).

So make a note, K2 changed their files around.
User avatar
Expert Boarder

GK User
Thu Nov 01, 2012 7:12 pm
Can you share the changes? I have the same issue.


thank you.
User avatar
Junior Boarder


cron