Menu

#36 Parsing Error

open
Leo West
Front-end (11)
5
2004-12-03
2004-12-03
Anonymous
No

After creating the MySQL database and completing the
setup, attempting to display the index page results in
this error:

PHP Parse error: syntax error, unexpected T_CLONE,
expecting T_STRING in
c:\Inetpub\wwwroot\webo\lib\webo\Event.php on line
58

System:
Windows 2000 Server
PHP 5
MySQL 4.1
IIS 5

Discussion

  • Nobody/Anonymous

    event.php

     
  • Nobody/Anonymous

    Logged In: NO

    I'm having the same issue that the originator of the bug
    report is. I believe I may have found the cause.

    Are you, by any chance, using PHP 5.x?
    And, have you looked at Event.php line 58?

    I also got this same error in Attendees.php, line 108. Both
    of these locations are the introduction of "function clone",
    which is a reserved word in PHP 5.x! If all references to
    this function, including the function itself, were renamed
    to something else, as long as it is NOT in the list at
    http://www.php.net/manual/en/reserved.php it should work.

    If this has been of any help, please post it here, so that
    we can maybe grab the attention of the project owner, maybe
    it could be included as a bugfix release.

     

Log in to post a comment.