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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Checkout page does not work

Thread began 8/05/2013 9:20 am by rolf358571 | Last modified 8/06/2013 11:58 am by Ray Borduin | 242 views | 5 replies |

rolf358571

Checkout page does not work

The error is
Notice: Undefined variable: eCart1 in /srv/121.50.207.254/checkout.php on line 6 Fatal error: Call to a member function IsEmpty() on a non-object in /srv/121.50.207.254/checkout.php on line 6

The address to place an order and try the cart is http://121.50.207.254/Covers/Classic.php

Best regards
Rolf

Sign in to reply to this post

Ray BorduinWebAssist

This usually happens when the cart include files are placed too low on the page, or if you name a recordset or other variable with the same name as the cart object. If you attach a copy of the page then I can take a look and be more precise.

Sign in to reply to this post

rolf358571

Checkout page does not work

Hi Ray. Thank you for your help.
Not sure if you needed the shopping cart page or checkout page so have attached both.

Sign in to reply to this post

Ray BorduinWebAssist

The issue is on the checkout page... move lines 11-16 (not all of line 16, just up to and including ?>)

and paste it on line 1. That should fix your problems.

The wizard is not re-entrant, so if you want to make changes you either have to delete your pages and start over, or make the changes on the pages directly with dreamweaver outside of the wizard. What change are you trying to make?

Sign in to reply to this post

rolf358571

That fixed the problem. Very appreciated.
Hard to find problems like that when you are not an expert. It was created by the wizard and no changes by me.

When you do the wizard the fist time, there is always things that need changes after you have seen the result. Have a look at the attached checkout page and you will see that it looks silly. I have attached a template to the page after it was created as the wizard grey'd out the option of template.
For example, the lower part needs to flow at the same margin as above section. As everything is done in css and I am not very good at that part, makes it very hard to change things without stuffing up something else.
Also attached confirm page before template addition.
Bye the way, how do I do one drop down box dependent on another. For example, state and country where I want the states of Australia show up when I select Australia. I need this feature in other dropdown boxes too.

While I am asking a lot, where and how do I change the size of dropdown boxes. They are too large when using a small font next to them.
Sorry to be a pain.
Best regards
Rolf

Attached Files
checkout.php
confirm.php
Sign in to reply to this post

Ray BorduinWebAssist

You should check out our tutorial on using Firebug. If you aren't good at CSS it can be a real life saver: [link]http://www.webassist.com/tutorials/Using-Firebug[/link]

There is an extension that comes with Data Bridge specifically designed to help with dependent dropdown lists. The feature is called "Dynamic Dropdowns", so you should find that in the help documentation and it should tell you the steps you would need to follow to make that update.

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