Welcome to WebmasterWorld Guest from 50.17.114.227

Forum Moderators: open

Message Too Old, No Replies

Unterminated String Constant!

error mesages trying to use SSI!

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

Senior Member

WebmasterWorld Senior Member dreamcatcher is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 30, 2003
posts:3719
votes: 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 June 16, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 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 June 17, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member dreamcatcher is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 30, 2003
posts:3719
votes: 0


Thanks tedster, thats all I wanted to know.

:)

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members