View Full Version : Script Errors
DVDBritain
17-Jun-2003, 07:01 AM
:(
Im amending my site with tables etc... and everything seemed ok... Ive added a table down the left hand side and made sure all the graphics were placed in the actinic directory. I am modifying Brochure_primary i think.
Well the top header and menu was fine, but as soon as i entered my left menu i keep getting script errors.
Ive just cannot think what it is.. the error is (this is just in preview mode as well!)
Line: 3
Char 56
Error : Object expected
Code 0
URL file //d:\applications\actinic ecommerce v6\sites\site1 \PreviewHTML\P_SiteRoot_Index.html
But the file is there in the folder?
Any help would be really useful.. as im already behind re-releasing the updated site to v6. Its been down too long already :(
Thanks
Jason
NormanRouxel
17-Jun-2003, 07:43 AM
It looks like some JavaScript is missing.
Check that Act_primary.html and Act_BrochurePrimary.html have
<SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>
In the <HEAD> section (and haven't been commented out).
Norman
DVDBritain
17-Jun-2003, 06:57 PM
Thanks for the idea, but its still the same :(
Cheers
Jason
Nick
17-Jun-2003, 08:03 PM
Jason
As Norman says, you're just missing a bit of javascript code.
If you want to post your P_SiteRoot_Index.html file as an attachment then myself an other forum members can take a look at it and comment.
Regards
Nick
cdicken
18-Jun-2003, 04:28 PM
Are you using JavaScript section lists? Also, do you keep your section images in a sub-folder within Site1? If so, then ensure you are on the latest version of v6 as there was a bug with earlier versions with JavaScript section lists.
DVDBritain
19-Jun-2003, 06:46 AM
Im using the latest version of actinic.
I did have graphics in folders other than catalog but moved them once i got the message when uploading.
This only seemed to happen when i added graphics down the sides.
Jason
cdicken
20-Jun-2003, 08:03 AM
I'm afraid we can make no other suggestions without seeing the site for ourselves.
DVDBritain
20-Jun-2003, 05:25 PM
The site is www.dvdbritain.com
Ive noticed that it doesnt seem to be doing it on the shop pages just the index page.
Can you build a actinic site with just acatalog or should i say without the index page.
Jason
NormanRouxel
21-Jun-2003, 05:12 AM
On your main index.html page the <BODY> tag looks wierd. I.e:-
OnLoad="PreloadImages('acatalog/brochurebutton2.gif','acatalog/shop2.gif');MM_preloadImages('../../../../business/dvdbritain2003/images/menu/search_02.gif')" BGCOLOR="#ffffff" TEXT="#000000" LINK="#000000" VLINK="#6666ff" ALINK="#cc66cc">
Should all those ../../../../ be there?
Also you don't have any working links so I couldn't get into your catalog.
When i tried adding /acatalog/ to your URL I got a directory listing rather then the catalog index.html.
Norman
DVDBritain
25-Jun-2003, 06:41 AM
Thanks for taking a look.
Im going to have to sort out that list. But im moving hosts now as the one ive got has to be send an email just to change folder permissions (then they wont do it for hours).
I will take a look at the tag issue youv've raised.. hopefully something from that it causing the problem. It does now look like its just the primary brochure page thats erroring... as when i go into the catalog pages it looks/works fine.
Jason
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.