Fatal error: Class 'mod_virtuemart_product' not found

GK User
Mon May 04, 2015 10:58 am
Hello,

I try to use the VM module "Virtuemart Products" to show the recently viewed products on the product pages on position mainbody_bottom. I get this error:
Fatal error: Class 'mod_virtuemart_product' not found in /home/creatop/domains/creatoptest.nl/public_html/templates/gk_storefront/html/mod_virtuemart_product/default.php on line 99

I unpublished the module so i can't let you see the live site.Work must be gone on :)

Can you help me please?

grt

Adri

gk_storefront 3.16
Joomla 3.41
Virtuemart 3.0.8
User avatar
Junior Boarder

teitbite
Mon May 04, 2015 3:09 pm
Hi

First of all change template to default joomla one, change module position for this module to one used on this template and publish it. If this will be broken still it means problem is in VM itself, if not than it has to be something with template, so try to update template and let me know.
User avatar
Moderator

GK User
Mon May 04, 2015 3:23 pm
Hello Teitbite,

Thank u for your fast relpy!

I did what you ask. The module is working well in a standard Joomla template.
In the Gavick template it does not work.

grt

Adri
User avatar
Junior Boarder

teitbite
Sat May 09, 2015 1:43 pm
Hi

I that case please rename: /templates/gk_storefront/html/mod_virtuemart_product/default.php to /templates/gk_storefront/html/mod_virtuemart_product/_default.php and let me know if this worked.
User avatar
Moderator

GK User
Sat May 09, 2015 2:06 pm
Hi,

Yes that works but the lay-out is of course not GK style :)
User avatar
Junior Boarder

teitbite
Mon May 11, 2015 11:15 am
Hi

It was only for test. Try download latest version of template and override this folder with the one from new one. Hopefully it was fixes already. If this will not help send me an access to joomla panel and ftp.
User avatar
Moderator

GK User
Fri May 29, 2015 8:59 am
Hello teitbite,

Did you find a solution?

grt

Adri
User avatar
Junior Boarder

teitbite
Sun May 31, 2015 4:57 pm
Hi

Does You're last past mean that You've send me an access to joomla panel and ftp ? I do not have a message from You in my PM. Please try send it again.
User avatar
Moderator

teitbite
Wed Jun 03, 2015 6:00 pm
Hi

I have replaced public_html/templates/gk_storefront/html/mod_virtuemart_product/ with the clean template folder, but unfortunately I cannot check if it worked ;/ All I can see is "You are a spammer, hacker or an otherwise bad person." :) I think You have some kind of security on Your site, can You please disable it ?
User avatar
Moderator

GK User
Wed Jun 03, 2015 7:10 pm
Hi

I have disable the security.
Also check your changes but it gives the same error.

grt

Adri
User avatar
Junior Boarder

teitbite
Sat Jun 06, 2015 11:35 am
Hi

Sorry, but security is still there. I cannot do anything. Right after enabling module I got: "You are a spammer, hacker or an otherwise bad person."

Anyway I've tried again and have copied this part of the code from a default VM module. I hope it worked. Cannot check it.
User avatar
Moderator

GK User
Sat Jun 06, 2015 12:11 pm
Baloe98 wrote:Hi

I have disable the security.
Also check your changes but it gives the same error.

grt

Adri


Hello Titebite,

I have set your ip on the white list :)
The module is now showing in the sidebar whitout errors but with a very small lay-out: http://kreatop.nl/acrylverf.html

grt

Adri
User avatar
Junior Boarder

teitbite
Sat Jun 06, 2015 1:06 pm
Hi

I think it's configured to be displayed in 3 columns right now. Try change it to one column. If this will not work than let's just overwrite it with this code added to override.css file:

Code: Select all
#gkSidebar .width33 {
width: 100% !important;
}
User avatar
Moderator

GK User
Sat Jun 06, 2015 5:00 pm
Hi

It's working fine now!

NOTE: in the module the settings u must chose for DISPLAY STYLE -> DIV BASED (list based ul-li gives the error again)

thank for the support.

grt

Adri
User avatar
Junior Boarder

teitbite
Sun Jun 07, 2015 7:47 am
Hi

Ok. Thank You for letting me know. I'll remember about this display style next time :)
User avatar
Moderator


cron