#19291 [Opn->Fbk]: Include file failure with PHP 4.2.3

From: Date: Sun, 08 Sep 2002 17:25:46 +0000
Subject: #19291 [Opn->Fbk]: Include file failure with PHP 4.2.3
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18670@lists.php.net to get a copy of this message
ID: 19291 Updated by: kalowsky@php.net Reported By: fillmore@NRCan.gc.ca -Status: Open +Status: Feedback Bug Type: Scripting Engine problem Operating System: Solaris 8 PHP Version: 4.2.3 New Comment: requireversion? did you mean phpversion? Previous Comments: ------------------------------------------------------------------------ [2002-09-08 10:24:57] fillmore@NRCan.gc.ca 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 this bug report at http://bugs.php.net/?id=19291&edit=1

« previous php.bugs (#18670) next »