Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: Error on Save of Shipping or Payment

Error on Save of Shipping or Payment 10 years 4 months ago #7028

Hey all,
I have an issue on a current site that I am working on.
Once you are through to the cart page after making your selection and you go to save after selecting either shipping or payment, it returns a white page with very basic details on it. I have used this template on other sites and all seems to work fine.

Below is the error message from the log

[Mon Oct 28 15:50:54 2013] [warn] [client 203.208.66.135] mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web144/web/templates/rj_framing2/html/com_virtuemart/cart/default_pricelist.php on line 126, referer: rjframing.virtualbean.com.au/index.php/shop-1/cart
[Mon Oct 28 15:50:54 2013] [warn] [client 203.208.66.135] mod_fcgid: stderr: PHP Fatal error: Call to a member function createPriceDiv() on a non-object in /var/www/clients/client2/web144/web/templates/rj_framing2/html/com_virtuemart/cart/default_pricelist.php on line 286, referer: rjframing.virtualbean.com.au/index.php/shop-1/cart

Details of the site
URL: rjframing.virtualbean.com.au
Joomla: 2.5.14
Virtuemart: 2.0.24
Flex Template: V3.8

I would appreciate anyone help as the site is due to go live tommorrow.
Thanks
Wayne
The administrator has disabled public write access.

Error on Save of Shipping or Payment 10 years 4 months ago #7041

Hi,

This sounds like a serious problem. It might be a compatibility issue or something else. I don't know what to say without investigating it.

Please create me a joomla (super) administrator account, send it to This email address is being protected from spambots. You need JavaScript enabled to view it. and let me take a look at it. I will try to resolve the problem. If i change anything, i will provide you the detailed information about my touches.

While emailing to This email address is being protected from spambots. You need JavaScript enabled to view it.
Don't forget to include this forum topic's URL at the of your message to avoid the confusion in our end.


Regards.
Support & Development
The administrator has disabled public write access.

Error on Save of Shipping or Payment 10 years 4 months ago #7044

Hi Support,
We have fixed the problem with a small code change. We are not sure if this is a correct fix and would like your reply.

When we looked deeper we found that after you hit save, the URL was not referring back to the cart template (thus not loading the page)

We added this to the following 2 page
html/com_virtuemart/cart/select_payment.php
html/com_virtuemart/cart/select_shipment.php

Line 26
<form method="post" id="paymentForm" target="_parent" name="choosePaymentRate" action="<?php echo JRoute::_('index.php'); ?>/cart/" class="form-validate">

We added the "/cart/"
We are aware that this get overridden with any new updates, so look forward to you letting us know of any other solution.

BTW: New website looks great!!

Regards
Wayne
The administrator has disabled public write access.

Error on Save of Shipping or Payment 10 years 4 months ago #7057

Hi,

Normally this "return" url will be taken care by the hidden inputs:
such as;
<input type="hidden" name="option" value="com_virtuemart" />
    <input type="hidden" name="view" value="cart" />
    <input type="hidden" name="task" value="setpayment" />
    <input type="hidden" name="controller" value="cart" />

So the once the form is submitted, it goes back to shopping cart page.

But forcing the <form> element to return back to "cart" page by including the CART url in the action="" attribute, is just an another way of doing it. It won't hurt. So you did it correctly.

Alternatively, you can do it something like;

<?php echo JRoute::_('index.php/cart/'); ?>

or

<?php echo JRoute::_('index.php?option=com_virtuemart&view=cart'); ?>

They are all the same.
Regards.
Support.
The administrator has disabled public write access.

Error on Save of Shipping or Payment 10 years 4 months ago #7058

By the way, i am glad you liked our new website.
Everything is brand new right now, and it is going to be even better. Most of the pages have been published with the old layout to shorten the maintanence down. But those pages will be re-designed soon. Hopefully, within a week, everything will be ready to go.

Regards.
Support & Development
The administrator has disabled public write access.

Error on Save of Shipping or Payment 10 years 1 month ago #8765

I just registerd in this forum just to say THANK YOU for your postings and help about this problem, which took me TOO MUCH time last days!
Good luck to both of you!
The administrator has disabled public write access.

Error on Save of Shipping or Payment 10 years 1 month ago #8785

Hi,

Lupo thanks for your thoughts.
But just a reminder: this is not a discussion forum (unlike forum.virtuemart.net)

In here, we are providing support/guidance to our customers (who have purchased template or extensions from us). But of course, you can get benefit from existing forum topics since everything is open to public. Indeed some of questions&solutions are related to Virtuemart Component itself (like this topic, for example), .

But who knows, maybe someday you will be one of our customers as well, which would be called "Karma" ;)

Regards,
Support
Last Edit: 10 years 1 month ago by Support.
The administrator has disabled public write access.
Time to create page: 0.105 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo