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

eCart - continue shopping, update cart, checkout etc. not working

Thread began 7/24/2012 6:50 pm by rgolab68503 | Last modified 7/26/2012 7:11 pm by rgolab68503 | 1508 views | 6 replies |

rgolab68503

eCart - continue shopping, update cart, checkout etc. not working

Hey there,

I have built a second information cart onto my site simply to show off a few items so our customers will be able to request more information on. (That's teh next step) However since installing Data Bridge I have found it a little different and it's not working as smoothly as it was before.

I have the cart working so that it populates the cart (add to cart buttons) and I can clear the cart or update quantities ... however ...

... if i click on any of the buttons it simply returns to cart.php? as a blank page. If I hit refresh then the changes appear like updated quantity or remove an item. I cannot however get to the checkout pages or to "continue shopping". It all stays on the cart.php page ignoring the redirect.

Any ideas? I have attached my cart.php page for review.

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

Jason ByrnesWebAssist

could be a php error causing the redirect to fail.

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

php:
<?php

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



once we know what the error is, we will be able to troubleshoot the cause.

Sign in to reply to this post

rgolab68503

Sorry about that. I was going check that and get the info to you but had to rush out. Looks like i am having a few issues here.


Notice: Undefined variable: t0y0t1r3s in /var/www/html/toyo_support_site/support/Display/cart.php on line 393

Notice: Undefined variable: database_t0y0t1r3s in /var/www/html/toyo_support_site/support/Display/cart.php on line 401

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /var/www/html/toyo_support_site/support/Display/cart.php on line 401

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /var/www/html/toyo_support_site/support/Display/cart.php on line 433

Sign in to reply to this post

Jason ByrnesWebAssist

your page is missing the t0y0t1r3s connection

change:

php:
<?php require_once('../../Connections/toyosupport.php'); ?>



to:

php:
<?php require_once('../../Connections/toyosupport.php'); ?>

<?php 
require_once('../../Connections/t0y0t1r3s.php'); ?>
Sign in to reply to this post

rgolab68503

OK Totally frustrated now. I tried the changes above and it didn't do what it should have. I was getting basically the same results where it did actually update the pages but on every button it ended up on the Checkout pages. i then questioned the code that is in the cart.php as it doesn't match at all the code in the previous cart I built with Dynamic suite and ecart. The add to db and session variables all seemed to be placed in the cart.php page. See cart_rev.zip then cart_bak.php which is how ecart built the page. I moved around the code to reflect how it was built before. the results are in cart_rev.zip then cart.php. This is how I got it to get me to the checkout page but it would not go to the confirm page.

I then took it one step further and renamed cart.php to Dcart.php and started again. See Dcart_2ndtry.zip.

This is where I am now. The code except for the order which Dreamweaver seems to move around is how it was built. Now if I try to update, or continue shopping or press any of the buttons it takes me to the checkout_success.php page. If i try to edit the buttons I then get the error as provided in the file attached called Erro_Java_july25_2012.jpg. I did try clearing out the .dat file without any luck there.

Any ideas?

Attached Files
Dcart_2ndtry.zip
cart_rev.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

rgolab68503

Thanks. I am back in the office Monday. Hopefully you will have some time to look at it then.

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