Menu

#293 nocc does not work with PHP 5.0.5

Reproducible
closed-fixed
5
2005-09-14
2005-09-14
No

Hi,

Nocc version 0.9.7 and latest nightly build.

I get following error when using PHP 5.0.5:

[14-Sep-2005 19:03:09] PHP Fatal error: Only variables
can be passed by reference in /webmail/functions.php on
line 47

This error did not occur with PHP 5.0.4. I browsed
through the bugs at php.net and it is said that this is
works as designed. It seems that you will have to
change your code, if you want to use PHP versions >=
PHP 5.0.5.

Regards,
Helmut

Discussion

  • Anonymous

    Anonymous - 2005-09-14
    • assigned_to: nobody --> goddess_skuld
     
  • Anonymous

    Anonymous - 2005-09-14

    Logged In: YES
    user_id=529507

    Could you please tell me what action triggers this bug ? I can't reproduce it with my PHP
    5.0.5 installation.
    Thanks.

     
  • Helmut K. C. Tessarek

    Logged In: YES
    user_id=744464

    Hi,

    This error occurs if trying to log in. The error will only
    occur, if you have any mails on the server. If the mailbox
    is empty, you are able to log in.

    Regards,
    Helmut

     
  • Anonymous

    Anonymous - 2005-09-14

    Logged In: YES
    user_id=529507

    I can't reproduce this issue, neither with NOCC 1.0-dev nor 0.9.7 (PHP 5.0.5 on
    FreeBSD 5.4-STABLE).
    Could you please attach your php.ini file in order I compare yours and mine ?

     
  • Helmut K. C. Tessarek

    Logged In: YES
    user_id=744464

    Hi,

    Here is my php.ini file.

    Helmut

     
  • Helmut K. C. Tessarek

     
  • Anonymous

    Anonymous - 2005-09-14

    Logged In: YES
    user_id=529507

    OK, I don't have the error because I use Zend Optimizer. Without it, I get the error.

    I'll try to fix it as soon as possible.

     
  • Helmut K. C. Tessarek

    Logged In: YES
    user_id=744464

    Thanks for your quick help.

     
  • Anonymous

    Anonymous - 2005-09-14

    Logged In: YES
    user_id=529507

    Fixed in CVS.

    It'll be included in next release.

    But you can download daily snapshots at :
    http://nocc.sourceforge.net/download/

    Thanks for the bug report.

     
  • Anonymous

    Anonymous - 2005-09-14
    • status: open --> closed-fixed
     
  • Anonymous

    Anonymous - 2005-09-14

    Logged In: YES
    user_id=529507

    If you find any similar error, don't hesitate to reopen this bug report, then put the file
    where the error is triggered.

     

Log in to post a comment.