Menu

Error with Index.php in phpopenchat

geoffism
2006-07-14
2013-04-30
  • geoffism

    geoffism - 2006-07-14

    I have successfully installed phpopenchat but when i go to index.php so i can login to the chat i recieve this error message:

    XML Parsing Error: not well-formed
    Location: http://openchat.dyndns.org/index.php#
    Line Number 3, Column 13:<html lang="<?=$_SESSION['chat']->get_language()?>" xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?=$_SESSION['chat']->get_language()?>">
    ------------^

    Any help with this would be great as i cant find anything.

     
    • Brad Parks

      Brad Parks - 2008-07-28

      Aha.  It has to do with the use of "short open tag" -- the php code in the template files (and probably elsewhere) is using the short_open_tag syntax.  Look for the configuration setting "short_open_tag" in your php.ini file and enable it.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.