Welcome to Geeklog, Anonymous Friday, April 19 2024 @ 05:21 am EDT

Question: Parse error in ...

Answer: A parse error usually hints at a typo you've made. Check the file at the line given in the error message (the actual error may be in the line preceding the one mentioned in the error message).

Common problems are:

  • not enclosing paths in single quotes properly
  • missing semicolon at the end of the line
  • using single quotes within a string (you need to write Joe's Site as Joe\'s Site, escaping the extra quote)


A related issue are parse errors caused by a corrupted lib-common.php. This is covered in the troubleshooting section of the installation instructions.

Hits: 161

FAQ » Common problems » Parse error in ...