View Full Version : Trouble shooting in Front Page XP
jessomine
01-17-2006, 01:53 PM
My brain in bogged up from spending too much time redesigning my entire website. I have an error on a page and for the life of me can't remember or find the "goto line" command ...
" Error has occurred in script .....................
Line 46 Char 43
Unterminated string constant
file://C:\Documents and Settings\admin\Local Settings\Temporary Internet Files\Content.IE5\47TZAAV1\[1].htm"
I figure this is an error in my java script for a sliding menu .
Anyone?
ChrisK
01-17-2006, 02:14 PM
My brain in bogged up from spending too much time redesigning my entire website. I have an error on a page and for the life of me can't remember or find the "goto line" command ...
" Error has occurred in script .....................
Line 46 Char 43
Unterminated string constant
file://C:\Documents and Settings\admin\Local Settings\Temporary Internet Files\Content.IE5\47TZAAV1\[1].htm"
I figure this is an error in my java script for a sliding menu .
Anyone?
That looks to be an application problem on your local computer. Can you please provide some more information?
As well, the page you are trying to view is from your Internet Explorer's cache (Temporary Internet Files).
jessomine
01-17-2006, 04:00 PM
Hi Chris. You are correct, of course, lol. When I view thru the browser, I don't get the syntax error but the slide menu doesn't work. I think I'm going to give it a rest and try to figure it out later. I also uploaded the page and it works w/o the menu:
http://www.jessomine.com/sheltie%20females.htm
ChrisK
01-17-2006, 06:59 PM
Can you upload the file you have having issues with as well and post the web address for it too.
Thanks
kibboy
01-17-2006, 08:38 PM
Wow, that codes looks a little odd in many ways. To get you started I will fix your current error, go into your ssmitems.js file and change the line 46 -
ssmItems[4]=["Boys", "http://create header
to
ssmItems[4]=["Boys", "http://LINK"] //create header
Where LINK, is the link you want boys to go to. This could fix it outright, but I doubt it. Post back if it's still wrong, but this was most certainly an error.
Kibb
kibboy
01-17-2006, 08:44 PM
Wow, on second glance, do the above to all these lines within that file
45
50
64
71
75
79
I'd be surprised if your errors end there, but good luck.
Kibb
jessomine
01-18-2006, 02:17 AM
Kibb, thanks for looking. Those lines are Headers and don't require links. I copied the code from one of my other pages ... Have a look at the page below as it has the same menu working:
http://www.worldwideshelties.jessomine.com/breeders.htm
ChrisK
01-18-2006, 06:23 AM
Where is that page with the menu, but doesn't work?
jessomine
01-18-2006, 01:36 PM
I did post the page above, Chris, but guess you missed it. It's a sliding menu from the left. This page is not found thru my index page at the moment as it is uploaded for testing only and not finished:
http://www.jessomine.com/sheltie%20females.htm
BTW, I've been playing around with it some more and I'm looking at a similar js but still my brain is missing something, lol.
jessomine
01-18-2006, 01:40 PM
O, I'd like to add a bit of info on that redirect from geocities that I had help with, several months ago. Remember someone said that the site would likely be removed once the redirect was detected - well it's still up and working, vbg.
ChrisK
01-18-2006, 02:25 PM
I did post the page above, Chris, but guess you missed it. It's a sliding menu from the left. This page is not found thru my index page at the moment as it is uploaded for testing only and not finished:
http://www.jessomine.com/sheltie%20females.htm
BTW, I've been playing around with it some more and I'm looking at a similar js but still my brain is missing something, lol.
There's something wrong with your .JS files under the http://www.jessomine.com domain.
That would be these files:
http://www.jessomine.com/ssmitems.js
http://www.jessomine.com/ssm.js
In your source code, if you replace the references for:
<script SRC="ssm.js" language="JavaScript1.2">
and
<script SRC="ssmitems.js" language="JavaScript1.2"></script>
with
<script SRC="http://www.worldwideshelties.jessomine.com/ssm.js" language="JavaScript1.2">
and
<script SRC="http://www.worldwideshelties.jessomine.com/ssmitems.js" language="JavaScript1.2"></script>
You'll see that it works.
jessomine
01-18-2006, 03:15 PM
Right, Chris that works - thanks. Now I will start fresh to redo the ssmitems.js for my new menu and see what happens.
That would be these files:
http://www.jessomine.com/ssmitems.js
http://www.jessomine.com/ssm.js
This works okay: <script SRC="http://www.jessomine.com/"ssm.js" language="JavaScript1.2">
BUT menu only works if I use:<script SRC="http://www.worldwideshelties.jessomine.com/ssmitems.js" language="JavaScript1.2"></script>
So .. I'm doing something wrong when I redesign the file ssmitems.js to suit the jessomine website page. Almost ready to give up and try the dropdown menu, lol.
ChrisK
01-18-2006, 03:25 PM
good luck. :-)
jessomine
01-18-2006, 05:24 PM
Rats .. redid the ssmitems.js file and I'm getting the same error. . SO:
QUOTE[This works okay: <script SRC="http://www.jessomine.com/ssm.js" language="JavaScript1.2">[/URL]]QUOTE
QUOTE[But the: <script SRC="http://www..jessomine.com/ssmitems.js" language="JavaScript1.2"></script> still gives the original error"]QUOTE
Going to give it a rest and try again later, g.
jessomine
01-19-2006, 02:38 AM
Finally .. got it :
http://www.jessomine.com/sheltie%20females.htm
shoombool_tala
01-19-2006, 03:43 AM
to save you a lot of hassle while debugging javascripts, open you page in firefox and then go under Tools\Javascript Console.
it will tell you where the error is exactly and while it's occuring. Way more helpful than IE.
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.