SMF For Free Support Forum
Signup For Free Forum
August 21, 2008, 05:38:49 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: Syntax Error Before Head Section  (Read 441 times)
0 Members and 1 Guest are viewing this topic.
Coreeeey
SMF For Free Sr. Member
*
Offline Offline

Posts: 311



View Profile WWW
« on: January 01, 2008, 12:14:26 pm »

Forum Url: http://pspunleashed.smfforfree4.com
When I'm viewing a topic index or a message I get this error on firefox:

Error: syntax error
Source File: http://pspunleashed.smfforfree4.com/index.php/jquery.js
Line: 1
Source Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

I get the same error on IE just with less details.
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 7812



View Profile WWW
« Reply #1 on: January 01, 2008, 12:37:50 pm »

Forum Url: http://pspunleashed.smfforfree4.com
When I'm viewing a topic index or a message I get this error on firefox:

Error: syntax error
Source File: http://pspunleashed.smfforfree4.com/index.php/jquery.js
Line: 1
Source Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

I get the same error on IE just with less details.

I have noticed for some time now that some of the codes (that use jquery) produce an error in IE.    If you are using a code that is changing, adding something, etc in your topics, message bases it is more then likely the code that is causing the problem.     Save your headers/footers.   Wipe out the codes then check again and Im betting you will not see those errors.  Its not a forum software bug -  it is something not quite correct with one of the codes you are using.
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 7812



View Profile WWW
« Reply #2 on: January 01, 2008, 12:39:59 pm »

Correeeeey I took a look at your header.    You have:

<script src="http://pspunleashed.smfforfree4.com/jquery.js"></script>

<script src="jquery.js"></script>


There is no need to have both of those codes.   They lead to the exact same jquery.js file.
Logged

Coreeeey
SMF For Free Sr. Member
*
Offline Offline

Posts: 311



View Profile WWW
« Reply #3 on: January 01, 2008, 01:25:36 pm »

Correeeeey I took a look at your header.    You have:

<script src="http://pspunleashed.smfforfree4.com/jquery.js"></script>

<script src="jquery.js"></script>


There is no need to have both of those codes.   They lead to the exact same jquery.js file.

I realize that, but something isn't the same between the two files because if I remove
<script src="http://pspunleashed.smfforfree4.com/jquery.js"></script>
and just keep
<script src="jquery.js"></script>
not all the codes in my footers will work properly.

EDIT: Nevermind, I've figured it out.
« Last Edit: January 01, 2008, 01:28:16 pm by Coreeeey » Logged



Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.187 seconds with 17 queries.