close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

eCart add to cart button not going to mycart.php page

Thread begun 9/03/2013 7:33 am by jwk | Last modified 9/04/2013 12:34 am by jwk | 11103 views | 12 replies |

jwk

eCart add to cart button not going to mycart.php page

eCart add to cart button not going to mycart.php page, see attached zip

Sign in to reply to this post

Jason ByrnesWebAssist

near the top of the page, you have a comment outside of the php tags

and you have blank lines between the php tags.

These will cause the header function to return the Headers Already sent error message and will cause the redirect to fail.

there cannot be html output and blank lines between php code blocks.

Sign in to reply to this post

jwk

I removed html comment and removed line space between php tags Now I get the following message

Notice: Undefined variable: ATC_itemQuantity in D:\Hosting\2333785\html\qawv\Search_v2.php on line 132

Attached Files
Search_v2-1.zip
Sign in to reply to this post

Jason ByrnesWebAssist

send the latest copy of your page.

Sign in to reply to this post

jwk

just sent -- I ment to say I attached it to the previous post

Sign in to reply to this post

Jason ByrnesWebAssist

the code in this page does not match with the error message.

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

jwk

see private msg

Thinking about somthing - a week or so ago I created a web page and used a static item for customers to pay -- would that effect rest of site?

Sign in to reply to this post

Jason ByrnesWebAssist

I dont any error when i try that page, but it also doesn't redirect. the page is missing the following code just before the doctype tag:

php:
<?php

// WA eCart Redirect
if ($eCart2->redirStr != "")     {
  
header("Location: ".$eCart2->redirStr);
}
?>
Sign in to reply to this post

jwk

what line to place it on? Line 142 --- Added it ---- Still Nothing -----

Sign in to reply to this post

Jason ByrnesWebAssist

just before the doctype tag

Sign in to reply to this post
loading

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