PHP Warnings formatting

Discussion in 'Installation/Configuration' started by 0xCAFEBABE, Aug 7, 2006.

  1. 0xCAFEBABE

    0xCAFEBABE New Member

    Hi!

    I don't know if it's ISPConfig related but I have a problem with PHP and warnings formatting:

    Warning: %v%v() [function.%v]: failed to open stream: No such file or directory in /var/www/web35/web/erreur.php on line 3

    Warning: %v%v() [function.include]: Failed opening 'blah.php' for inclusion (include_path='/usr/share/php5') in /var/www/web35/web/erreur.php on line 3

    Instead of the function name I get '%v%v()' ?

    My configuration looks good and I've searched on the net but didn't find anything about this issue...

    Thanks

    Christian
     
  2. Ben

    Ben Active Member Moderator

    So you run php5 on your "distrbution" apache? Did you compile it your own or the version your distro was shipped with?

    Can you post the stuff aroung Line 3 in /var/www/web35/web/erreur.php?

    None the less I would maybe ask either in the php mailing list or directly report that to the bugtracker...
     
  3. 0xCAFEBABE

    0xCAFEBABE New Member

    Hi Ben!

    I'm using a precompiled version of php5 (5.0.4-9.13) that was bundled with SuSE 10.

    It's a simple include: include "blah.php";

    Ok I'll try with php mailing list! Thanks!

    Christian
     
  4. falko

    falko Super Moderator Howtoforge Staff

  5. 0xCAFEBABE

    0xCAFEBABE New Member

    Hi Falko,

    The problem is not include itself, it is only a test to actually make the script output some error...

    The problem is the warning output of php that is wrong (see my first post).

    Thanks

    C.
     
  6. 0xCAFEBABE

    0xCAFEBABE New Member

    I've upgraded to php 5.1.2 and it works now...

    Christian
     

Share This Page