Solved

java and jcart 1.3

Posted on 2015-02-14
14
137 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 61

Expert Comment

by:gheist
ID: 40610706
is jcard demo.php working or not?
0
 

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 61

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 61

Expert Comment

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

CANYOU RUN jcart demo.php ?
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: 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 61

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 61

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
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…

896 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

15 Experts available now in Live!

Get 1:1 Help Now