Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2037 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96916 invoked from network); 27 May 2003 13:48:54 -0000 Received: from unknown (HELO prv-mail25.provo.novell.com) (137.65.81.121) by pb1.pair.com with SMTP; 27 May 2003 13:48:54 -0000 Received: from INET-PRV1-MTA by prv-mail25.provo.novell.com with Novell_GroupWise; Tue, 27 May 2003 07:48:53 -0600 Message-ID: X-Mailer: Novell GroupWise Internet Agent 6.5.0 Date: Tue, 27 May 2003 07:48:36 -0600 To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Breaking out of loop with Warning. From: hyanantha@novell.com ("Ananth Kesari") Hi, I am part of the team that ports PHP onto NetWare. I am having an issue which is like this: I have downloaded the phpMyAdmin application and I am using it without any change both on Linux and NetWare. I have created a database called "test" and a table inside it called "tablea". I then issue the following URL: http:///phpMyAdmin/tbl_replace.php?lang=en-iso-8859-1&server=1&db=test&table=tablea&goto=tbl_replace.php On Linux, I get the following error message: Warning: Variable passed to reset() is not an array or object in /tbl_replace.php on line 63 Warning: Variable passed to each() is not an array or object in /tbl_replace.php on line 144 Warning: Cannot add header information - headers already sent by (output started at /tbl_replace.php:63) in /libraries/ob.lib.php on line 65 After this the processing stops. But on NetWare, I get these and more error messages and the processing doesn't stop. It keeps going through the error message loop and then crashes the server. I get: Warning: Variable passed to reset() is not an array or object in /tbl_replace.php on line 63 Warning: Variable passed to each() is not an array or object in /tbl_replace.php on line 144 Warning: Cannot add header information - headers already sent by (output started at /tbl_replace.php:63) in /libraries/ob.lib.php on line 65 Warning: Cannot add header information - headers already sent by (output started at /tbl_replace.php:63) in /libraries/header_http.inc.php on line 14 Warning: Cannot add header information - headers already sent by (output started at /tbl_replace.php:63) in /libraries/header_http.inc.php on line 15 Warning: Cannot add header information - headers already sent by (output started at /tbl_replace.php:63) in /libraries/header_http.inc.php on line 16 Warning: Cannot add header information - headers already sent by (output started at /tbl_replace.php:63) in /libraries/header_http.inc.php on line 17 Warning: Cannot add header information - headers already sent by (output started at /tbl_replace.php:63) in /libraries/header_http.inc.php on line 20 Database test - Table tablea running on localhost Warning: Variable passed to reset() is not an array or object in /tbl_replace.php on line 63 Warning: Variable passed to each() is not an array or object in /tbl_replace.php on line 144 Warning: Cannot add header information - headers already sent by (output started at /tbl_replace.php:63) in /libraries/ob.lib.php on line 65 Warning: Cannot add header information - headers already sent by (output started at /tbl_replace.php:63) in /libraries/header_http.inc.php on line 14 Warning: Cannot add header information - headers already sent by (output started at /tbl_replace.php:63) in /libraries/header_http.inc.php on line 15 Warning: Cannot add header information - headers already sent by (output started at /tbl_replace.php:63) in /libraries/header_http.inc.php on line 16 Warning: Cannot add header information - headers already sent by (output started at /tbl_replace.php:63) in /libraries/header_http.inc.php on line 17 Warning: Cannot add header information - headers already sent by (output started at /tbl_replace.php:63) in /libraries/header_http.inc.php on line 20 Database test - Table tablea running on localhost This goes on without stopping and then crashes the server. As you can see, on Linux after a couple of initial error messages, it is coming out of the loop. This is not happening on NetWare. We have used the same code base as that of Linux as far as the error processing is concerned. So, we are wondering what is bailing out of the loop on Linux? Is it a configuration issue? Or a code issue that we may have unknowingly ignored? Please advice. FYI, we have used, error_reporting = E_ALL & ~E_NOTICE in the php.ini file. I deeply appreciate a reply to this. Thanks, Ananth.