Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 08-08-2002 21:48:37

Guest
Guest

Shopping Cart Empty?

When I go to my site, I'm able to select an item and place it in the cart:
   
"Thank you. The item you selected has been added to your shopping cart."

If I then try to view the cart or checkout, I get a message that the cart is empty. What'd I miss?
Rich

 

#2 08-08-2002 22:07:30

Guest
Guest

Re: Shopping Cart Empty?

I remember this issue from my early days of ccp4.  It's permissions.  I can't tell you what file as they are all diffrent now..  But it's probably permisions of a CSV file.

 

#3 08-08-2002 22:15:14

Guest
Guest

Re: Shopping Cart Empty?

Thanks Will, but no joy.

Data directory and all files and sub-files are set to 777.
Rich

 

#4 08-08-2002 22:16:17

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19721
Website

Re: Shopping Cart Empty?

Also - check to make sure you've set the cookie path and domain in global settings | program settings.  You most likely problem is that ./data/temp is not world writable (777 on unix/linux).


Nick Hendler

Offline

 

#5 08-09-2002 00:42:16

Guest
Guest

Re: Shopping Cart Empty?

So where should the cookie path point?  /data/temp ?

 

#6 08-09-2002 02:05:01

Guest
Guest

Re: Shopping Cart Empty?

That got it.
It was the cookie path.
Rich

 

#7 08-09-2002 01:14:10

Guest
Guest

Re: Shopping Cart Empty?

In the Global Settings under Program Settings..

The default is:

.yourdomain.com    try    yourdomain.com (no leading period)


 

#8 08-09-2002 08:35:11

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19721
Website

Re: Shopping Cart Empty?

The cookie path has to start with a leading period as in .yourdomain.com.  That's just a rule set up by W3 as how they need to be.  If the cart is not emptying, that another issue.  If you're getting a confirm email from the program, the same routine deletes the cart.  If you're not getting that confirm email, the cart will not be deleted.  Can you check to be 100% sure the order is being processed?  You're not testing out PayPal and forgetting to click the 'Continue' button, are you?


Nick Hendler

Offline

 

#9 08-09-2002 10:01:01

Guest
Guest

Re: Shopping Cart Empty?

I tried all kinds of things to get the cart to keep stuff.  I deleted old cookies I rechceck permissions.  I reuploaded files.  Nothing.  I deleted the leading period from that and it started working. 

I was using it with offline processing.  Since hypermart is banned from most pop mails the confirmation e-mails never were received, but I received the order e-mails.

Looked like it worked. 

 

#10 08-09-2002 10:11:39

Guest
Guest

Re: Shopping Cart Empty?

It seems to be working perfectly now.

I placed an order with offline processing and used a return e-mail addres that I know isn't banned.  I received all three e-mails, and the cart emptied. 

I'll put the leading period back in and see if it fails.

 

#11 08-09-2002 10:16:58

Guest
Guest

Re: Shopping Cart Empty?

Weird.  I put the period back in and its still working.  I have no clue now why it started working.

 

#12 08-09-2002 16:02:38

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19721
Website

Re: Shopping Cart Empty?

Probably a typo.  At least it's somewhat of an explanation smile


Nick Hendler

Offline

 

#13 08-09-2002 10:33:22

Guest
Guest

Re: Shopping Cart Empty?

Nick-
The confirm emails are coming thru. I'm working with ViaKlix, in test mode. All orders are processing properly. Yet the SC isn't emptying.
Rich

 

#14 08-09-2002 16:06:28

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19721
Website

Re: Shopping Cart Empty?

?!?  I have no idea.  You swear everything is set to 777, so that's not the issue.  Do me a favor:

In the file:

./cgi-bin/library/modules/ste_order.pl

One of the last lines in the file reads:

#########
######### Delete the cart file.
#########

unlink "$data_temp_path/$fd_usr.$data_table_ext";

This is what drops the cart - we just delete the whole file to clean up temp server space.  Change that line to read:

unlink "$data_temp_path/$fd_usr.$data_table_ext" || die $@;

Then process and order and see if you get a script exectution error.  If you do, post the error here.


Nick Hendler

Offline

 

#15 08-09-2002 02:51:29

Guest
Guest

Re: Shopping Cart Empty?

Well now I've got the exact opposite problem. After placing an order, the item stays in the Shopping Cart.

I suspect cookie pointers again. ??
Rich

 

#16 08-10-2002 07:54:53

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19721
Website

Re: Shopping Cart Empty?

I think this has to do with ViaKlix not sending the shopper back to your server for confirmation.  I bet you're only receiving one email - from ViaKlix.  I think you emailed ec@kryptronic.com about this and we'll be looking into the ViaKlix response later today for you. 


Nick Hendler

Offline

 

Board footer