#19291 [NEW]: Include file failure with PHP 4.2.3

From: Date: Sun, 08 Sep 2002 15:24:57 +0000
Subject: #19291 [NEW]: Include file failure with PHP 4.2.3
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18666@lists.php.net to get a copy of this message
From:             fillmore@NRCan.gc.ca
Operating system: Solaris 8
PHP version:      4.2.3
PHP Bug Type:     Scripting Engine problem
Bug description:  Include file failure with PHP 4.2.3

Some PHP scripts that worked fine in 4.2.2 now fail in 4.2.3 with a
message:
  "Fatal error: Call to undefined function: requireversion() in
/home1/fast1/WWW-data/ess/_ess.php on line 11"

The file _ess.php is included in the main file index_e.php as follows:

   require_once("_ess.php");

The "requireversion" function is defined in the file _lib.php, which is
included
in the file _ess.php as follows:

   if(file_exists("_lib.php")){
        require_once("_lib.php");
   }

   //this requires version 4.2+
   requireversion('4.2');


We are using the NSAPI (iPlanet 4.x) version of PHP.

Thanks,

  Bob Fillmore

-- 
Edit bug report at http://bugs.php.net/?id=19291&edit=1
-- 
Try a CVS snapshot:  http://bugs.php.net/fix.php?id=19291&r=trysnapshot
Fixed in CVS:        http://bugs.php.net/fix.php?id=19291&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=19291&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=19291&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=19291&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19291&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=19291&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=19291&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=19291&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=19291&r=globals



Thread (10 messages)

« previous php.bugs (#18666) next »