#31160 [Fbk-Opn]: compile errors with latest version
ID: 31160 User updated by: jon at latchkey dot com Reported By: jon at latchkey dot com -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: MacOSX PHP Version: 4.3.10 Assigned To: derick New Comment: ok, it builds now...thanks for the support... Previous Comments: [2004-12-21 05:51:40] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Should be fixed, tested myself.. [2004-12-21 03:48:14] tomwoozle at ambrosiasw dot com I have the same problem with 10.2.8 Server edition. [2004-12-20 22:38:33] jkt007 at mac dot com I get the same 4.3.10 compile error on MacOS X Server 10.2.8. 4.3.10 compiles fine on MacOS X Server 10.3.6+, however. [2004-12-20 00:02:13] josephragsdale at adelphia dot net Configure fails for me as well with PHP 5.0.3. Same errors, same lines. Mac OS 10.2.8 and GCC 3.3 [2004-12-18 23:48:05] [EMAIL PROTECTED] Ok, will have a look somewhere next week. 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/31160 -- Edit this bug report at http://bugs.php.net/?id=31160edit=1
#31160 [Fbk-Opn]: compile errors with latest version
ID: 31160 User updated by: jon at latchkey dot com Reported By: jon at latchkey dot com -Status: Feedback +Status: Open Bug Type: *Compile Issues Operating System: 10.2.8 PHP Version: 4.3.10 New Comment: Same problem, different line numbers... /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:242: parse error before uint32_t /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:242: warning: no semicolon at end of struct or union /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:243: warning: data definition has no type or storage class /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:389: parse error before uint32_t /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:389: warning: no semicolon at end of struct or union /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c: In function `Balloc': /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:408: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:412: sizeof applied to an incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:413: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:414: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:416: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:416: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c: In function `Bfree': /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:429: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:429: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:430: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c: In function `multadd': /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:446: `uint32_t' undeclared (first use in this function) /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:446: (Each undeclared identifier is reported only once /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:446: for each function it appears in.) /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:446: `x' undeclared (first use in this function) /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:446: `y' undeclared (first use in this function) /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:448: parse error before xi /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:452: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:453: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:457: `xi' undeclared (first use in this function) /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:459: `z' undeclared (first use in this function) /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:470: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:471: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:472: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:472: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:472: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:476: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:477: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c: At top level: /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:487: parse error before uint32_t /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c: In function `s2b': /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:494: `nd' undeclared (first use in this function) /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:498: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:498: `y9' undeclared (first use in this function) /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:499: dereferencing pointer to incomplete type /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:507: `nd0' undeclared (first use in this function) /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c:508: `s' undeclared (first use in this function) /usr/local/src/php/php4-STABLE-200412181730/Zend/zend_strtod.c: At top level: /usr/local/src/php/php4-STABLE-200412181730
#31160 [NEW]: compile errors with latest version
From: jon at latchkey dot com Operating system: 10.2.8 PHP version: 4.3.10 PHP Bug Type: *Compile Issues Bug description: compile errors with latest version Description: gcc -IZend/ -I/usr/local/src/php/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/src/php/php-4.3.10/include -I/usr/local/src/php/php-4.3.10/main -I/usr/local/src/php/php-4.3.10 -I/usr/local/src/php/php-4.3.10/Zend -I/sw/include -I/usr/local/include -I/usr/local/imap-2004.RC6/include -I/usr/local/src/php/php-4.3.10/ext/xml/expat -no-cpp-precomp -no-cpp-precomp -I/usr/local/src/php/php-4.3.10/TSRM -g -O2 -c /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c -o Zend/zend_strtod.o echo Zend/zend_strtod.lo /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:239: parse error before uint32_t /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:239: warning: no semicolon at end of struct or union /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:240: warning: data definition has no type or storage class /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:386: parse error before uint32_t /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:386: warning: no semicolon at end of struct or union /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `Balloc': /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:405: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:409: sizeof applied to an incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:410: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:411: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:413: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:413: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `Bfree': /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:426: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:426: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:427: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `multadd': /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:443: `uint32_t' undeclared (first use in this function) /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:443: (Each undeclared identifier is reported only once /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:443: for each function it appears in.) /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:443: `x' undeclared (first use in this function) /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:443: `y' undeclared (first use in this function) /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:445: parse error before xi /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:449: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:450: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:454: `xi' undeclared (first use in this function) /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:456: `z' undeclared (first use in this function) /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:467: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:468: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:469: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:469: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:469: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:473: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:474: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: At top level: /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:484: parse error before uint32_t /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `s2b': /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:491: `nd' undeclared (first use in this function) /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:495: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:495: `y9' undeclared (first use in this function) /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:496: dereferencing pointer to incomplete type /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:504: `nd0' undeclared (first use in this function) /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:505: `s' undeclared (first use in this function) /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: At top level: /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:522: parse error before x /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c: In function `hi0bits': /usr/local/src/php/php-4.3.10/Zend/zend_strtod.c:527: `x' undeclared (first use in this function) /usr
#23220 [Com]: IIS does not cleanly close SSL connections (SSL: fatal protocol error)
ID: 23220 Comment by: jon at latchkey dot com Reported By: storozhilov at mail dot ru Status: Closed Bug Type: OpenSSL related Operating System: * PHP Version: 4CVS New Comment: I'm seeing this in 5.0.2 using HTTP_Client-1.0.0 and HTTP_Request-1.2.3, Net_Socket-1.0.2. require_once 'HTTP/Client.php'; $url = 'https://wipcore.t-mobile.com/login'; $data = array( txtMSISDN='myphonenumber', txtPassword='mypassword', tmobile='true', chkRemember='chkRemember', hdnAOL=''); $client = new HTTP_Client(); $response = $client-post($url, $data); $response = $client-currentResponse(); print_r($response); ? Warning: fread() [function.fread]: SSL: fatal protocol error in /usr/local/lib/php/Net/Socket.php on line 262 Array ( [code] = 200 [headers] = Array ( [Date] = Tue, 05 Oct 2004 06:58:40 GMT [date] = Tue, 05 Oct 2004 06:58:40 GMT [X-Powered-By] = ASP.NET [x-powered-by] = ASP.NET [cache-control] = private [pragma] = no-cache [x-rim-content-location] = /appdata/rim/idlescreen/carrier/brand [X-ContentSig] = iQA/AwUAjc1EX/glq1oAoLnzxyr1/ldOXKnENFEa88tQ+IIE [x-contentsig] = iQA/AwUAjc1EX/glq1oAoLnzxyr1/ldOXKnENFEa88tQ+IIE [Connection] = close [connection] = close [Content-Type] = text/html [content-type] = text/html [Cache-control] = private [Content-Encoding] = gzip [content-encoding] = gzip [Transfer-Encoding] = chunked [transfer-encoding] = chunked [Expires] = Wed, 01 Jan 1997 12:00:00 GMT [expires] = Wed, 01 Jan 1997 12:00:00 GMT [Vary] = Accept-Encoding [vary] = Accept-Encoding ) [body] = Previous Comments: [2004-08-24 20:54:36] robert at osuosl dot org I've noticed we've all dismissed this as a Microsoft IIS error, but we've been receiving the same warning using Apache 1.3.31 and PHP 5.0.0 and PHP 5.0.1, configured with the following options: ./configure --with-mysql=shared,/usr --prefix=/usr --with-apxs=/usr/bin/apxs-ssl --disable-rpath --with-layout=GNU --with-pear=/usr/share/php --enable-ftp --with-gettext --enable-sockets --with-zlib --with-kerberos=/usr --with-openssl --with-exec-dir=/usr/lib/php5/libexec --with-dom=shared,/usr --with-xsl --with-gettext Have any apache users had this error and corrected it? [2004-05-23 13:04:06] [EMAIL PROTECTED] Stupid bug system... The will be in the next snapshot from http://snaps.php.net. [2004-05-23 13:02:46] [EMAIL PROTECTED] This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. This has just been fixed in CVS. Note that due to the nature of the problem (eg: IIS being at fault), there is no way for PHP to determine the difference between a legitimate problem and a bogus IIS unless you are using the built-in HTTP wrapper: we inspect the headers to determine if we should show the warning or not. So, if you are manually opening an SSL stream, you still need to suppress the warning yourself based on the presence of Server: Microsoft-IIS in the headers that you read. [2004-05-03 17:56:01] grizu1 at gmx dot info Hi, this bug still exists on php4-STABLE-200405031430. ;-( System: - Linux (RedHat 8) 2.4.20-28.8 #1 Thu Dec 18 12:53:39 EST 2003 i686 i686 i386 GNU/Linux - php4-STABLE-200405031430 - OpenSSL 0.9.6b Configure command: './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql' '--with-openssl' '--with-sapdb=/opt/sapdb/interfaces/odbc/' php-script: ?php $url = https://foo.bar;; file_get_contents($url); ? Output: Warning: file_get_contents(): SSL: fatal protocol error in /www/www.default.de/html/https2.php on line 3 Any help for me? Greetings grizu [2004-04-30 15:03:05] obercik at poczta dot onet dot pl PHP Version 5.0.0RC2 Configure Command './configure' '--with-openssl' ... if ( $fp = fopen(https://, r) ) { while ( $row = fgets($fp, 1024) ) { print($row); } fclose($fp); } Warning: fgets() [function.fgets]: SSL: fatal protocol error in xxx.php on line xx however it GETS the data... 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/23220 -- Edit this bug report at http://bugs.php.net/?id=23220edit=1
#30054 [Bgs-Opn]: not getting the expected output i think i should get
ID: 30054 User updated by: jon at latchkey dot com Reported By: jon at latchkey dot com -Status: Bogus +Status: Open Bug Type: Output Control Operating System: OSX PHP Version: 5.0.0 New Comment: tell me why this is a bug. Previous Comments: [2004-09-11 15:18:48] [EMAIL PROTECTED] Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php [2004-09-10 18:21:27] jon at latchkey dot com Description: [6][ /private/tmp ]% cat test2.php ? function doA() { return true; } function doB() { return true; } ? ? if (doA()) { ?here1? } else ? ? if (doB()) { ?here2? } ? ? if (doA()) { ?here3? ? ? } else if (doB()) { ?here4? } ? [7][ /private/tmp ]% php --version PHP 5.0.0 (cli) (built: Aug 3 2004 15:10:22) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0, Copyright (c) 1998-2004 Zend Technologies [8][ /private/tmp ]% php test2.php here1here2 here3 [9][ /private/tmp ]% Reproduce code: --- ? function doA() { return true; } function doB() { return true; } ? ? if (doA()) { ?here1? } else ? ? if (doB()) { ?here2? } ? ? if (doA()) { ?here3? ? ? } else if (doB()) { ?here4? } ? Expected result: here1here2 here3here4 (or a compile error) Actual result: -- here1here2 here3 -- Edit this bug report at http://bugs.php.net/?id=30054edit=1
#30054 [Opn]: not getting the expected output i think i should get
ID: 30054 User updated by: jon at latchkey dot com Reported By: jon at latchkey dot com Status: Open Bug Type: Output Control Operating System: OSX PHP Version: 5.0.0 New Comment: tell me why this is not a bug. sorry. Previous Comments: [2004-09-11 19:31:52] jon at latchkey dot com tell me why this is a bug. [2004-09-11 15:18:48] [EMAIL PROTECTED] Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php [2004-09-10 18:21:27] jon at latchkey dot com Description: [6][ /private/tmp ]% cat test2.php ? function doA() { return true; } function doB() { return true; } ? ? if (doA()) { ?here1? } else ? ? if (doB()) { ?here2? } ? ? if (doA()) { ?here3? ? ? } else if (doB()) { ?here4? } ? [7][ /private/tmp ]% php --version PHP 5.0.0 (cli) (built: Aug 3 2004 15:10:22) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0, Copyright (c) 1998-2004 Zend Technologies [8][ /private/tmp ]% php test2.php here1here2 here3 [9][ /private/tmp ]% Reproduce code: --- ? function doA() { return true; } function doB() { return true; } ? ? if (doA()) { ?here1? } else ? ? if (doB()) { ?here2? } ? ? if (doA()) { ?here3? ? ? } else if (doB()) { ?here4? } ? Expected result: here1here2 here3here4 (or a compile error) Actual result: -- here1here2 here3 -- Edit this bug report at http://bugs.php.net/?id=30054edit=1
#30054 [NEW]: not getting the expected output i think i should get
From: jon at latchkey dot com Operating system: OSX PHP version: 5.0.0 PHP Bug Type: Output Control Bug description: not getting the expected output i think i should get Description: [6][ /private/tmp ]% cat test2.php ? function doA() { return true; } function doB() { return true; } ? ? if (doA()) { ?here1? } else ? ? if (doB()) { ?here2? } ? ? if (doA()) { ?here3? ? ? } else if (doB()) { ?here4? } ? [7][ /private/tmp ]% php --version PHP 5.0.0 (cli) (built: Aug 3 2004 15:10:22) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.0, Copyright (c) 1998-2004 Zend Technologies [8][ /private/tmp ]% php test2.php here1here2 here3 [9][ /private/tmp ]% Reproduce code: --- ? function doA() { return true; } function doB() { return true; } ? ? if (doA()) { ?here1? } else ? ? if (doB()) { ?here2? } ? ? if (doA()) { ?here3? ? ? } else if (doB()) { ?here4? } ? Expected result: here1here2 here3here4 (or a compile error) Actual result: -- here1here2 here3 -- Edit bug report at http://bugs.php.net/?id=30054edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30054r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30054r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30054r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=30054r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=30054r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30054r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30054r=needscript Try newer version: http://bugs.php.net/fix.php?id=30054r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30054r=support Expected behavior: http://bugs.php.net/fix.php?id=30054r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30054r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30054r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=30054r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30054r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=30054r=dst IIS Stability: http://bugs.php.net/fix.php?id=30054r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30054r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30054r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30054r=mysqlcfg