#19291 [NEW]: Include file failure with PHP 4.2.3
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)
- fillmore at NRCan dot gc dot ca