close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Troubleshooting

Thread began 10/25/2010 1:25 pm by biz295654 | Last modified 10/26/2010 12:29 pm by Jason Byrnes | 1988 views | 28 replies |

biz295654

Troubleshooting

A few weeks ago, I successfully created a small ecart. Today, I just can't get it to work. I compared the code on the two sites and something is jumping out at me as perhaps the problem.

Both cards have identical entries for these two lines:

$WA_PP_ECO_Set_params[0][$nextIndex] = "Password";
$WA_PP_ECO_Set_params[1][$nextIndex] = "BJU...etc";


$WA_PP_ECO_Set_params[0][$nextIndex] = "Signature";
$WA_PP_ECO_Set_params[1][$nextIndex] = "AFc...etc";

where etc is replacing the actual password and signature.

I am guessing that the previous cart has cached something from the first paypal account. If that guess is correct, how can I find where this is happening so I can make a change?

Thanks much

Sign in to reply to this post

biz295654

Further information... all is ok until I click on check out... then a blank page with no source code.

Sign in to reply to this post

Jason ByrnesWebAssist

when a php page displays blank, it means a php error has occurred, but error reporting is turned off.


we need to know the error to be able to troubleshoot.

add the following at line 1to turn error reporting on:

php:
<?php

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

biz295654

Thanks... I started over, step by step to troubleshoot. But now not even getting to the checkout portion.

First page, testing to be sure products are showing up in record set. These test pages are stripped down to just essentials to keep conflicts to a min.

startB.php
All good.

Saved this page to startC.php. Inserted "add to cart button" and also the error reporting php.
startC.php

Fatal error: Call to a member function GetContent() on a non-object in /var/www/html/startC.php on line 11

Your help is most appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

this usually happens you you name the Cart object the same as a recordset or connection.


make sure to use unique names when naming application objects such as the cart, connection or recordset.

Sign in to reply to this post

biz295654

OK... I'll see what happens. Thanks for the patience.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

biz295654

Started again

startA.php

all ok

add to cart

all ok

cart.php
update cart
all ok

checkout

checkout.php
not working

Notice: Undefined variable: eCart1 in /var/www/html/checkout.php on line 55

Fatal error: Call to a member function IsEmpty() on a non-object in /var/www/html/checkout.php on line 55

I also don't understand the relationship with security assist and the check out wizard. Maybe my understanding is failing here. I don't see security assist on the site where I got this to work: cart.php

Very confused.

Sign in to reply to this post

Jason ByrnesWebAssist

there is no relationship between security assist and the checkout wizard.


you can add security assist ti the checkout paes after running the checkout wizard.

see the "Applying Register/Login to your checkout" tutorial on the eCart support page:
ecart/


for the error, please send a copy of the checkout page.

Sign in to reply to this post

biz295654

thanks for clarification... attached is the check out page

trying to upload

it's not uploading...

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