ID: 20607 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Scripting Engine problem Operating System: red hat 7.2 PHP Version: 4.2.3 New Comment:
Sorry, not cli, I mean cgi. Previous Comments: ------------------------------------------------------------------------ [2002-12-21 05:22:37] [EMAIL PROTECTED] Are you running your scripts on php-cli? I suspect another it_db.php, which is slightly different from the one you intend to include, exists in the same directory as where scripts run. Because in php-cli, include() or require() always tries to first seek the files in the CWD regardress of include_path. ------------------------------------------------------------------------ [2002-12-12 07:45:36] [EMAIL PROTECTED] ok ill try a cvs snapshot, btw the problem doesnt happen on our win2K test server (for once! windows being nice??) ill see if this also happens on our soon-to-be-live redhat dev-box, ill be able to do lots more on that box than on the live one ------------------------------------------------------------------------ [2002-12-04 18:19:15] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-11-25 00:32:34] [EMAIL PROTECTED] it doesnt matter if I do ini_set("error_reporting", "E_WARNING"); or ini_set("error_reporting", "E_ALL"); or include_once / require_once the site comes up with nothing when I set error_reporting ------------------------------------------------------------------------ [2002-11-25 00:28:02] [EMAIL PROTECTED] ok index.php now reads (on the live site): <? ini_set("error_reporting", "E_ALL"); //echo "Error Level : " . ini_get("error_reporting") . "<br />"; require_once "it_functions/it_db.php"; $a = it_getnextid("table", "trjh"); ?> I dont get any msg at all now, but i should get an echo from it_GetNextID ... ? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20607 -- Edit this bug report at http://bugs.php.net/?id=20607&edit=1