www.webdeveloper.com
Results 1 to 5 of 5

Thread: Syntax Error

  1. #1
    Join Date
    Jun 2008
    Posts
    100

    Syntax Error

    Hi guys, sometimes when I try to click on one of the articles on my knowledge base page, it gives me a syntax error and won't open up. The error reads that it's on line 2, character 1, but I don't see anything wrong with it. Can anyone please help? Here's my page: http://netzeye.com/kb/index.php


    Thanks!

  2. #2
    Join Date
    Dec 2007
    Location
    Auckland, NZ
    Posts
    177
    it loads fine for me. can we see the first few lines of code.

    Scott.
    Close the windows and get to know your inner Penguin with Linux

  3. #3
    Join Date
    Jun 2008
    Posts
    100
    Hi Scott, I have a few php include codes on that page, so it loads up differently than from what I have in my Dreamweaver. When the computer displays the error on line 2, which one are they referring to?

    Thx!

  4. #4
    Join Date
    Oct 2008
    Posts
    2
    Do you have a link to a page on your website that always comes up with this error?

    Something from which we can replicate?

  5. #5
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,154
    The error message should tell you exactly which file the error is in. If the error is on character 1 of a line, most likely the error is due to something missing in the preceding (non-comment) line, most often the terminal semi-colon.

    But there's no way any of us can give you definite answer without at least seeing the source code, and preferably also seeing the exact error message text.
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles