close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

checkout

Thread began 1/12/2011 4:03 pm by kleinermitzen420599 | Last modified 1/14/2011 1:46 pm by Jason Byrnes | 1778 views | 5 replies |

kleinermitzen420599

checkout

I am trying to checkout what i have in my cart but the checkout button keeps linking me to the same page I'm on. How do I check out the items i have put in my cart?

Sign in to reply to this post

Jason ByrnesWebAssist

Did you use the checkout wizard to create the checkout pages?

Are you seeing this problem on the cart page? or on the checkout page?

Sign in to reply to this post

kleinermitzen420599

I have used the checkout wizard to create the pages, but the checkout button is not linking me to the checkout page and the View Cart button is not linking me to anything either. they keep redirecting me to the page i am currently on. The clear button works though.

Sign in to reply to this post

Jason ByrnesWebAssist

Sounds like a php error on the page.

Add the following code to line 1 of the page:

php:
<?php

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



be careful not to copy any surrounding spaces or create blank lines between code block when pasting the code or you will create other errors.

Post back with any errors that show on the page and a copy of your page in a zip archive so i can examine the code.

Sign in to reply to this post

kleinermitzen420599

errors

I added the code to line one of the page i am having trouble with, uploaded that with all the errors in a .txt document. Thank you!

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

Jason ByrnesWebAssist

change line 1 -10:

php:
<?php 

error_reporting
(E_ALL); 
ini_set('display_errors'); 
?>
<?php
//WA eCart Include
require_once("WA_eCart/OnlineStore_PHP.php");
?>

<?php




to:

php:
<?php 

error_reporting
(E_ALL); 
ini_set('display_errors','on'); 
?>
<?php
//WA eCart Include
require_once("WA_eCart/OnlineStore_PHP.php");
?>
<?php




also you're if statements are causing errors,
for example:

php:
$page=page12;

if($page==page7)
{



is not valid code, it should be:

php:
$page="page12";

if($page=="page7")
{



values and string comparisons must enclosed in quotes, you have a number of if statement like this that are causing errors.

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