[en] Basket empty after sendinf order form

jaygridley

Avatar: jaygridley

2010-08-05 14:08

Hi there,

I am having problem with sending order form. I have added some fileds into order form and I am storing data in DB (orders.php), but I have issue...when I fill all fields in order form and send it, Basket Empty page appears and order is not sent. But if I left some fileds blank, order is sent succefully.

Any ideas what can be wrong?

» Quick.Cart v3.x

Jay

beholder

Avatar: beholder

2010-08-06 01:37

it is very difficult to say. Best thing would be if you gave access to FTP and we could actually print out the variables to see what is wrong.

jaygridley

Avatar: jaygridley

2010-08-10 14:40

I found out following:

When I fill entire order form, $_SESSION['iCustomer' . LANGUAGE] value changes. When some fileds are not filled, this value stays same. What can change it? Cannot figure out...

Jay

jaygridley

Avatar: jaygridley

2010-08-10 15:00

OK, session gets killed after sending form, but why? I am using PHP code in templates, should i regenerate ID of session there?

Jay

beholder

Avatar: beholder

2010-08-10 15:31

no idea man. I'd have to look at your sources.

jaygridley

Avatar: jaygridley

2010-08-10 16:16

Which sources and where to send them?

Jay

boboo

Avatar: boboo

2010-08-10 16:21

A lot of functions have at the end of their "block" commands setting variables ($_session as well) to "null".
There were times, where I signed my posts here: "QC is better than sudoku" ;-)
And in the "coding" the sequence of commands is very important.
I can suppose, that Your problem is somethere with the sequence.
Any function "is nulling [zeroing]" the variables before the next variable catch'em to add them to the order.
If you want, send me the changed files.
kontakt@kimla.de

http://skupienie.kimla.de/

jaygridley

Avatar: jaygridley

2010-08-10 23:04

Problem solved. It was something with using radio buttons in order form. With checkboxes instaed all goes nicely.

Thanks to all, who reacted

You can CLOSE this.

Jay

Back to top
about us | contact