VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: curtisvision on September 07, 2012, 20:14:04 PM

Title: Cannot redeclare class shopFunctionsF
Post by: curtisvision on September 07, 2012, 20:14:04 PM
I am running joomla 2.5.7
upgraded vm 2.0.0 to  2.0.2 

had the problems mentioned in this post
http://forum.virtuemart.net/index.php?topic=98556.msg325135#msg325135

followed the instructions and received this problem
Fatal error: Cannot redeclare class shopFunctionsF in /home/surfside/public_html/templates/hot_fashionstore/html/com_virtuemart/productdetails/default.php on line 25

upgraded from 2.0.2 to 2.0.10 and still have the same problem.

help???

this is the php file...



[attachment cleanup by admin]
Title: Re: Cannot redeclare class shopFunctionsF
Post by: alatak on September 07, 2012, 21:16:19 PM
Hello,

it is a problem with your template hot_fashionstore.

You should follow the instruction to update your template, or ask the developer of your template if he can fix it.
Title: Re: Cannot redeclare class shopFunctionsF
Post by: curtisvision on September 07, 2012, 22:23:09 PM
thank you!

this stuff get's frustrating because you don't know to look for a problem until afterwards.  there is no way to circumvent some of these problems even if you are the most attentive person.  there is a whole process i need to go through with my template but did not know that until after your wonderful help!

hopefully it will work!

have a great day!
Title: Re: Cannot redeclare class shopFunctionsF
Post by: jenkinhill on September 07, 2012, 23:32:10 PM
The issue is in the template overrides included in that template. They are in joomla_root/templates/hot_fashionstore/html/com_virtuemart/productdetails/ (in this case). A quick test for issues with overrides is to rename the joomla_root/templates/hot_fashionstore/html/com_virtuemart/  directory so only the standard VM layout files will be used.