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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Shopping Cart Always Empty

Thread began 10/17/2009 12:57 pm by trevelyen260802 | Last modified 4/14/2013 6:50 pm by admin140217 | 4122 views | 7 replies |

trevelyen260802

Shopping Cart Always Empty

I truly don't know what happened here. This is an older cart that I built with late version 3 or early 4. The server where the site was hosted changed their file structure and SSL setup so I had to go in and change the links for the redirect on the checkout page so it would transfer the cart contents to the secure checkout form.

I only changed the link on the checkout button to transfer the cart contents. Uploaded the new page, and now the shopping cart (not the page I updated and was working perfectly) is not receiving the data from the add to cart buttons. Just says Your Cart Is Empty.

Truly don't know how I affected the shopping cart page by working on the checkout transfer contents page.

here is the URL shoppingcart.php

I looked through the forums and tried the solution about adding session_commit(); line, but that did nothing for me.

Any help would be greatly appreciated.

Stephen

Sign in to reply to this post

Jason ByrnesWebAssist

First, lets make sure there is no a problem on the server end with session management. upload the attached sessionTest.php page to your server. This will test whether the server has a problem retaining session information or not.

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

trevelyen260802

Ok, I have a session management issue

Did the test and now I have a session management issue. This is new.

Session test is coming up NULL (bad) but the Session ID does stay the same.

Now what?

ps - sorry for delayed reply, got busy and client was busy with other things, so just getting back to this now.

Stephen

Sign in to reply to this post

Jason ByrnesWebAssist

you need to contact your host to have them fix the problem. You can demonstrate the problem for them with the session test page I sent you.

Sign in to reply to this post

StephenMartin

Originally Said By: Jason Byrnes
  First, lets make sure there is no a problem on the server end with session management. upload the attached sessionTest.php page to your server. This will test whether the server has a problem retaining session information or not.  



Jason, How do I test the server? I uploaded the file..now what? What do I do with it?

Sign in to reply to this post

Jason ByrnesWebAssist

after uploading the sessionTest.php file, you need to browse to it in your web browser.

When the page first loads, it will show that the value of the session variable named Test is equal to "NULL".

Click on the first link, this should change the Test session variable value to "Test"

Click on the second link to reload the page.

If the value of the test session variable remains "Test", that means session management is functioning correctly.

If the value of the test session variable changes back to "NULL". the test fails.

most likely it is a problem with the session.save_path setting in the php.ini file. you will need to contact the host to have them correct the problem.

Sign in to reply to this post

admin140217

Resolved

The issue is resolved, it was a scripting issue on the host that had turned off the session control.

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