PDA

View Full Version : All my cgi-bin pages have gone screwy!


Mike Hughes
09-May-2003, 11:15 AM
I've got the strangest problem on my site.

All the cgi-bin pages (search, cart, order) have decided to create an incorrect base href statement in the pages thereby destroying my page layout and all the links on the page.

You can try it from my site here:

http://www.firsttackle.co.uk/

For some strange reason the basehref being created is "http://www.firsttackle.co.uk/links/" instead of http://www.firsttackle.co.uk/acatalog/".

I've checked the linking code and that all looks fine, and I'm sure this problem hasn't been around for long. The only thing I've done recently is create a new directory called /links/ for my new links pages, but that isn't even linked to yet from my catalog pages.

I've tried clearing my browser, rebooting my PC and even done a full site refresh without any luck.

Has anyone seen anything like this before?

Mike

cdicken
09-May-2003, 02:19 PM
Yes - plenty of times. The problem is that you have a dodgy session file in your 'acatalog' folder which has incorrectly recorded the URL of your 'acatalog' folder. I can add to cart fine, and so will all your customers.

What you need to do is go to 'Help | Troubleshooting' and click 'Purge Session Files'. That'll mean you will have a healthy session file next time you visit the store.

You may want to do this late at night or early in the morning as it has the effect of emptying all shopping carts. :)

Mike Hughes
09-May-2003, 02:30 PM
Thank You Chris.

This was seriously doing my head in. I've spent the last few hours pouring over my templates and settings, trying to see how I'd broken it.

OK. It's only 3.30 in the afternoon but I'm going to get a drink. :)

Mike