PDA

View Full Version : script error stops padlock icon on SSL page


daren
09-Oct-2003, 09:12 AM
My customer has actinic catalog ver 6 running on Claranet SSL server site is also on Claranet (www.thatcameraplaceshop.co.uk) when the user is transferred to the SSL checkout area the padlock no longer displays at the base of the page. Claranet assure me that despite the shop sitting within a frameset on this domain the padlock should show, and suggest that there is a script error actinic software is now causing that is stopping the padlock being displayed:

line18
char 1
error: object expected
code 0
https://clarahost.claranet/www.thatcameraplaceshop.co.uk/cgi-bin/os000001.pl

it has happened recently so I am guessing it is something our customer has done. hoping someone can help?

cdicken
13-Oct-2003, 09:31 AM
The script error is because of the mini-shopping cart in the design. The following tags are in the <HEAD> section of the page:

<LINK REL=STYLESHEET HREF="actinic.css">
<SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript">

Actinic looks for those files within the 'BASE HREF' directory. This is specified by a line of the following form in the <HEAD> section:

<BASE HREF="http://www.thatcameraplaceshop.co.uk/acatalog/">

Your non-SSL pages use the BASE HREF above, but your SSL pages use the following BASE HREF

<BASE HREF="https://clarahost.clara.net/www.thatcameraplaceshop.co.uk/">

This, I think, is what you have for your SSL Catalog URL in 'Advanced | Nework Setup'. Try copying "actinic.css", "actiniccore.js" and "actinicextras.js" into this directory.

With regards to no padlock, you could see if this improves things, but I don't think it will. You need to break out of frames for the checkouut. Use 'No frames in checkout' in 'Design | Options | Misc' to do this. Also, check the context-sensitive help for this field for details of how to remove ALL frames when you go into the checkout.