close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Confirm page reloads to blank page

Thread began 5/30/2013 5:42 pm by eric284736 | Last modified 5/31/2013 9:02 am by eric284736 | 1703 views | 8 replies |

eric284736

Confirm page reloads to blank page

Hi,

I have an issue with the confirm page not processing correctly. It reloads after the checkout button is pressed but it stays on the confirm.php page and it is blank. Not sure what I am missing.

thx
Eric

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

Jason ByrnesWebAssist

a blank page means that a php error is occurring but error reporting is turned off.

to turn error reporting on, add the following code at line 1:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>



once we know what the error is, we will be able to troubleshoot the cause.

Sign in to reply to this post

eric284736

Thanks Jason!

Here is the error:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/aerialda/public_html/confirm.php:7) in /home/aerialda/public_html/WA_eCart/WA_eCart_Definition_PHP.php on line 465

Notice: Undefined variable: connBLUR in /home/aerialda/public_html/confirm.php on line 533

Notice: Undefined variable: database_connBLUR in /home/aerialda/public_html/confirm.php on line 546

Warning: mysql_select_db() expects parameter 2 to be resource, null given in /home/aerialda/public_html/confirm.php on line 548

Warning: mysql_query() expects parameter 2 to be resource, null given in /home/aerialda/public_html/confirm.php on line 582

Sign in to reply to this post

Jason ByrnesWebAssist

the require_once line to connect to the database is missing.

add the following at line 5:

<?php require_once('Connections/database_connBLUR.php'); ?>

Sign in to reply to this post

eric284736

Okay, that has been added and now I just get this statement on a white page:

Unknown column 'SC' in 'field list'

I can't find the field list that it is referring to, but the SC is the state.

thx
Eric

Sign in to reply to this post

Jason ByrnesWebAssist

in your orders table the state column is set as a numeric column. the state list that the checkout wizard creates uses text.

you will need to edit the column type in the database, then edit the store order summary behavior and change the data type for the state column to text.

Sign in to reply to this post

eric284736

Thanks!! That fixed that issue, but now on the Checkout success I am getting this error:


Notice: Undefined variable: eCart1 in /home/aerialda/public_html/checkout_success.php on line 6

Fatal error: Call to a member function IsEmpty() on a non-object in /home/aerialda/public_html/checkout_success.php on line 6

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

Jason ByrnesWebAssist

move the code at line 11 - 16:

php:
<?php

//WA eCart Include
require_once("WA_eCart/eCart1_PHP.php");
?><?php
$eCart1
->GetContent();
?>




to line 1.

Sign in to reply to this post

eric284736

PERFECT!! Thanks Jason!! Have a great weekend!!

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...