homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

Unterminated String Constant!
error mesages trying to use SSI!

 5:17 pm on Jun 16, 2003 (gmt 0)

Hi guys,

I have a forum on my site and I`m trying to use some server side stuff to include the latest posts on my homepage. You can include the latest news, active users or stats. Now the stats and active users work just fine, but I`ve got a problem with the news working.

I`m using javascript to show the news, this is the code:

<script type="text/javascript" language="JavaScript" src="http://blah.co.uk/js.php?a=news&show=5"></script>

This should show the last five posts in the news section on my homepage. What I`m getting is the following javascript error:

Line: 3
Char: 5877
Error: Unterminated String Constant
Code: 0
URL: blah.co.uk

Now all I want to know is, is this a problem with the page that the script is on or a problem with the actual file that its linking to? I`m not that familiar with javascript errors.

On the page that its on, line 3 are the meta tags, so I`m a little confused about whats what.

Any ideas?



 11:42 pm on Jun 16, 2003 (gmt 0)

Sounds like the javascript is in an external file, and there's an error in line 3 of THAT file.


 5:38 am on Jun 17, 2003 (gmt 0)

Thanks tedster, thats all I wanted to know.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved