News:

Support the VirtueMart project and become a member

Main Menu

Edit Payment method not working

Started by hkymre, July 06, 2012, 12:40:40 PM

Previous topic - Next topic

hkymre

J1.5.26 VM 2.0.6 - migrated from VM1

If I try & edit the payment method at the check out the following error appears:-

[06-Jul-2012 11:36:05] PHP Warning:  Wrong parameter count for preg_replace() in /home/sitename/public_html/administrator/components/com_virtuemart/helpers/vmfilter.php on line 778

I'm then thrown back to the home page so can't complete the order.

*update*
Realised I had acesef enabled, so disabled it

Got the following error

500 - View not found [name, type, prefix]: cart,html,contentView

Disabled SEO completely and this link works - index.php?view=cart&task=editpayment&option=com_virtuemart




hkymre

looks like it was acesef causing this issue.

cleared cache and edit payment method working fine now (with acesef disabled)

jack19

#2
Quote from: hkymre on July 06, 2012, 18:18:37 PM
looks like it was acesef causing this issue.

cleared cache and edit payment method working fine now (with acesef disabled)
Hi,
Same problem with AceSEF.
My workaround:
edit default_pricelist.php around line 344 replace
echo JHTML::_ ('link', JRoute::_ ('index.php?view=cart&task=editpayment', $this->useXHTML, $this->useSSL), $this->select_payment_text, 'class=""');
with this
echo JHTML::_ ('link', JRoute::_ ('index.php?option=com_virtuemart&view=cart&task=editpayment', $this->useXHTML, $this->useSSL), $this->select_payment_text, 'class=""');
In AceSEF Extensions: disable only extension com_virtuemart or use AceSEF basic router.
:D
Best regards

Joomla! 2.5.9
Virtuemart 2.0.18a