Welcome, Guest
Username Password: Remember me

Urgent - Virtuemart shop is down - Fatal error: Cannot redeclare class JModuleHelper
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Urgent - Virtuemart shop is down - Fatal error: Cannot redeclare class JModuleHelper

Urgent - Virtuemart shop is down - Fatal error: Cannot redeclare class JModuleHelper 7 months, 1 week ago #6378

  • ido_p
  • OFFLINE
  • Posts: 3
Hi,
I have purchased FUA Pro Order no. 3038 and installed and activated it, and now on the last step of the checkout I get the following error message:
Fatal error: Cannot redeclare class JModuleHelper in /home/retellre/public_html/libraries/joomla/application/module/helper.php on line 30

Joomla: 1.5.24, VM 1.6 and joomfish

Please advice as soon as possible as my shop is down and people can not buy.
Thank you,
Ido

Re: Urgent - Virtuemart shop is down - Fatal error: Cannot redeclare class JModuleHelper 7 months, 1 week ago #6379

  • carsten888
  • OFFLINE
  • Posts: 3275
To get your shop online, disable FUA in the FUA config.

Go to the plugin manager, filter on 'system' and check if the FUA system plugin is loaded first. Take note of the numbers of the order, they need to be numbers not just first in order with order '0'.

Please also read this:
www.pages-and-items.com/extensions/front...aqs?faqitem=config13

You are probably using an extension which tries to override the module helper in order to restrict the loading of modules. If so, disable that or alter it as described in the above link.

Re: Urgent - Virtuemart shop is down - Fatal error: Cannot redeclare class JModuleHelper 7 months, 1 week ago #6380

  • ido_p
  • OFFLINE
  • Posts: 3
Hi Carsten,

FUA System Plugin is loaded first.
I've changed it to -100000 and it also appears first in the list.
It is followed by:
System - ARTIO JoomSEF
System - Jfdatabase
System - Metatemplate
System - Sub-template Loader
and so on all with higher order number.

Still getting the same error.
Please advice.
Thank you,
Ido

Re: Urgent - Virtuemart shop is down - Fatal error: Cannot redeclare class JModuleHelper 7 months, 1 week ago #6381

  • carsten888
  • OFFLINE
  • Posts: 3275
I can not reproduce that here.

Please check for extensions which try to load the module helper class. Think about which extensions would try and show/hide modules. Another clue can be to check what is so special about that one step in the VM checkout process. Maybe you got some specific modules assigned to only that page. That would give some indication about what could be wrong.

Re: Urgent - Virtuemart shop is down - Fatal error: Cannot redeclare class JModuleHelper 7 months, 1 week ago #6382

  • ido_p
  • OFFLINE
  • Posts: 3
SOLVED

hi Carsten,

I did take you on your advice to check what is special about the last step of the checkout.
The solution:
Open: components/com_virtuemart/themes/default/templates/checkout/get_final_confirmation.tpl.php
and change on about line 95:
Comment out:
//require_once(JPATH_ROOT.DS.'libraries'.DS.'joomla'.DS.'application'.DS.'module'.DS.'helper.php');
i.e. add two backslashes before the code to comment it out
and add right after it
jimport('joomla.application.module.helper');

(I've detailed the solution for other users who might encounter the same problem.
Thank you and have a lovely weekend.
Ido

Re: Urgent - Virtuemart shop is down - Fatal error: Cannot redeclare class JModuleHelper 7 months ago #6385

  • carsten888
  • OFFLINE
  • Posts: 3275
Thank you very much for debugging that. Would you like to post that on the VM forum? If you don't I will.

Have a nice weekend.
  • Page:
  • 1
Time to create page: 0.99 seconds
 
Follow Us On Twitter