Menu

#11 ParseError with php 4.2.2/RH8

open
nobody
None
5
2003-04-21
2003-04-21
No

I installed phpeselgui 0.6.1/latest CVS under RH8
and PHP reports alway the following error:

Parse error: parse error, unexpected $ in
/export/html/phpEselGui/functions.inc on line 1707

Discussion

  • Sven Walther

    Sven Walther - 2003-04-23

    Logged In: YES
    user_id=613086

    we heard that from some more users, but I don't know why
    this happens... there is no line 1707 in this file and so i
    think it has to do with some unclosed " or ) or } or
    someting like that. But it works on mostly all servers we
    know and we can't reproduce that behaviour :-(

    Maybe something eith encoding? Could you try to recode it
    with something like dos2unix?

    Thx

    Sven

     
  • Andreas Jung

    Andreas Jung - 2003-04-23

    Logged In: YES
    user_id=11084

    line 1707 was the last line of the functions.inc file (can't remember
    if it was the file from the HEAD or from the release). The PHP file
    looked fine to me. I also tried to re-encode it to latin1 but with
    no success

     
  • Nobody/Anonymous

    Logged In: NO

    Hi,
    just put the flag "short_open_tag = On" in /etc/php.ini.
    Then problem should be solved.

    Greets
    - Gerhard

     

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.