Solved

java and jcart 1.3

Posted on 2015-02-14
14
142 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

777 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