close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Intermittent database error

Thread began 1/25/2012 11:04 am by dale430592 | Last modified 1/27/2012 2:41 pm by Jason Byrnes | 834 views | 5 replies |

dale430592

Intermittent database error

After entering their name and shipping information (most fields are required), the data is posted to mysql. about 33% of the time it will post blank fields to the order table even those marked not null.

I have tried pconnect and connect with no change.

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

please send a copy of the page that does the insert

Sign in to reply to this post

dale430592

How to send page?

Originally Said By: Jason Byrnes
  please send a copy of the page that does the insert  



how do I submit the page?

the link is checkout.php

Sign in to reply to this post

Jason ByrnesWebAssist

compress the php file into a zip archive and attach the zip file to your reply.

Sign in to reply to this post

dale430592

php file

thanks here is the file

Attached Files
confirm.zip
Sign in to reply to this post

Jason ByrnesWebAssist

when the checkout page posts the info to the confirm page, the info is stored in session variables, then the session variables are used in the store order summary behavior.


the only way I can see it inserting blank data is if the session is not being set properly.


try adding the following code at line 1:

php:
<?php @session_start(); ?>




is this a problem that you can reproduce? to be able to troubleshoot what is wrong, we will need to know what steps are happening to cause the problem. intermittent issues that cannot be faithfully reproduced are about impossible to fix

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...