#43 include('nonexistantfile.php') halts execution

closed-fixed
nobody
None
5
2003-09-29
2003-09-25
No

There is a problem with TurckMMCache when used with
Zend Optimizer.

First create file contents.html containing:
<h1>TEST</h1>

Then create test.php containing:
<?php include("contents.html");?>
<?php include("firsterror.php");?>
<?php include("seconderror.php");?>

Viewing test.php will only work properly when either
TurckMMcache or Zend Optimizer are disabled. When both
are enabled, the error relating to firsterror.php is
reported in syslog, then execution halts. seconderror
is never reported and neither errors are logged to
screen.

See http://bugs.php.net/bug.php?id=25655

Discussion

  • Dmitry Stogov

    Dmitry Stogov - 2003-09-26

    Logged In: YES
    user_id=124551

    Thank you for your report. I have alredy heard about this
    BUG, but you are the first who tell what the problem is
    releated to Zend Optimizer.
    Now I have fixed the BUG.
    You can try to get the fixed version from sourceforge CVS
    (mmcache.c revision: 1.166) or wait for release 2.4.1.

     
  • Dmitry Stogov

    Dmitry Stogov - 2003-09-26
    • status: open --> open-fixed
     
  • Specka

    Specka - 2003-09-29

    Logged In: YES
    user_id=874441

    On my servers with 4.3.3 (see
    http://xeon.lomejordeinternet.net/phpinfo.php\)
    Any scripts fails, such phpBB 2.0.5 and 2.0.6.
    If create a file with include('anyfile.php') fail. Also if
    use include("anyfile.php") Single quote or double quote.
    I has Zend Engine 1.3.0

     
  • Dmitry Stogov

    Dmitry Stogov - 2003-09-29
    • status: open-fixed --> closed-fixed
     
  • Dmitry Stogov

    Dmitry Stogov - 2003-09-29

    Logged In: YES
    user_id=124551

    The BUG is fixed in release 2.4.1.
    "specka", i think, you have another kind of bug.

     
  • Specka

    Specka - 2003-09-29

    Logged In: YES
    user_id=874441

    Ohh. I've version 2.4.0.

    Sorry. I apologize for post. I think that 2.4.0 it's last
    version.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks