Welcome to WebmasterWorld Guest from 54.162.226.212

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)

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



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)

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



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)

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



Thanks tedster, thats all I wanted to know.

:)

 

Featured Threads

Hot Threads This Week

Hot Threads This Month