Solved

java and jcart 1.3

Posted on 2015-02-14
14
150 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Angular2 remove duplicates 11 23
Java ArrayList and if statement 2 55
Is there a Google Voice API? 9 69
junit initializtion error 2 20
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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 one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

734 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