Log in

View Full Version : small error on project list



retsof
08-03-2005, 10:26 AM
detected on a Win2000 machine:

Project button

Line 141
Char 63
Error: Unterminated string constant
URL: http://free-dc.org/projects.php?theme=default

Bok
08-03-2005, 10:33 AM
Try it again please ?

Also, which OS, browser?

Bok

retsof
08-03-2005, 10:48 AM
Win2000 SP5
Internet Explorer version 6.0.2800.1106

Bok
08-03-2005, 10:52 AM
I can't test it here, but I made a very minor change on that line which I noticed. Perhaps it's fixed now?

Bok

retsof
08-03-2005, 10:55 AM
same line, character 62 this time.

I have seen that kind of error caused by a missing close quote somewhere.
I'll check the source....

retsof
08-03-2005, 10:58 AM
I'm seeing the same error...

However, the list is now returned inside the project index box with a scroll.
It was previously on a whole screen.

retsof
08-03-2005, 11:03 AM
In the full page URL I listed above
I compared the pattern to other lines. I think I see a missing single quote.

On the line after foldingathome.stanford.edu

change
onClick="parent.window.location='/forum/forumdisplay.php?s=&forumid=12"

to
onClick="parent.window.location='/forum/forumdisplay.php?s=&forumid=12'"

with a single quote after the 12


That was line 141 in the source for me...

Bok
08-03-2005, 11:31 AM
yes, that will be it. There was a / there before which I removed, it was obviously a typo and should have been a quote.

Fixed

Bok :cheers:

retsof
08-03-2005, 12:29 PM
That's it. Tested. Error gone.