#24916 [Bgs-Opn]: IIS6.0 CGI PHP header()
ID: 24916 User updated by: sadun at isikun dot org Reported By: sadun at isikun dot org -Status: Bogus +Status: Open Bug Type: IIS related Operating System: Windows Server 2003 PHP Version: 4.3.2 New Comment: INET_E_REDIRECT_FAILED is kind of an error that exe can cause. for more information look at TechNET INET_E_REDIRECT_FAILED (0x800C0014L) -2,146,697,196 Attempt to redirect the navigation failed. the case is simple. login form action goes to main.php and if login is correct it sets SESSION and COOKIE then it redirects user to main.php. After redirection (which is need to set cookies) main.php checks users cookie and sessions if they are valid bla bla bla as you seee there are no loop in redirections. there is only one redirection which is done in main.php for one to set cookies. and if it is not a bug why isapi module works well ??? i wish you could fix it. cause we are waiting for this debug. we can't change all authentication for one redirection bug for spesific combination. Previous Comments: [2003-08-04 20:25:00] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. It would seem to me that if you make a redirect loop that the webserver may detect such an occurance and throw an error as it happens in your case. This is hardly a PHP bug. [2003-08-04 13:55:40] sadun at isikun dot org i forgot to pick Status Open :) still have the problem which is at the top... [2003-08-04 12:25:32] sadun at isikun dot org I FOUND THE PROBLEM IF YOU REDIRECT USER TO SAME PHP FILE IT MAKES AN ERROR LOOP. let's say i execute a code at main.php and if i redirect user to main.php you can see in the headers that it makes a loop with errors at headers with INET_E_REDIRECT_FAILED but you can redirect anywhere else except same file... CODE - ? header(Location: http://webgroup.isikun.edu.tr/arge/header.php;); ? ERROR AT HEADERS - 20:15:48.2790.109 * GET INET_E_REDIRECT_FAILED text/html http://webgroup.isikun.edu.tr/arge/header.php [2003-08-04 12:03:35] sadun at isikun dot org !!! UPS.. NOW I CAN REDIRECT WITH GET BUT NOT WITH POST i don't really know if my codes make this problem but except IIS 6.0 CGI i try it several apache servers 1.x 2.x both on unix and winNT platforms and it always worked. HERE ARE THE HEADERS 19:54:03.7320.203 * POSTINET_E_REDIRECT_FAILED text/html http://webgroup.isikun.edu.tr/main.php - (Response Status) HTTP/1.1 302 Redirect Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma no-cache Content-Length 161 Content-Typetext/html Expires Thu, 19 Nov 1981 08:52:00 GMT LocationHttp://webgroup.isikun.edu.tr/main.php Server Microsoft-IIS/6.0 X-Powered-ByPHP/4.3.3RC2 Set-Cookie PHPSESSID=ad1a199467d611ed39773d5e56358239; path=/ Set-Cookie student_session_id=6c9009a421a409c1385dde256b693840 X-Powered-ByASP.NET DateMon, 04 Aug 2003 17:00:28 GMT -- sorry for disturbing [2003-08-04 09:02:59] sadun at isikun dot org PROBLEM IS SOLVED WITH PHP4.3.3RC2 thanks for your help 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/24916 -- Edit this bug report at http://bugs.php.net/?id=24916edit=1
#24948 [NEW]: connecting on static.php.net
From: phil_bv at yahoo dot com Operating system: Linux Slackware 9.0 PHP version: Irrelevant PHP Bug Type: Unknown/Other Function Bug description: connecting on static.php.net Description: When I try to enter on the www.pnp.net, my browser ( Opera ) is blocked in Connecting to static.php.net ... sometimes I can stop the connecting, but I don't see the entire web-page :( Netscape is blocked on Transfering data from www.php.net... So I guess that is a problem there with static.php.net. That server cannot hanndle so many connections ? Is in DOS state ? Or is administratively in showdown ? Or do you filter us ? Reproduce code: --- none Expected result: none Actual result: -- none -- Edit bug report at http://bugs.php.net/?id=24948edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24948r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24948r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24948r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24948r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24948r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24948r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=24948r=support Expected behavior: http://bugs.php.net/fix.php?id=24948r=notwrong Not enough info:http://bugs.php.net/fix.php?id=24948r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=24948r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24948r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24948r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24948r=dst IIS Stability: http://bugs.php.net/fix.php?id=24948r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=24948r=gnused
#23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
ID: 23220 Comment by: uk at access dot lv Reported By: storozhilov at mail dot ru Status: Assigned Bug Type: Filesystem function related Operating System: FreeBSD 4.8 PHP Version: 4-STABLE-200307070330 Assigned To: wez New Comment: php4.3.2 configured with-openssl if ($f = fopen('https://site', 'r')) { while (!feof($f)) { $buff = fgets ($f, 1024); echo $buff; } } fclose ($f); Warning: fgets(): SSL: fatal protocol error if i read just some bits then no error. Previous Comments: [2003-07-07 00:48:32] severitt at ihug dot co dot nz After experiencing this same bug with php 4.3.2 on FreeBSD 4.4, I came searched here and found this bug report. After reading the comment to try the latest stable version, I compiled and installed php4-STABLE-200307070330. However the problem still remains. It appears that maybe feof() is not detecting the eof properly, because if I read in less bytes than the the size of the response, I don't get this warning. [2003-04-15 01:52:09] storozhilov at mail dot ru ?php $fd = fsockopen( 'ssl://www.somehost.com', 443, $errno, $errstr, 30 ); fputs($fd, GET / HTTP/1.0\r\n\r\n); while (!feof($fd)) { echo fgets($fd, 1024); ); ? After executing of this script following message appears: Warning: fgets() [function.fgets]: SSL: fatal protocol error in /blah/blah/blah/blah.php on line NN PHP was configured with following arguments: #!/bin/sh ./configure --with-apache=../apache_1.3.27rusPL30.17 --with-mod_charset --with-pgsql=/usr/local/pgsql --with-mhash --with-sybase=/usr/local --with-openssl -- Edit this bug report at http://bugs.php.net/?id=23220edit=1
#24950 [NEW]: Compiling PHP --with-oci8 --with oracle (Oracle 9i) fails
From: fschulze at more-radio dot de Operating system: Solaris8 PHP version: 4.3.2 PHP Bug Type: Compile Failure Bug description: Compiling PHP --with-oci8 --with oracle (Oracle 9i) fails Description: HI, problem to MAKE php after the following ./configure --with-apxs2=/www/currentsw/apache/bin/apxs --with-mysql=/www/currentsw/mysql --enable-versioning --enable-track-vars=yes --enable-url-includes --with-config-file-path=/www/currentsw/apache/conf --prefix=/www/bin/php-4.3.2 --with-oci8 configure looks good. make brings up hunderts of error-lines. here are the last ones: /www/source/php-4.3.2/ext/oci8/oci8.c:5472: request for member `in_call' in something not a structure or union /www/source/php-4.3.2/ext/oci8/oci8.c:5472: request for member `in_call' in something not a structure or union /www/source/php-4.3.2/ext/oci8/oci8.c:5472: parse error before ')' token /www/source/php-4.3.2/ext/oci8/oci8.c:5472: request for member `in_call' in something not a structure or union /www/source/php-4.3.2/ext/oci8/oci8.c:5480: request for member `coll_typecode' in something not a structure or union /www/source/php-4.3.2/ext/oci8/oci8.c:5494: request for member `in_call' in something not a structure or union /www/source/php-4.3.2/ext/oci8/oci8.c:5494: request for member `in_call' in something not a structure or union /www/source/php-4.3.2/ext/oci8/oci8.c:5494: request for member `tdo' in something not a structure or union /www/source/php-4.3.2/ext/oci8/oci8.c:5494: parse error before ')' token /www/source/php-4.3.2/ext/oci8/oci8.c:5494: request for member `in_call' in something not a structure or union /www/source/php-4.3.2/ext/oci8/oci8.c:5502: request for member `id' in something not a structure or union *** Error code 1 make: Fatal error: Command failed for target `ext/oci8/oci8.lo' if configured without --oci8 everything is ok. any ideas? -- Edit bug report at http://bugs.php.net/?id=24950edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24950r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24950r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24950r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24950r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24950r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24950r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=24950r=support Expected behavior: http://bugs.php.net/fix.php?id=24950r=notwrong Not enough info:http://bugs.php.net/fix.php?id=24950r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=24950r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24950r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24950r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24950r=dst IIS Stability: http://bugs.php.net/fix.php?id=24950r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=24950r=gnused
#22441 [Com]: SSL and cURL SSL break with pfpro
ID: 22441 Comment by: bduell at ncacasi dot org Reported By: eric at vlender dot com Status: No Feedback Bug Type: OpenSSL related Operating System: GNU/Linux (slackware) PHP Version: 4.3.1 New Comment: I have verified, through VeriSign, that the SDK of PayflowPro (currently, v. 3.06) is statically linked against the openssl libraries. They have no plans on changing this design, therefor we will be changing payment processors. Good luck! Previous Comments: [2003-03-09 19:15:13] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to Open. Thank you. [2003-03-04 20:11:07] [EMAIL PROTECTED] Does compiling PHP as DSO for Apache fix this? If so, you can bogus this, we already have a report about that one. [2003-02-28 19:19:56] eric at vlender dot com Well, I have now compiled in openssl-0.9.7a and cURL-7.10.3 and instead of just getting nothing, I get this in my logs: [Fri Feb 28 18:19:46 2003] [notice] child pid 11916 exit signal Segmentation fault (11) [Fri Feb 28 18:19:46 2003] [notice] child pid 11908 exit signal Segmentation fault (11) That is with an attempted fsockopen(ssl://securehost.hre, 443, errorno, error); call that works perfectly with out the -pfpro option ... I guess I can always have PHP shell out to a PERL script and manage the transaction .. Thanks for your help :) [2003-02-26 11:37:47] eric at vlender dot com On a quick side note, Payflow pro is working perfectly. We use it for our signups, and the signup procedure is functioning perfectly. Just cURL and fsockopen() are not happy.. :( I placed them in /usr/lib and /usr/local/include respectfully. /usr/local/lib/pfpro.h is a symlink to the header in /usr/local/include ~ locate pfpro | sort /usr/lib/libpfpro.so /usr/local/include/pfpro.h /usr/local/lib/pfpro.h /usr/local/src/php-4.3.1/ext/pfpro /usr/local/src/php-4.3.1/ext/pfpro/CREDITS /usr/local/src/php-4.3.1/ext/pfpro/TODO /usr/local/src/php-4.3.1/ext/pfpro/config.m4 /usr/local/src/php-4.3.1/ext/pfpro/pfpro.c /usr/local/src/php-4.3.1/ext/pfpro/pfpro.lo /usr/local/src/php-4.3.1/ext/pfpro/pfpro.o /usr/local/src/php-4.3.1/ext/pfpro/php_pfpro.h /usr/local/src/php-4.3.1/tests/testpfpro.php [2003-02-26 11:25:56] [EMAIL PROTECTED] Where are the pfpro libs and headers installed then? And you're absolutely sure you don't have any older versions laying around? (I somewhat remember there being some problems before with pfpro and openssl..) 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/22441 -- Edit this bug report at http://bugs.php.net/?id=22441edit=1
#24938 [Opn-Fbk]: Error due compiling sockets
ID: 24938 Updated by: [EMAIL PROTECTED] Reported By: sonny at sun dot com -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Solaris 9 PHP Version: 5CVS-2003-08-04 (dev) New Comment: Does this happen with the latest PHP 4 (stable) snapshots? Previous Comments: [2003-08-04 13:37:52] sonny at sun dot com Just tried with: configure: env CC=cc CXX=CC CFLAGS=-O ./configure --with-tsrm-pthreads --enable-zend-multibyte --enable-memory-limit ... Compiler: cc: Sun C 5.5 Patch 112760-01 2003/05/18 [2003-08-04 13:32:24] sonny at sun dot com Description: Compiling Error with --enable-sockets /tmp/php5-200308041730/ext/sockets/sockets.c: In function `zif_socket_recvmsg': /tmp/php5-200308041730/ext/sockets/sockets.c:1783: structure has no member named `msg_control' /tmp/php5-200308041730/ext/sockets/sockets.c:1784: structure has no member named `msg_controllen' /tmp/php5-200308041730/ext/sockets/sockets.c:1793: structure has no member named `msg_control' /tmp/php5-200308041730/ext/sockets/sockets.c:1801: structure has no member named `msg_controllen' /tmp/php5-200308041730/ext/sockets/sockets.c:1812: warning: passing arg 4 of `add_assoc_string_ex' makes pointer from integer without a cast /tmp/php5-200308041730/ext/sockets/sockets.c:1841: structure has no member named `msg_control' /tmp/php5-200308041730/ext/sockets/sockets.c:1842: structure has no member named `msg_controllen' /tmp/php5-200308041730/ext/sockets/sockets.c:1851: structure has no member named `msg_control' /tmp/php5-200308041730/ext/sockets/sockets.c:1859: structure has no member named `msg_controllen' /tmp/php5-200308041730/ext/sockets/sockets.c:1870: warning: passing arg 4 of `add_assoc_string_ex' makes pointer from integer without a cast /tmp/php5-200308041730/ext/sockets/sockets.c:1894: structure has no member named `msg_control' /tmp/php5-200308041730/ext/sockets/sockets.c:1895: structure has no member named `msg_controllen' /tmp/php5-200308041730/ext/sockets/sockets.c:1897: structure has no member named `msg_control' /tmp/php5-200308041730/ext/sockets/sockets.c:1898: structure has no member named `msg_controllen' /tmp/php5-200308041730/ext/sockets/sockets.c:1909: structure has no member named `msg_control' /tmp/php5-200308041730/ext/sockets/sockets.c:1918: structure has no member named `msg_controllen' /tmp/php5-200308041730/ext/sockets/sockets.c:1927: warning: passing arg 4 of `add_assoc_string_ex' makes pointer from integer without a cast make: *** [ext/sockets/sockets.lo] Error 1 Reproduce code: --- CONFIGURE: ./configure --prefix=/tmp/PHP --enable-memory-limit --enable-yp --enable-wddx --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-sockets --enable-pcntl --enable-cli --enable-ftp --enable-dbase --enable-dbx --enable-dio --enable-bcmath --enable-calendar GCC: gcc version 3.2 make: GNU Make version 3.79.1 Expected result: Working sockets -- Edit this bug report at http://bugs.php.net/?id=24938edit=1
#13088 [Com]: Java call creates Segmentation Fault in Apache.
ID: 13088 Comment by: bduell at ncacasi dot org Reported By: hertz60 at hotmail dot com Status: No Feedback Bug Type: Java related Operating System: Linux PHP Version: 4.0.6 New Comment: I have verified, through VeriSign, that the SDK of PayflowPro (currently, v. 3.06) is statically linked against the openssl libraries. They have no plans on changing this design, therefor we will be changing payment processors. Good luck! Previous Comments: [2002-03-25 00:00:03] php-bugs at lists dot php dot net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to Open. [2002-02-24 06:12:17] [EMAIL PROTECTED] Please test with PHP 4.1.1+JDK 1.2 and report the result back Please do not forget updating PHP version. Thanks. [2001-09-01 00:19:05] hertz60 at hotmail dot com Running Linux RH 7.1, Apache 1.3.19 (mod_ssl, OpenSSL, php is a static module), Sun JDK1.3.1(also recreated with Blackdown 1.3.1). ./configure --with-pfpro=shared,/tmp/verisign/payflowpro/linux --enable-trackvars --with-apache=/tmp/apache_1.3.19 --with-java=/usr/java/j2sdk1.3.1 --with-zlib --with-mysql=/usr/local/mysql The following is the test script: ?php $systemInfo = new Java(java.lang.System); print Total seconds since January 1, 1970: . $systemInfo-currentTimeMillis(); ? And the Backtrace: #0 0x40009e1b in _dl_lookup_versioned_symbol () at eval.c:41 #1 0x4000d816 in fixup () at eval.c:41 #2 0x4000d9b0 in _dl_runtime_resolve () at eval.c:41 #3 0x405219b2 in os::thread_local_storage_at_put () from /usr/java/jdk1.3.1/jre/lib/i386/hotspot/libjvm.so #4 0x40556887 in ThreadLocalStorage::set_thread () from /usr/java/jdk1.3.1/jre/lib/i386/hotspot/libjvm.so #5 0x40552a81 in Threads::create_vm () from /usr/java/jdk1.3.1/jre/lib/i386/hotspot/libjvm.so #6 0x404c2958 in JNI_CreateJavaVM () from /usr/java/jdk1.3.1/jre/lib/i386/hotspot/libjvm.so #7 0x40212969 in jvm_create () at java.c:254 #8 0x40212ed7 in java_call_function_handler (ht=1, return_value=0x821e444, this_ptr=0x82236f4, return_value_used=1, property_reference=0xbfffe548) at java.c:435 #9 0x0810b119 in call_overloaded_function (T=0xbfffe53c, arg_count=1, return_value=0x821e444) at ./zend_execute.c:856 #10 0x0810e45f in execute (op_array=0x821e2b4) at ./zend_execute.c:1566 #11 0x080e65be in zend_execute_scripts (type=8, file_count=3) at zend.c:752 #12 0x0807e39f in php_execute_script (primary_file=0xb880) at main.c:1206 #13 0x080f1fe6 in apache_php_module_main (r=0x8216684, display_source_mode=0) at sapi_apache.c:89 #14 0x912221260202mjm0807bdd0 in send_php () at eval.c:41 at java.c:435 #9 0x0810b119 in call_overloaded_function (T=0xbfffe53c, arg_count=1, return_value=0x821e444) at ./zend_execute.c:856 #10 0x0810e45f in execute (op_array=0x821e2b4) at ./zend_execute.c:1566 #11 0x080e65be in zend_execute_scripts (type=8, file_count=3) at zend.c:752 #12 0x0807e39f in php_execute_script (primary_file=0xb880) at main.c:1206 #13 0x080f1fe6 in apache_php_module_main (r=0x8216684, display_source_mode=0) at sapi_apache.c:89 #14 0x0807bdd0 in send_php () at eval.c:41 ---Type return to continue, or q return to quit--- #15 0x0807be05 in send_parsed_php () at eval.c:41 #16 0x08118097 in ap_invoke_handler () at eval.c:41 #17 0x0812c383 in process_request_internal () at eval.c:41 #18 0x0812c3e4 in ap_process_request () at eval.c:41 cZXfd vgb , +22.23.9 #19 0x08123769 in child_main () at eval.c:41 #20 0x08123938 in make_child () at eval.c:41 #21 0x08123aac in startup_children () at eval.c:41 #22 0x081240ff in standalone_main () at eval.c:41 #23 0x08124943 in main () at eval.c:41 #24 0x400d1177 in __libc_start_main (main=0x8124588 main, argc=2, ubp_av=0xbb5c, init=0x8063ad8 _init, fini=0x8154530 _fini, rtld_fini=0x4000e184 _dl_fini, stack_end=0xbb4c) at ../sysdeps/generic/libc-start.c:129 One note, this may not be php, the reason for this is that I got the php/java module up with Kaffe, but Sun's and Blackdown's JDK cause the Segmentation Fault. Also no core is created. -- Edit this bug report at http://bugs.php.net/?id=13088edit=1
#24282 [Opn-Fbk]: Strange Open Base Dir Restriction Errors
ID: 24282 Updated by: [EMAIL PROTECTED] Reported By: matzrek at shw-networks dot de -Status: Open +Status: Feedback Bug Type: Apache related Operating System: Suse Linux 8.2 / Apache 1.3.27 -PHP Version: 4.3.2 +PHP Version: 4.3.3RC2 New Comment: Try this in the other vhosts: php_admin_value open_basedir none Previous Comments: [2003-08-05 11:10:58] matzrek at shw-networks dot de Sorry : the latest 4.3.3RC2(!) also seens to contain this bug! [2003-08-04 04:44:49] fs at nessus dot at I have the same problem with version 4.3.2 under redhat 7.2 and apache 1.3.27. but i could recognize that the last request on the webserver what a request in the path /webs/web70, the path where the error occours... Warning: Unknown(): open_basedir restriction in effect. File(/webs/web20/html/produkte/index.php) is not within the allowed path(s): (/webs/web70/) in Unknown on line 0 Warning: Unknown(/webs/web20/html/produkte/index.php): failed to open stream: Operation not permitted in Unknown on line 0 Warning: (null)(): Failed opening '/webs/web20/html/produkte/index.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0 my php.ini: [PHP] safe_mode = Off safe_mode_gid = True register_globals = On expose_php = Off magic_quotes_gpc = On enable_dl = On max_execution_time = 60 post_max_size = 15M upload_max_size = 15M and the vhost where the error occurs: NameVirtualHost 80.252.42.2:80 php_admin_flag safe_mode On php_admin_value safe_mode_exec_dir /webs/empty VirtualHost 80.252.42.2:80 ServerName www.server.at ServerAlias server1.at server2.at DocumentRoot /webs/web20/html User web20 Group somegroup ScriptAlias /cgi-bin/ /webs/web20/html/cgi-bin/ php_admin_value open_basedir /webs/web20/ php_admin_value upload_tmp_dir /webs/web20/phptmp/ /VirtualHost i hope i could help you to find this bug. greetings, Florian Schicker www.nessus.at [2003-08-02 18:27:26] matzrek at shw-networks dot de Setting an empty open Basedir doesnt help. The only Solution at the moment is to activate teh safemode for the vhost. [2003-07-24 20:59:15] [EMAIL PROTECTED] If you set an empty open_basedir for virtual host 'a', does the problem go away? [2003-06-24 13:01:21] matzrek at shw-networks dot de the error happend at two different configurations : a) VirtualHost 213.203.204.143 ServerAdmin [EMAIL PROTECTED] ServerName www.shw-network.de ServerAlias shw-network.de ServerAlias www.shw-networks.de ServerAlias shw-networks.de DocumentRoot /home/shw-network.de/htdocs ErrorLog /home/shw-network.de/log/error_log.log CustomLog /home/shw-network.de/log/access_log.log combined CustomLog /var/log/httpd/access_log.log combined /VirtualHost an b ) VirtualHost 213.203.204.143 ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/cusomerdomain.de/htdocs/admin ServerName admin.cusomerdomain.de ServerAlias www.cusomerdomain.de ServerAlias cusomerdomain.de ErrorLog /home/cusomerdomain.de/log/error_log.log CustomLog /home/cusomerdomain.de/log/access_log.log combined CustomLog /var/log/httpd/access_log.log combined php_admin_flag safe_mode off php_admin_value open_base_dir /home/cusomerdomain.de php_admin_value safe_mode_exec_dir /bin /VirtualHost if the error happens or not seems to depend on the apache process wich handles the request. The Apache uptime may also have some effect - it did not happen, directly after an apache restart. 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/24282 -- Edit this bug report at http://bugs.php.net/?id=24282edit=1
#24595 [Com]: Cannot bind output variables.
ID: 24595 Comment by: brian_caughlin at hotmail dot com Reported By: hans at velum dot net Status: Open Bug Type: MSSQL related Operating System: Windows XP PHP Version: 5.0.0b1 (beta1) New Comment: I ran into this issue myself in 4.3.2, and found that the workaround is to use the mssql_next_result() function before attempting to access the retval and any output parameters. I also found that I don't need to pass the variables by reference. Here is the code that works for me in 4.3.2: ?php $conn=mssql_connect(myhost,user,pwd); if ($conn) { mssql_select_db(mydb,$conn); $stmt=mssql_init(procedure,$conn); mssql_bind($stmt,RETVAL,$val,SQLINT4); $ival=11; $fval=2.1416; $sval=Frank; mssql_bind($stmt,@sval,$sval,SQLVARCHAR,TRUE); mssql_bind($stmt,@intval,$ival,SQLINT4,TRUE); mssql_bind($stmt,@floatval,$fval,SQLFLT8,TRUE); $result=mssql_execute($stmt); $arr=mssql_fetch_row($result); print (Answer: . $arr[0] . ); mssql_next_result($result); print (RETVAL = $val ; intval = $ival ; floatval = $fval ; string = $sval); mssql_close($conn); } else print(ooops!); ? I hope this helps! Previous Comments: [2003-07-10 14:38:29] hans at velum dot net Yes, I verified that this is also happening with 4.3.2. I thought, based on a comment in the manual, that this was not an issue in the 4.3.2 release. I also verified that the bound values are making it *into* the stored procedure w/o incident. (E.g. I can add them to the returned result row to see that the stored procedure is aware of the values.) [2003-07-10 12:52:15] [EMAIL PROTECTED] Does this happen with PHP 4.3.2 ? [2003-07-10 12:35:09] hans at velum dot net Description: When using mssql_bind() to bind an output variable, the variable is passed into the stored procedure but the modified value is not returned. (The variable is being passed by reference to mssql_bind()). Reproduce code: --- I used the following user-contributed example from mssql_execute manual page. if we have this procedure: CREATE PROCEDURE [procedure] ( @sval varchar(50) OUTPUT, @intval int OUTPUT, @floatval decimal(6,4) OUTPUT ) AS if @intval is null select '@intval is null' as answer else select '@intval is NOT null' as answer set @sval='Hello ' + @sval set @[EMAIL PROTECTED] set @[EMAIL PROTECTED] return 10 We can use this PHP code: ?php $conn=mssql_connect(myhost,user,pwd); if ($conn) { mssql_select_db(mydb,$conn); $stmt=mssql_init(procedure,$conn); mssql_bind($stmt,RETVAL,$val,SQLINT4); $ival=11; $fval=2.1416; $sval=Frank; mssql_bind($stmt,@sval,$sval,SQLVARCHAR,TRUE); mssql_bind($stmt,@intval,$ival,SQLINT4,TRUE); mssql_bind($stmt,@floatval,$fval,SQLFLT8,TRUE); $result=mssql_execute($stmt); $arr=mssql_fetch_row($result); print (Answer: . $arr[0] . ); print (RETVAL = $val ; intval = $ival ; floatval = $fval ; string = $sval); mssql_close($conn); } else print(ooops!); Expected result: Answer: @intval is NOT nullRETVAL = 10 ; intval = 12 ; floatval = 3.1416 ; string = Hello Frank Actual result: -- Answer: @intval is NOT nullRETVAL = 0 ; intval = 11 ; floatval = 2.1416 ; string = Frank -- Edit this bug report at http://bugs.php.net/?id=24595edit=1
#24952 [NEW]: PHP .3.2 + Postgresql 4.3.x whitout SSL insert 2 elements
From: sirber at myrealbox dot com Operating system: Gentoo Linux PHP version: 4.3.2 PHP Bug Type: PostgreSQL related Bug description: PHP .3.2 + Postgresql 4.3.x whitout SSL insert 2 elements Description: Gentoo make.conf: USE=-X -gnome -kde -qt perl 3dnow mmx crypt -cups gd gif -gtk imap -java jpeg mbox ncurses png postgres samba sse ssl tcpd zlib x86 apache With apache (1 or 2), PHP 4.3.2-x and Postgresql 7.3.2-x, a pg_query($ConenctID, INSERT INTO ...); insert 2 elements. If I add mod_ssl, and use ssl, the same page insert only 1 element, which is normal. We made a lot of tests, and the pg_query is executed only once in both case, and the page is loaded only once too. Reproduce code: --- pg_query($ConnectID,INSERT INTO tblassdivision (asscontratid, dateeffective, dateterminaison, concontactid, entdivisionid, conadresseid, creepar, creedate) values ( '$contratID', $txtDateEffective, $txtDateTerminaison, '$contactID', '$divisionID', '$conAdrID' ,'$sUserID', now())); Expected result: 1 new row Actual result: -- 2 new rows without mod_ssl 1 new row with mod_ssl -- Edit bug report at http://bugs.php.net/?id=24952edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24952r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24952r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24952r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24952r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24952r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24952r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=24952r=support Expected behavior: http://bugs.php.net/fix.php?id=24952r=notwrong Not enough info:http://bugs.php.net/fix.php?id=24952r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=24952r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24952r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24952r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24952r=dst IIS Stability: http://bugs.php.net/fix.php?id=24952r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=24952r=gnused
#11584 [Com]: Apache will not start with PayFlow Pro SDK
ID: 11584 Comment by: bduell at ncacasi dot org Reported By: jeanluc at columbia dot edu Status: Closed Bug Type: Verisign Payflow Pro related Operating System: Redhat Linux 6.2 (2.2.14) PHP Version: 4.0 Latest CVS (2001-06-20) New Comment: I have verified, through VeriSign, that the SDK of PayflowPro (currently, v. 3.06) is statically linked against the openssl libraries. They have no plans on changing this design, therefor we will be changing payment processors. Good luck! Previous Comments: [2001-06-20 13:18:17] [EMAIL PROTECTED] This is not PHP bug. The PFpro libs have their own ssl libs in them which clash with the ones within your Apache. So report this to the PFpro people. [2001-06-20 13:15:37] jeanluc at columbia dot edu [ Payflow Pro ] --- Version 3.0 libpfpro.so in /usr/local/lib pfpro.h in /usr/local/include [ PHP Configure ]-- php-4.0.6RC4 './configure' '--with-apache=/usr/src/apache_1.3.0/' '--with-mysql=/usr/local/mysql/' '--enable-debug' '--enable-track-vars' '--with-sybase-ct=/opt/sybase/' '--with-pfpro' [ Apache Configuration ] -- version - Apache/1.3.0 Ben-SSL/1.19 from ./src/Configuration: AddModule modules/ssl/apache_ssl.a AddModule modules/php4/libphp4.a [ GDB Backtrace ]-- (gdb) run -X Starting program: /usr/src/apache_1.3.0/src/httpd -X Skip first time initialisation Reading certificate and key for server www.college.columbia.edu:443 Program received signal SIGSEGV, Segmentation fault. 0x4009b00c in pfproVersion () from /usr/local/lib/libpfpro.so (gdb) bt #0 0x4009b00c in pfproVersion () from /usr/local/lib/libpfpro.so #1 0x8141061 in InitSSLServer () #2 0x814534f in ap_init_modules () #3 0x814b411 in standalone_main () #4 0x814b949 in main () #5 0x4022a9cb in __libc_start_main (main=0x814b760 main, argc=2, argv=0xbb34, init=0x806437c _init, fini=0x8167c1c _fini, rtld_fini=0x4000ae60 _dl_fini, stack_end=0xbb2c) at ../sysdeps/generic/libc-start.c:92 (gdb) -- Edit this bug report at http://bugs.php.net/?id=11584edit=1
#24936 [Fbk-Csd]: FDFInitialize not defined
ID: 24936 Updated by: [EMAIL PROTECTED] Reported By: ceo at l-i-e dot com -Status: Feedback +Status: Closed Bug Type: FDF related Operating System: Mandrake 8 PHP Version: 4.3.2 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: [2003-08-04 13:56:41] [EMAIL PROTECTED] Did tell php to load the fdf extension? [2003-08-04 13:10:28] ceo at l-i-e dot com Description: Compiling from source Apache 1.3.28 + PHP 4.3.2 --with-fdftk=shared + libfdftk.so installed and displayed by ldconfig -v, yields: /usr/local/apache/bin/httpd: relocation error: /usr/lib/php/extensions/fdf.so: undefined symbol: FDFInitialize Attempting a static compilation yielded: phpinfo() then showed me that FDF was there: fdf FDF Support enabled FdfTk Version 5.0 Alas, attempting to use fdf_create() yielded: FDF Error: An internal FDF Library error occurred Previously, using RPMs of PHP 4.2.3 and Apache 1.3.26 and then compiling the PHP fdf.so from source and tossing it in the extensions directory, I was able to use FDF. So I'm reasonably certain that the FDFTK is working correctly. But I need fdf_open_string and fdf_enum_values from PHP 4.3+ A much more long-winded version of this problem is at: http://marc.theaimsgroup.com/?l=php-generalm=105976533301489w=2 -- Edit this bug report at http://bugs.php.net/?id=24936edit=1
#24204 [Com]: --with-java does not compile on Mac OS X
ID: 24204 Comment by: thesin at users dot sf dot net Reported By: php_public at macfreek dot nl Status: Analyzed Bug Type: Java related Operating System: Mac OS X (10.2.6) PHP Version: 4.3.2 Assigned To: kalowsky New Comment: java builds fine on OSX, this is the how to config: ./configure --with-java=/System/Library/Frameworks/ JavaVM.framework/Versions/1.3.1/Home I chose 1.3.1 for compat, if you have 1.4.1 it can be used. Patch the source like so: perl -pi -e 's,DL_FETCH_SYMBOL\(dl_handle\, \JNI_CreateJavaVM\\),DL_FETCH_SYMBOL\(dl_handle\, \_JNI_CreateJavaVM_Impl\\),g' ext/java/java.c perl -pi -e 's,DL_FETCH_SYMBOL\(dl_handle\, \JNI_GetDefaultJavaVMInitArgs\\),DL_FETCH_SYMBOL\(dl_ handle\, \_JNI_GetDefaultJavaVMInitArgs_Impl\\),g' ext/java/java.c and finally the config (php.ini): java.home = /System/Library/Frameworks/ JavaVM.framework/Versions/1.3.1/Home java.library = /System/Library/Frameworks/ JavaVM.framework/Versions/1.3.1/Libraries/libjvm.dylib of course the java.class.path should equal the full path to php_java.jar and I haven't figured out the java.library.path yet from what I've read it should point to the path where java.so is created and you should make a libphp_java.so symlink to java.so (Shared version) this will get you to this error when I use the java stuff in a php file: file: $system = new Java(java.lang.System); printf(Java version = %s\n, $system- getProperty(java.version)); Error: Fatal error: java.lang.UnsatisfiedLinkError: no php_java in java.library.path from reading it seems that LD_LIBRARY_PATH needs to be set but that env var doesn't exist on OS X, in it's place there is DYLD_LIBRARY_PATH and LIBRARY_PATH but neither fixed it for me, if anyone can figure this out please email me. Previous Comments: [2003-06-26 15:17:47] [EMAIL PROTECTED] I should move this to analyzed :) [2003-06-26 15:16:24] [EMAIL PROTECTED] Oddly enough this only occurs while building the CLI, I can build the CGI just fine. It looks like the -framework JavaVM is being lost in the CLI version of the build. Is there someone more knowledgable with the build structure, more specifically the CLI, that can shed a little light on this? [2003-06-16 12:43:59] php_public at macfreek dot nl Oh yes, this is not the proper fix! That's why I called it an *ugly* workaround. ;-) By the way, the file in php-4.3.2/sapi/servlet/ servlet.c will most likely have the same problem. I would have expected Apple to have made a symbolic link from /usr/include/JavaVM/jni.h to whereever the file may reside in the most current release. However, that is not the case, and Java seem to be installed, so we apparently have to deal with whatever is available. The correct solution is probably to add the appropriate -I option to the linker, by altering the configure file. [2003-06-16 07:43:53] [EMAIL PROTECTED] The short of it is, those files are needed, but I believe you're misunderstanding how frameworks work. By specifying the full path you are (potentially) invalidating future release of the JavaVM framework. The proper answer is to figure out why the jni.h file is not being used by JavaVM framework. I'll try to reproduce it later today. [2003-06-16 07:10:17] php_public at macfreek dot nl Description: In short, Java does not compile on Mac OS X, because the Java headers are at an other location then java.c expects them. configure does work. Reproduce code: --- On Mac OS X (Darwin): ./configure --with-java=/usr (you can leave the =/usr out). make Actual result: -- /Users/freek/Downloads/php-4.3.2/ext/java/java.c:39:24: JavaVM/jni.h: No such file or directory This is due to this code: #if HAVE_JAVAVM_JAVAVM_H #include JavaVM/JavaVM.h #include JavaVM/jni.h #define JNI_12 #else #include jni.h #endif In php_config.h, the precompiler directive HAVE_JAVAVM_JAVAVM_H was set, even though there is no file on my system called JavaVM/JavaVM.h As an ugly workaround, specifying the full path did work: #include /System/Library/Frameworks/JavaVM.framework/ Versions/A/Headers/JavaVM.h #include /System/Library/Frameworks/JavaVM.framework/ Versions/1.3.1/Headers/jni.h Apparently, jni.h is not in Java VM 1.4.1, which is also installed on Mac OS X. But to be honest, I got crazy about all symbolic links in /System/Library/ Frameworks/JavaVM.framework/ -- Edit this bug report at http://bugs.php.net/?id=24204edit=1
#24946 [Bgs]: Remote includes fail
ID: 24946 User updated by: purplespirit at hccnet dot nl Reported By: purplespirit at hccnet dot nl Status: Bogus Bug Type: Apache2 related Operating System: Windows XP Pro PHP Version: 4.3.2 New Comment: Indeed, had to move the php4ts.dll to another dir to get this one to work. Remote includes work fine, thanks very much for your time! Previous Comments: [2003-08-05 10:40:44] [EMAIL PROTECTED] Works fine here, you're doing something wrong. Ask support questions elsewhere. [2003-08-05 07:38:21] purplespirit at hccnet dot nl Sorry to bother you again, but I did use the latest stable version, php4-win32-STABLE-200308051230.zip Thanks for your patience [2003-08-05 06:57:25] [EMAIL PROTECTED] You don't need to change it to php5_module for the latest *STABLE* snapshout. The exact configuration that you have using 4.3.2 should work there. [2003-08-05 06:52:18] purplespirit at hccnet dot nl Thanks for your quick reply. Sorry, that one keeps giving me the 'Cannot load C:/Apache2/PHP5/sapi/php4apache2.dll into server' message although I tried the change of 'php4_module' to 'php5_module' in the HTTPd.conf Thanks for your kind interest [2003-08-05 02:29:18] [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 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/24946 -- Edit this bug report at http://bugs.php.net/?id=24946edit=1
#24899 [Opn-Csd]: errors compiling whith sybase
ID: 24899 Updated by: [EMAIL PROTECTED] Reported By: ejantos at yahoo dot com -Status: Open +Status: Closed Bug Type: Sybase (dblib) related Operating System: redhat 9.0 PHP Version: 4.3.2 New Comment: Works fine with latest CVS. (I fixed the last compile errors) Previous Comments: [2003-08-05 08:35:12] ejantos at yahoo dot com hello, thanks for your help. now php-4.3.2 works on my linux box redhat-9.0 with sybase-11.9.*. i had to put this configure flag --disable-cli. without this flag it doesn't work with sybase 11.9.*. these are my configuration flags: ./configure \ --prefix=/usr/local/apache/httpd_1.3.28/php4 \ --with-apxs=/usr/local/apache/httpd_1.3.28/bin/apxs \ --enable-EAPI \ --enable-bcmath \ --enable-calendar \ --enable-exif \ --enable-sigchild \ --enable-trans-sid \ --enable-gettext \ --enable-magic-quotes \ --enable-mcal \ --enable-mcrypt \ --enable-mhash \ --enable-shmop \ --enable-sysvsem \ --enable-sysvshm \ --with-gmp=/usr \ --with-gd=/usr/local \ --enable-gd \ --enable-gd-native-ttf \ --enable-gd-imgstrttf \ --with-jpeg-dir=/usr/local \ --enable-tiff-dir=/usr \ --with-freetype-dir=/usr/local \ --with-t1lib=/usr/local \ --with-xpm-dir=/usr/X11R6 \ --with-png-dir=/usr/local \ --with-zlib-dir=/usr \ --with-zlib \ --with-bz2=/usr \ --with-mm=/usr/local \ --enable-mbstring \ --enable-mbstr-enc-trans \ --enable-dio \ --enable-mime-magic \ --with-openssl=/usr \ --enable-curl \ --with-tsrm-pthreads \ --enable-ftp \ --enable-imap \ --enable-imap-ssl \ --enable-mailparse \ --with-java=/usr/java/j2sdk \ --with-dom-xslt=/usr \ --with-dom-exslt=/usr \ --with-dom=/usr \ --with-expat-dir=/usr \ --with-gnu-ld \ --enable-dbase \ --enable-dba \ --enable-cdb \ --enable-dbx \ --with-pgsql=/usr \ --with-mysql=/usr \ --with-gdbm=/usr \ --with-db4=/usr \ --disable-ctype \ --enable-libgcc \ --enable-pdflib \ --disable-cli \ --with-sybase-ct=/opt/sybase-11.9.2 tomio [2003-08-05 02:44:30] ejantos at yahoo dot com Hallo, i still have the same message when i use php4-STABLE-latest.tar.gz with tihis configuration: ./configure \ --prefix=/usr/local/apache/httpd_1.3.28/php4 \ --with-apxs=/usr/local/apache/httpd_1.3.28/bin/apxs \ --enable-calendar \ --enable-exif \ --enable-gd \ --with-pgsql=/usr \ --enable-trans-sid \ --with-gmp --with-mysql=/usr \ --enable-t1lib --with-t1lib=/usr/local --with-jpeg-dir=/usr/local \ --with-gd=/usr/local \ --with-freetype-dir=/usr/local \ --with-png-dir=/usr/local --enable-png \ --enable-zlib --with-zlib-dir=/usr \ --with-mm=/usr/local \ --enable-mbstr-enc-trans --enable-mbstring \ --with-openssl=/usr \ --disable-cli \ --with-sybase=/opt/sybase-11.9.2 /usr/local/jantos/CVSROOT/Webserver/apache/php4-STABLE-200308050530/ext/sybase/php_sybase_db.c: In function `zif_sybase_select_db': /usr/local/jantos/CVSROOT/Webserver/apache/php4-STABLE-200308050530/ext/sybase/php_sybase_db.c:655: invalid type argument of `-' /usr/local/jantos/CVSROOT/Webserver/apache/php4-STABLE-200308050530/ext/sybase/php_sybase_db.c:655: invalid type argument of `-' /usr/local/jantos/CVSROOT/Webserver/apache/php4-STABLE-200308050530/ext/sybase/php_sybase_db.c:655: incompatible types in initialization /usr/local/jantos/CVSROOT/Webserver/apache/php4-STABLE-200308050530/ext/sybase/php_sybase_db.c:655: incompatible types in assignment /usr/local/jantos/CVSROOT/Webserver/apache/php4-STABLE-200308050530/ext/sybase/php_sybase_db.c:655: invalid type argument of `unary *' /usr/local/jantos/CVSROOT/Webserver/apache/php4-STABLE-200308050530/ext/sybase/php_sybase_db.c:655: incompatible type for argument 1 of `_zval_copy_ctor' /usr/local/jantos/CVSROOT/Webserver/apache/php4-STABLE-200308050530/ext/sybase/php_sybase_db.c:655: invalid type argument of `-' /usr/local/jantos/CVSROOT/Webserver/apache/php4-STABLE-200308050530/ext/sybase/php_sybase_db.c:655: invalid type argument of `-' /usr/local/jantos/CVSROOT/Webserver/apache/php4-STABLE-200308050530/ext/sybase/php_sybase_db.c:655: incompatible type for argument 1 of `_convert_to_string' /usr/local/jantos/CVSROOT/Webserver/apache/php4-STABLE-200308050530/ext/sybase/php_sybase_db.c:657: invalid type argument of `unary *' /usr/local/jantos/CVSROOT/Webserver/apache/php4-STABLE-200308050530/ext/sybase/php_sybase_db.c: In function `zif_sybase_free_result': /usr/local/jantos/CVSROOT/Webserver/apache/php4-STABLE-200308050530/ext/sybase/php_sybase_db.c:963: request for member `value' in something not a structure or union make: *** [ext/sybase/php_sybase_db.lo] Error 1 [2003-08-04 09:38:02] [EMAIL PROTECTED] The compile failures should be fixed in CVS now. Should be in snapshot(s) in an hour from now.
#24666 [Fbk-Opn]: random blank pages for any code on any php page
ID: 24666 User updated by: dhunter at uta dot edu Reported By: dhunter at uta dot edu -Status: Feedback +Status: Open Bug Type: Apache related Operating System: Solaris 8 PHP Version: 4.3.2 New Comment: I did this prior to submitting the bug. See Description. - Thanks Previous Comments: [2003-08-05 15:10:25] [EMAIL PROTECTED] Take at a look @ your apache's primary error log file, see if there are any messages from php or reports of crashed apache children. [2003-07-22 22:26:14] dhunter at uta dot edu I've had php logging on the entire time. That's the reason I haven't been able to track this down. We have been using php extensively for a long time and I've never experienced this before. When a page prints blank the access log entry is: www.uta.edu 64.12.96.203 - - [22/Jul/2003:21:59:00 -0500] GET /uta/current HTTP/1.1 200 5 http://www.uta.edu/; Mozilla/4.0 (compatible; MSIE 5.0; AOL 8.0; Windows 98; DigExt) The same page should report 22430 bytes like the following: www.uta.edu 67.66.182.19 - - [22/Jul/2003:22:09:57 -0500] GET /uta/current HTTP/1.1 200 22430 - Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6 StumbleUpon/1.73 What could have changed between 4.3.1 and 4.3.2 that could cause this. [2003-07-21 18:03:13] [EMAIL PROTECTED] Try to enable logging of php errors and see if the php error contains any errors that could explain the cause for the blank pages. [2003-07-20 17:35:31] dhunter at uta dot edu Thanks for the input. I wasn't able to reproduce the error in debug mode. Maybe increased traffic increases the frequency of occurrence. Here is what I have done. I rebuilt all of the web server components, apache, ssl, php, using a newer version of gcc (3.2.3), and I removed some of php's configuration options. As I mentioned I wasn't able to reproduce the problem in apache's debug mode, and gdb didn't have anything to report. The problem continues to occur with the rebuilt components, so I am continuing to use 4.3.1 for now. I'll build the snapshot and see if the error is still present. Summary: - plain html pages are ok. - php pages randomly print blanks regardless of code. - occurs with apache 1.3.27 or 1.3.28, and php 4.3.2 on sparc solaris 8 - php 4.3.1 works great [2003-07-16 21:05:01] [EMAIL PROTECTED] Oopps, made a slight mistake, run it like: # gdb httpd (gdb) run -X -DSSL 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/24666 -- Edit this bug report at http://bugs.php.net/?id=24666edit=1
#24916 [Opn-Bgs]: IIS6.0 CGI PHP header()
ID: 24916 Updated by: [EMAIL PROTECTED] Reported By: sadun at isikun dot org -Status: Open +Status: Bogus Bug Type: IIS related Operating System: Windows Server 2003 PHP Version: 4.3.2 New Comment: Please stop reopening this, there is no bug. (ask support for this kind of obvious configuration errors elsewhere, like [EMAIL PROTECTED] for example) Previous Comments: [2003-08-05 01:16:37] sadun at isikun dot org INET_E_REDIRECT_FAILED is kind of an error that exe can cause. for more information look at TechNET INET_E_REDIRECT_FAILED (0x800C0014L) -2,146,697,196 Attempt to redirect the navigation failed. the case is simple. login form action goes to main.php and if login is correct it sets SESSION and COOKIE then it redirects user to main.php. After redirection (which is need to set cookies) main.php checks users cookie and sessions if they are valid bla bla bla as you seee there are no loop in redirections. there is only one redirection which is done in main.php for one to set cookies. and if it is not a bug why isapi module works well ??? i wish you could fix it. cause we are waiting for this debug. we can't change all authentication for one redirection bug for spesific combination. [2003-08-04 20:25:00] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. It would seem to me that if you make a redirect loop that the webserver may detect such an occurance and throw an error as it happens in your case. This is hardly a PHP bug. [2003-08-04 13:55:40] sadun at isikun dot org i forgot to pick Status Open :) still have the problem which is at the top... [2003-08-04 12:25:32] sadun at isikun dot org I FOUND THE PROBLEM IF YOU REDIRECT USER TO SAME PHP FILE IT MAKES AN ERROR LOOP. let's say i execute a code at main.php and if i redirect user to main.php you can see in the headers that it makes a loop with errors at headers with INET_E_REDIRECT_FAILED but you can redirect anywhere else except same file... CODE - ? header(Location: http://webgroup.isikun.edu.tr/arge/header.php;); ? ERROR AT HEADERS - 20:15:48.2790.109 * GET INET_E_REDIRECT_FAILED text/html http://webgroup.isikun.edu.tr/arge/header.php [2003-08-04 12:03:35] sadun at isikun dot org !!! UPS.. NOW I CAN REDIRECT WITH GET BUT NOT WITH POST i don't really know if my codes make this problem but except IIS 6.0 CGI i try it several apache servers 1.x 2.x both on unix and winNT platforms and it always worked. HERE ARE THE HEADERS 19:54:03.7320.203 * POSTINET_E_REDIRECT_FAILED text/html http://webgroup.isikun.edu.tr/main.php - (Response Status) HTTP/1.1 302 Redirect Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma no-cache Content-Length 161 Content-Typetext/html Expires Thu, 19 Nov 1981 08:52:00 GMT LocationHttp://webgroup.isikun.edu.tr/main.php Server Microsoft-IIS/6.0 X-Powered-ByPHP/4.3.3RC2 Set-Cookie PHPSESSID=ad1a199467d611ed39773d5e56358239; path=/ Set-Cookie student_session_id=6c9009a421a409c1385dde256b693840 X-Powered-ByASP.NET DateMon, 04 Aug 2003 17:00:28 GMT -- sorry for disturbing 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/24916 -- Edit this bug report at http://bugs.php.net/?id=24916edit=1