?
Solved

java and jcart 1.3

Posted on 2015-02-14
14
Medium Priority
?
172 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
ID: 40610289
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
ID: 40610292
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 62

Expert Comment

by:gheist
ID: 40610706
is jcard demo.php working or not?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:doctorbill
ID: 40610857
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 62

Expert Comment

by:gheist
ID: 40610874
Can you stop the murmur and answer the question:

is jcard demo.php working or not?
0
 

Author Comment

by:doctorbill
ID: 40610880
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 62

Expert Comment

by:gheist
ID: 40611046
Hello? Are you human? Do you read me?

CANYOU RUN jcart demo.php ?
0
 

Author Comment

by:doctorbill
ID: 40611081
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 62

Assisted Solution

by:gheist
gheist earned 2000 total points
ID: 40611131
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
ID: 40611140
I have no idea what is going on here
Please can you explain why this question / answer stream is being terminated
0
 
LVL 62

Accepted Solution

by:
gheist earned 2000 total points
ID: 40611293
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
ID: 40620602
Comleted
0
 

Author Comment

by:doctorbill
ID: 40635848
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
ID: 40635849
finished
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses
Course of the Month13 days, 14 hours left to enroll

807 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