close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

confirm not proceeding to success page.

Thread began 1/06/2010 3:47 pm by toleehua356796 | Last modified 1/07/2010 11:39 am by Office Guy-172461 | 749 views | 3 replies |

toleehua356796

confirm not proceeding to success page.

please help ?

1. I used the power store2. the confirm will be proceeding to success page The receipt Email is not sent when the customer checks out.
but can go to success pages.
2. When i used the PowerStore2_01.zip update fix this. When on the confirm.php page. click the submit order button not proceeding to success page, Still on confirm.php page.
But receipt Email is sent to the buyer.
3. On mine site dont need any Payment Gateway. so i set the WA_Globals.php page like this:
$WAGLOBAL_Test_Mode = true;

so. can help ? how to fix this ?

Thanks anyone?

Sign in to reply to this post

Jason ByrnesWebAssist

perhaps the host has turned off the $_SERVER["HTTP_REFERER"] variable, find the following code on the confirm.php page

php:
<?php

}
//end paypal gateway
else if (($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST))  {
  
$WA_Store_Cart->redirStr "checkout_success.php";
}
?>




and change it to:

php:
<?php

}
//end paypal gateway
else if (isset($_POST["Submit_order"]))  {
  
$WA_Store_Cart->redirStr "checkout_success.php";
}
?>




if that does not work, add the following at line 1 to see if a php error is occurring:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
Sign in to reply to this post

toleehua356796

Thanks! still not working. please help again!

the page show like this:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /homepages/19/d292133172/htdocs/confirm.php:5) in /homepages/19/d292133172/htdocs/WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /homepages/19/d292133172/htdocs/confirm.php:5) in /homepages/19/d292133172/htdocs/confirm.php on line 1135

Thanks your help!

home page line3:
<?php <-----------line3
//WA eCart Include
require_once("WA_eCart/WA_Store_Cart_PHP.php");
?>

confirm.php line 1135:
<?php
// WA eCart Redirect
if ($WA_Store_Cart->redirStr != "checkout_success.php") {
header("Location: ".$WA_Store_Cart->redirStr); <<<<<<---------line 1135.
}
?>

Please help again! Thanks!

Sign in to reply to this post

Office Guy-172461

Have a look here:

Solving the "headers already sent" problem
148/

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