Jump to content

[SOLVED] Can only add one record to a table


Recommended Posts

This is driving me nuts.

 

I basically use web assist's ecart with Protx's payment gateway.

 

It was all working fine with the customer registration / log in etc, but my client wanted that stripped out.

 

Having done that, realised I still needed the Orders table.

 

Have been playing around trying to populate a transaction ID field, and have noticed that for some reason I can only add one record to my orders table via the website - if I try to add any more, the don't get a record added.

 

I have no idea why this should be - either it should work or it shouldn't - what's causing it to add one record, but no more after that, even tho' the process is identical.

 

I haven't posted any of ecart's code yet - does anyone have any suggestions as to why only the first record gets added to the table, but all others after that do not?

Have noticed that in fact it's overwriting the first record each time.

 

Also posted on web assist's forum, who mentioned that it's only supposed to hold one order at a time.

 

Not sure what's going on, as it was before....

 

I'll see if I can find out more from the web assist (DW externsions) guys.

Have been having a rummage, and think it was to do with a session needing to be unset - otherwise it was overwriting.

 

Have at least confirmed it doesn't do this if the browser is closed and re-opened - so it looks like I just need to unset the session and it'll be fine.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.