Solved

java and jcart 1.3

Posted on 2015-02-14
14
134 Views
Last Modified: 2015-02-27
I have integrated jcart version 1.3 into my website
The whole thing is working fine except the part where I add items to cart
When I do this I get the popup which says items added and a green tick) but the cart is not updated

The install is on xampp

Has anyone got experience witth this please
0
Comment
Question by:doctorbill
  • 9
  • 5
14 Comments
 

Author Comment

by:doctorbill
Comment Utility
I have managed to make progress by changing some session variables in php.ini to 1
Problem is I can only add 1 item to the cart. Adding more just doesn't update the cart
Can someone suggest the session variables responsible
0
 

Author Comment

by:doctorbill
Comment Utility
This is what I changed:

Changing the value for session.use_cookies = 1, session.use_only_cookies = 1,
session.auto_start = 1, and session.use_trans_sid = 1.
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
is jcard demo.php working or not?
0
 

Author Comment

by:doctorbill
Comment Utility
This is a strange one:

I create a .htaccess file and put following line into it:
php_flag session.auto_start 1

I copy this file into the root directory of the shopping cart
I then refresh the shopping cart webpage
I can then add an item but ONLY one at a time
Submitting the cart looses all entries

BUT if I then delete the .htaccess file and refresh the cart webpage I can add multiple items and the cart is submitted successfully

I cannot add this config line to php.ini because it stops phpmyadmin from working
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
Can you stop the murmur and answer the question:

is jcard demo.php working or not?
0
 

Author Comment

by:doctorbill
Comment Utility
Only when I do this:

This is a strange one:

I create a .htaccess file and put following line into it:
php_flag session.auto_start 1

I copy this file into the root directory of the shopping cart
I then refresh the shopping cart webpage
I can then add an item but ONLY one at a time
Submitting the cart looses all entries

BUT if I then delete the .htaccess file and refresh the cart webpage I can add multiple items and the cart is submitted successfully

I cannot add this config line to php.ini because it stops phpmyadmin from working
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
Hello? Are you human? Do you read me?

CANYOU RUN jcart demo.php ?
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:doctorbill
Comment Utility
Yes but Only when I do this:
Please read the comment below:
--------------------
I create a .htaccess file and put following line into it:
php_flag session.auto_start 1

I copy this file into the root directory of the shopping cart
I then refresh the shopping cart webpage
I can then add an item but ONLY one at a time
Submitting the cart looses all entries

BUT if I then delete the .htaccess file and refresh the cart webpage I can add multiple items and the cart is submitted successfully

I cannot add this config line to php.ini because it stops phpmyadmin from working
0
 
LVL 61

Assisted Solution

by:gheist
gheist earned 500 total points
Comment Utility
Hi there. Please be aware that this project is no longer being maintained or updated!
The support forums are closed to new posts, but a quick search should help answer any questions.
0
 

Author Comment

by:doctorbill
Comment Utility
I have no idea what is going on here
Please can you explain why this question / answer stream is being terminated
0
 
LVL 61

Accepted Solution

by:
gheist earned 500 total points
Comment Utility
I just read that on site of jcart...
Maybe it works with PHP of its time, but to bring it back to today you must FIX IT YOURSELF
0
 

Author Comment

by:doctorbill
Comment Utility
Comleted
0
 

Author Comment

by:doctorbill
Comment Utility
I've requested that this question be closed as follows:

Accepted answer: 0 points for doctorbill's comment #a40620602
Assisted answer: 250 points for gheist's comment #a40611131
Assisted answer: 250 points for gheist's comment #a40611293

for the following reason:

Solved it myself
0
 

Author Closing Comment

by:doctorbill
Comment Utility
finished
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now