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
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
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
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
once we know what the error is, we will be able to troubleshoot the cause.
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
the require_once line to connect to the database is missing.
add the following at line 5:
<?php require_once('Connections/database_connBLUR.php'); ?>
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
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.
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
move the code at line 11 - 16:
<?php
//WA eCart Include
require_once("WA_eCart/eCart1_PHP.php");
?><?php
$eCart1->GetContent();
?>
to line 1.
PERFECT!! Thanks Jason!! Have a great weekend!!
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.