PDA

View Full Version : "No Items in Shopping Cart" v6


Doug2
31-Aug-2010, 11:18 AM
After clicking "Checkout Now" and being directed to a summary of the items ordered, a message reading:

"Your Shopping Cart is empty. Return to the catalogue and add an item to your shopping caret before continuing"

is displayed and the customer is returned to the catalogue. This happens, irrespective of how many items have been ordered, as soon as "Checkout Now" is selected.

Any ideas........?

Doug

Duncan Rounding
31-Aug-2010, 11:55 AM
This can be related to cookies. Do you refer to your website as http://domain.co.uk or http://www.domain.co.uk. Check you don't have a mix of these two forms in your network settings.

Doug2
31-Aug-2010, 12:34 PM
Duncan

Thanks for the response. Two questions:

1. The site's been working without this problem for 8 or 9 years so would it be likely to suddenly occur for no apparent reason?

2. How do I check the network settings?

Thanks

Doug

Duncan Rounding
31-Aug-2010, 12:50 PM
If you are sure you've changed nothing then it must be your host who has. Although your scripts seem to be running you can check the folder permissions using an FTP client (chmod). They should be cgi-bin 755 and acatalog 777.

Mike Hughes
31-Aug-2010, 12:56 PM
I looked at this and couldn't see any obvious to change. The problem is that you can add something to the cart but as soon as you try and add another thing it forgets the previous item.

The normal kinds of thing look OK.

- The domain seems to stay the same. http://www.em4miniatures.com/acatalog/index.html

- No sign of confusion over www. nor anything to do with SSL.

- The perl scripts have the same number throughout.

The only things I can think of are:

1. Change the scripts number from from 0 to 1
2. Compact the database
3. try a full site refresh.

Mike

Doug2
31-Aug-2010, 01:41 PM
"3. try a full site refresh."

I've been using Actinic for so long with no real problems that I don't have a clue were the handbook is - I haven't needed it. So, can you remind me what the implications of a "refresh" are? I am more or less totally ignorant of the inner workings of websites (that's why I use Actinic) so technical talk goes mainly over my head.

Thanks for input, everyone....

Mike Hughes
31-Aug-2010, 02:05 PM
There are two option to 'updating' an actinic website:

Click: Web >

- Update Website: Just uploads files that have changed.

or

- Refresh Website: Uploads everything. A good idea if files might have been corrupted.

Mike

Doug2
31-Aug-2010, 02:10 PM
Yes - update is what I do most days to reflect changes in stock etc. Actually, I've just tried to refresh but got a message saying "te connection with the server was terminated abnormally" I've tried twice and this has happened both times.........

Doug

Mike Hughes
31-Aug-2010, 03:13 PM
Can you try a network test and see what happens?

Advanced > Network Setup > 'test' button on the RHS.

Mike

Doug2
31-Aug-2010, 04:33 PM
OK - the result was:

"The web server returned an unexpected error. The server response was 502 - Bad Gateway. Run Configure Website Details to review your website configuration."

After clicking on "View Response", I got:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers."

Doug

Mike Hughes
01-Sep-2010, 08:04 AM
The first result of a search for this error shows someone who's host moved them to a windows server. Worth checking this isn't the case.

http://community.actinic.com/showthread.php?t=14776

MIke

Doug2
01-Sep-2010, 08:14 AM
Mike

I'll get that checked out although I see the thread you linked to was concerned with v4.

Doug

Duncan Rounding
01-Sep-2010, 08:39 AM
Who is your host and what package are you on with them?

Doug2
01-Sep-2010, 09:52 AM
Host is Net-Work Internet. Package?

I haven't heard back from yet apart from an acknowledgement which is unusual. I'm referring them to this thread to bring them up to speed.

Doug

Doug2
01-Sep-2010, 10:49 AM
Just heard from the web host. Our site is on one of their Windows machines and they've just done a windows update....

Mike Hughes
01-Sep-2010, 12:17 PM
A unix server would be better. Easier and less problematical all round.

Mike

Duncan Rounding
01-Sep-2010, 01:12 PM
If you have nothing else running on the hosting then I would recommend you consider changing your hosting package to linux either with the same host or someone else.

There's a document around that lists the requirements or Actinic that you can send to your host to ensure you have the correct versions of perl etc running on the hosting server - maybe someone can find that link for you.

Doug2
02-Sep-2010, 08:46 AM
I'll mention this linux thing to them.

As we speak, the shopping cart issue is now sorted but we are still getting:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.