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.
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
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.
Thanks Will, but no joy.
Data directory and all files and sub-files are set to 777.
Rich
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).
Offline
So where should the cookie path point? /data/temp ?
That got it.
It was the cookie path.
Rich
In the Global Settings under Program Settings..
The default is:
.yourdomain.com try yourdomain.com (no leading period)
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?
Offline
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.
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.
Weird. I put the period back in and its still working. I have no clue now why it started working.
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
?!? 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.
Offline
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
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.
Offline