Results 1 to 5 of 5

Thread: Syntax Error

  1. #1
    Join Date
    Jun 2008

    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


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

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

  3. #3
    Join Date
    Jun 2008
    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?


  4. #4
    Join Date
    Oct 2008
    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
    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

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

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