1
inlikeflin
Syntax error
  • 2005/2/1 7:15

  • inlikeflin

  • Just popping in

  • Posts: 16

  • Since: 2005/2/1 6


Hi everyone..
Im new to the XOOPS forum, mainly because XOOPS is so dam good, that we have over the past months been able to install,add many modules,modify it to suit our sites and preety much had no troubles at all.
I would like to thank the XOOPS guys for supplying a great product

I have now just one, fairly simple problem, that I have frigged around with for a few days and cant seem to find the answer too.
Possibly because I dont do much raw coding
I am getting a single "sytax error" on all pages of one of our sites ..
http://home-business-helpdesk.com
-------------
this is the error:

Line:2
Char:1
Error: Syntax error
Code:0
--------------
http://home-business-helpdesk.com

I hope someone has the time to take a peek at the source on our index at the url mentioned here, to give me a few clues.
Any help would be appreciated


Thanks guys again for a very well put together website system.

Steve

2
pfaulkne
Re: Syntax error
  • 2005/2/1 8:48

  • pfaulkne

  • Just popping in

  • Posts: 32

  • Since: 2004/2/14


Which pages. I just had a look and didn't see any error!!

3
PatsRule
Re: Syntax error
  • 2005/2/2 1:02

  • PatsRule

  • Just popping in

  • Posts: 37

  • Since: 2004/9/15


Looking at your source code i see this.

<script language="JavaScript">
my_url="http://home-business-helpdesk.com";
my_name="Home-Business-Helpdesk.com";
function book_mark()
{if(document.all)window.external.addFavorite(my_url,my_name);}
//-->
</script>
<head>

Insert the javascript AFTER the <head> tag and before the closing</head> tag.

4
inlikeflin
Re: Syntax error
  • 2005/2/2 11:35

  • inlikeflin

  • Just popping in

  • Posts: 16

  • Since: 2005/2/1 6


Thanks for the look anyway , but the error is still shown at the bottom of your browser screen L/h/s in explorer.

5
inlikeflin
Re: Syntax error
  • 2005/2/2 11:42

  • inlikeflin

  • Just popping in

  • Posts: 16

  • Since: 2005/2/1 6


I did, when adding that "add to favorites script" think that it should have gone between the head tags as normal.

Thanks for your look anyway mate , I took your advice a moved the script as suggested but I still show the same error

The error shows on Line 2 / Char 1 / nice and easy you would think to spot, but its got me buggered ..
I cant spot anything out of the ordinary..

any other clues would still be much appreciated ..

Steve
from Aust

Login

Who's Online

149 user(s) are online (92 user(s) are browsing Support Forums)


Members: 0


Guests: 149


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits