Bug #15585: Unable to load dynamic library
From: [EMAIL PROTECTED] Operating system: Windows XP PHP version: 4.1.1 PHP Bug Type: IIS related Bug description: Unable to load dynamic library I have seen this posted in other places, but I never have seen how it gets resolved... Here is the situation: Windows XP, NTFS, IIS5, PHP 4.1.1 and trying to install the debugger with dll= php_dbg.dll. I modified the php.ini to add extension: extension=php_dbg.dll and the extension dir= "c:\PHP\extensions" I have the php_dbg.dll in the directory: c:\PHP\extensions I gave the php_dbg.dll module FULL CONTROL Access from NTFS to IUSR_xxx and to Everyone( Just to eliminate and read and execute permissions problems) and I still get the "unable to load dynamic library 'c:\PHP\extensions\php_dbg.dll' - The specified procedure could not be found. What could it be? -- Edit bug report at http://bugs.php.net/?id=15585&edit=1 -- Fixed in CVS:http://bugs.php.net/fix.php?id=15585&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=15585&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15585&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15585&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15585&r=support Expected behavior: http://bugs.php.net/fix.php?id=15585&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15585&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15585&r=submittedtwice
Bug #15584 Updated: strftime("%D") problem
ID: 15584 Updated by: [EMAIL PROTECTED] -Summary: strftime("%D") problem Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Date/time related Operating System: win2k AS/Linux unknown PHP Version: 4.1.1 New Comment: print print (strftime("%D")); One print will do the job! print strftime("%D"); Previous Comments: [2002-02-15 23:40:47] [EMAIL PROTECTED] Hi, Running Win2k AS, Apache 1.3.23, PHP-Modul. Had some problems with strftime("%D"); "; print print (strftime("%D")); //outputs nothing ?> should both return the same result, the first displays nothing (empty string), the second one is working fine. The manual says for conversion specifiers: %D - same as %m/%d/%y Tried the same on a linux-box at my ISP (4.1.0, Apache 1.3.22, Kernel 2.2.19, Modulversion): "; print print (strftime("%D")); //02/16/021 ?> So my conclusion : strftime("%D") doesn´t work on win2k and seems to be broken on linux. Thanks Friedhelm Betz P.S.: On win2k standard Installation, no extra extensions enabled. The configure at th elinux-box from ISP: './configure' '--with-config-file-path=/etc' '--enable-xslt' '--with-xslt-sablot' '--with-mysql=/usr/local/mysql' '--with-mcrypt=/usr/local' '--with-apache=../apache_current' '--with-ttf=/usr/local' '--with-t1lib=/usr/local' '--with-gd=/usr/' '--enable-gd-native-ttf' '-with-pdflib' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/lib' '--with-tiff-dir=/usr/local/lib' '--with-imap=/usr/local' '--with-java=/usr/local/java2' '--with-zlib' '--with-dom' '--with-ming' '--with-swf=/usr/local' '--enable-bcmath' '--enable-ftp' '--enable-calendar' '--enable-memory-limit' '--enable-discard-path' -- Edit this bug report at http://bugs.php.net/?id=15584&edit=1
Bug #8744 Updated: call to header() causes CGI error
ID: 8744 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: No Feedback +Status: Open Bug Type: IIS related Operating System: Windows 2000 PHP Version: 4.0.4pl1 New Comment: Reopening. Previous Comments: [2002-02-15 18:24:04] [EMAIL PROTECTED] I have tried 4.1.1 with win2k and the bug still exists. [2002-02-02 06:39:14] [EMAIL PROTECTED] No feedback was provided for this bug, so it is being suspended. If you are able to provide the information that was requested, please do so and change the status of the bug back to "Open". [2002-01-12 06:55:40] [EMAIL PROTECTED] How does this work on 4.1.1? [2001-02-12 17:30:21] [EMAIL PROTECTED] i have the same problem here. when i turn on the log startup errors flag in the php.ini i get the following output : __ CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: FATAL: erealloc(): Unable to allocate 1043162510 bytes __ i guess there's something wrong within the parser or compiler, because nothing of the code is executed. unfortunatelly i don't have 1GB RAM so i would be happy if there is any solution to this. harald. [2001-01-16 18:30:59] [EMAIL PROTECTED] In case you missed my second message: Here are two typical lines from the IIS error log: the first is a successful page load (code 200) and the second is the CGI error after the redirect (502) Note that in the IIS log format it is normal for a space to separate the URL and the Querystring. The last column in the log is the referrer URL. 2001-01-16 17:20:30 192.168.1.29 - GET /success/ProbRev.php3 EmpID=5&New=Y 200 0 378 Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+98;+Win+9x+4.90) http://192.168.1.30/success/InterimRevSelect.php3?EmpID=5 2001-01-16 17:20:30 192.168.1.29 - GET /success/ProbRev.php3 EmpID=5&ProbRevID=12 502 0 374 Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+98;+Win+9x+4.90) http://192.168.1.30/success/InterimRevSelect.php3?EmpID=5 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/8744 -- Edit this bug report at http://bugs.php.net/?id=8744&edit=1
Bug #15131 Updated: XSLT Causing Core Dumps
ID: 15131 Updated by: [EMAIL PROTECTED] -Reported By: [EMAIL PROTECTED] +Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproducible crash Operating System: RedHat 7.2 PHP Version: 4.1.1 New Comment: I am getting this as well, driving me nuts. Copy of email sent to Sablotron list as well. Also: could this be due to PHP's bundled expat possibly at all? Something to look at I guess, but then again, I'm not that technical on the PHP internals. The machine is Redhat Linux 7.1, PHP 4.1.1, Sablotron 0.82, Apache 1.3.23. I have followed the directions every match of a segfault+php+sablotron+apache on google matched - recompile apache WITHOUT it's expat_lite. Well, I've done that. I renamed the expat_lite dir AND used the --disable-rule=EXPAT, and did a "strings httpd | grep -i expat" and grepped for xml as well, and did an "nm" on the binary as well - no trace of any of that. I also removed the whole apache hierarchy to install it fresh. However, my calls to xslt_process() still give me: [Sat Feb 16 01:46:55 2002] [notice] child pid 6871 exit signal Segmentation fault (11) [Sat Feb 16 01:46:56 2002] [notice] child pid 6894 exit signal Segmentation fault (11) [Sat Feb 16 01:46:58 2002] [notice] child pid 6867 exit signal Segmentation fault (11) [Sat Feb 16 01:47:01 2002] [notice] child pid 6868 exit signal Segmentation fault (11) in fact, now each page load reports TWO errors. the "sabcmd" command works fine, and is able to understand these. technically this shouldn't be a Sablotron bug, but I was hoping someone there would have more pointers to fix this, or find more information about it on their side... but I think the fix will be from the PHP team. php configure: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --enable-track-vars --with-curl --with-openssl --enable-sockets --enable-shmop --enable-sysvsem --enable-sysvshm --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-gd --with-zlib-dir=/usr --enable-xslt --with-expat-dir=/usr/local --with-xslt-sablot checking for XML support... yes checking external libexpat install dir... yes checking for XMLRPC-EPI support... no checking libexpat dir for XMLRPC-EPI... yes checking whether to enable xslt support... yes checking whether to enable the XSLT Sablotron backend... yes checking libexpat dir for Sablotron XSL support... yes checking for Sablotron libraries in the default path... found Sablotron in /usr/local checking for iconv_open in -lc... yes checking for SablotSetEncoding in -lsablot... yes checking for YAZ support... no ^^ i believe that's as good as it can look. it found my system expat, and sablotron. apache doesnt even care about expat. everything seems to be reading from this central expat, so why doesn't it work? Previous Comments: [2002-01-20 22:29:03] [EMAIL PROTECTED] Bug Trace, as best as I can get... root@dev:/usr/local/apache/bin# gdb /usr/local/apache/bin/httpd GNU gdb Red Hat Linux 7.x (5.0rh-15) (MI_OUT) Copyright 2001 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux"...(no debugging symbols found)... (gdb) run -X Starting program: /usr/local/apache/bin/httpd -X [New Thread 1024 (LWP 12186)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 12186)] 0x400a3f62 in Situation::generateMessage (this=0x6e617473, type=578643299, code=1667846974, arg1=@0x662f3c6b, arg2=@0x3e746e6f, theMessage=@0x68742f3c) at situa.cpp:279 279 if (messenger && !(flags & SAB_NO_ERROR_REPORTING)) Current language: auto; currently c++ (gdb) bt #0 0x400a3f62 in Situation::generateMessage (this=0x6e617473, type=578643299, code=1667846974, arg1=@0x662f3c6b, arg2=@0x3e746e6f, theMessage=@0x68742f3c) at situa.cpp:279 #1 0x6e49646f in ?? () Cannot access memory at address 0x6d247b64 (gdb) [2002-01-20 20:37:38] [EMAIL PROTECTED] I have repeatedly and on different physical machines compiled the following: Sablotron 0.81 Expat 1.95.2 Apache 1.3.22 PHP 4.1.1 When I run an XSLT Transform, Apache core dumps. I get, in the error log: [Sun Jan 20 15:12:33 2002] [notice] child pid 17404 exit signal Segmentation fault (11) I can use the sabcmd binary that comes with Sablotron, and successfully transform the XML/XSLT without incident, so I don't think I have a bad Sab compile. Any assistance is greatly appreciated. I am recompiling Apache with debugging, tonight. Please
Bug #8744 Updated: call to header() causes CGI error
ID: 8744 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Critical Bug Type: IIS related Operating System: Windows 2000 -PHP Version: 4.0.4pl1 +PHP Version: 4.1.1 New Comment: This problem also occurs when using apache, and a real url as opposed to a relative url (ie, having the php.exe engine exposed in the docroot). I cannot determine if it's the same cause, but it's definitely the same symptom. if this could get fixed, it'd fix a big security hole we have now. james. Previous Comments: [2002-02-16 05:15:00] [EMAIL PROTECTED] Reopening. [2002-02-15 18:24:04] [EMAIL PROTECTED] I have tried 4.1.1 with win2k and the bug still exists. [2002-02-02 06:39:14] [EMAIL PROTECTED] No feedback was provided for this bug, so it is being suspended. If you are able to provide the information that was requested, please do so and change the status of the bug back to "Open". [2002-01-12 06:55:40] [EMAIL PROTECTED] How does this work on 4.1.1? [2001-02-12 17:30:21] [EMAIL PROTECTED] i have the same problem here. when i turn on the log startup errors flag in the php.ini i get the following output : __ CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: FATAL: erealloc(): Unable to allocate 1043162510 bytes __ i guess there's something wrong within the parser or compiler, because nothing of the code is executed. unfortunatelly i don't have 1GB RAM so i would be happy if there is any solution to this. harald. 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/8744 -- Edit this bug report at http://bugs.php.net/?id=8744&edit=1
Bug #15585 Updated: Unable to load dynamic library
ID: 15585 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: IIS related Operating System: Windows XP PHP Version: 4.1.1 New Comment: The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Previous Comments: [2002-02-16 04:02:22] [EMAIL PROTECTED] I have seen this posted in other places, but I never have seen how it gets resolved... Here is the situation: Windows XP, NTFS, IIS5, PHP 4.1.1 and trying to install the debugger with dll= php_dbg.dll. I modified the php.ini to add extension: extension=php_dbg.dll and the extension dir= "c:\PHP\extensions" I have the php_dbg.dll in the directory: c:\PHP\extensions I gave the php_dbg.dll module FULL CONTROL Access from NTFS to IUSR_xxx and to Everyone( Just to eliminate and read and execute permissions problems) and I still get the "unable to load dynamic library 'c:\PHP\extensions\php_dbg.dll' - The specified procedure could not be found. What could it be? -- Edit this bug report at http://bugs.php.net/?id=15585&edit=1
Bug #15582 Updated: Sporatic Oracle 600 error when using OCI as connector
ID: 15582 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: OCI8 related Operating System: Window NT, 2000 PHP Version: 4.0.6 New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Previous Comments: [2002-02-15 17:47:12] [EMAIL PROTECTED] We have an application that use the php_oci8.dll and what happened is that we get sporadic disconnection from Oracle and the Oracle will have a 600 error (means blue screen of death of Oracle). We seeks help from Oracle and after much difficulty they told us it is an network error and if we cannot reproduce in SQL Plus they will not support us. We have a full duplex @ 100 mbs so it should not be an issues. All evidence so far point to how PHP use OCI connect to Oracle. Any of you have some idea or suggestion will be greatly appreciated. regards, Phillip -- Edit this bug report at http://bugs.php.net/?id=15582&edit=1
Bug #15565 Updated: AND operation errors on datas from MySQL Table
ID: 15565 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback -Bug Type: MySQL related +Bug Type: Math related Operating System: any PHP Version: 4.1.1 New Comment: Works fine for me. Does the following script work for you? $a = 0x; $b = 0x0F0F0F0F; $x = $a & $b; echo decbin($a)."\n".decbin($b)."\n".decbin($x)."\n"; What OS are you running? (reclassified) Previous Comments: [2002-02-15 06:01:55] [EMAIL PROTECTED] Hello Can I submit a strange problem PHP / MySQL ? >From a very simple table, 1 key ( BYTE ), 2 vars ( INTEGER ) I initialise two records whith some values. I read the first var from first record and second var from second record. I do the AND ( & ) functiun on the two vars and I get a wrong result. I join my test script to my request. Please send problem analysis to [EMAIL PROTECTED] Best regards. Functiun AND Check No access to Data Base Server." ); exit(); } if (! @mysql_select_db("BaseTest") ) { echo( "No access to Data Base." ); exit(); } // Table Création. $sql = "CREATE TABLE TEST ( ". " Num TINYINT UNSIGNED not null AUTO_INCREMENT, ". " V1 INT (10) UNSIGNED not null, ". " V2 INT (10) UNSIGNED not null, ". " PRIMARY KEY (Num), ". " UNIQUE (Num)) ". " comment = 'Table de Test.';"; $crt = mysql_query($sql); // First record create. $x = 0X; $sql = "INSERT INTO TEST SET ". " V1='$x';"; $ce = mysql_query($sql); // Second record create. $x = 0X0f0f0f0f; $sql = "INSERT INTO TEST SET ". " V2='$x';"; $ce = mysql_query($sql); // Vars initialisation . $a = 0; $b = 0; // First record Read. $rt = MYSQL_QUERY("SELECT V1 FROM TEST WHERE (Num = 1)") or die("Erreur No: ".mysql_error()); $ct = mysql_fetch_array($rt); if ($ct) { $a = $ct[V1]; } mysql_free_result ($rt); // Second record read. $rt = MYSQL_QUERY("SELECT V2 FROM TEST WHERE (Num = 2)") or die("Erreur No: ".mysql_error()); $ct = mysql_fetch_array($rt); if ($ct) { $b = $ct[V2]; } mysql_free_result ($rt); // AND functiun on results and display. $x = $a & $b; echo ("Var A = ".DecBin($a).""); echo ("Var B = ".DecBin($b).""); echo ("AND Result = ".DecBin($x).""); // Correct display for vars. // Waiting AND Result = // I get AND Result = 1100010101010011001 // Where the error is?. ?> -- Edit this bug report at http://bugs.php.net/?id=15565&edit=1
Bug #15576 Updated: Got "Warning: Problem with method call. Report this bug in xxx.php" error
ID: 15576 Updated by: [EMAIL PROTECTED] -Summary: Got "Warning: Problem with method call. Report this bug in xxx.php" error Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Class/Object related Operating System: Linux PHP Version: 4.0.6 New Comment: Can't reproduce with the latest CVS. Can you try the latest CVS? Previous Comments: [2002-02-15 14:06:52] [EMAIL PROTECTED] Got this rather strange error msg. that asks for a bug report. Ok here we go, it happens here - when I try to 1. generate an object from class objectFactory, 2. inside a class method, 3. and returning a reference to it (without the reference it worked) $factory = &objectFactory::install(); class objectFactory { ... function &install() { global $globar; if (!$globar[objectFactory]) { $globar[objectFactory] = new objectFactory(); } return $globar[objectFactory]; } } Hope that helped.. Cheers - Martin -- Edit this bug report at http://bugs.php.net/?id=15576&edit=1
Bug #14746 Updated: Problem whith option --with-mnogosearch
ID: 14746 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: No Feedback +Status: Analyzed Bug Type: mnoGoSearch related Operating System: Red Hat 7.2 -PHP Version: 4.1.0 +PHP Version: 4.1.1 New Comment: The PHP 4.1.0 and 4.1.1-Versions don't support mnoGoSearch 3.2.x. The solution is either to use a CVS-Snapshot of PHP, or if you don't like CVS snaphots, at least to update ext/mnogosearch this way: - rm ext/mnogosearch - download and extract PHP extension module vwrsion 1.49 from www.mnogosearch.ru - ./buildconf in the main sourcetree - your configure, make, make install should work normal... at least it would'nt fail with mnogosearch. Previous Comments: [2002-01-19 11:26:15] [EMAIL PROTECTED] No feedback. Closing. [2001-12-28 19:30:22] [EMAIL PROTECTED] What version of mnogosearch are you using? The current stable version of mnogosearch compiles fine (mnoGoSearch-3.1.19). [2001-12-28 16:37:27] [EMAIL PROTECTED] Hi... I have a problem in configuration of php-4.0.6 and php-4.1.0 when I use the option --with-mnogosearch PHP Configuration ./configure --with-pgsql=/usr/local/pgsql --enable-track-vars --disable-debug --with-apxs=/usr/local/apache/bin/apxs --enable-versioning --with-config-file-path=/usr/php4/lib --enable-libgcc --with-imap=/usr/local/lib --enable-ftp --with-mysql --with-kerberos --with-sybase-ct=/opt/sybase-11.9.2 --with-openssl=../openssl-0.9.6b/ --with-mnogosearch -- /bin/sh /root/php-4.1.0/libtool --silent --mode=compile gcc -I. -I/root/php-4.1.0/main -I/root/php-4.1.0/main -I/root/php-4.1.0 -I/usr/local/apache/include -I/root/php-4.1.0/Zend -I/root/openssl-0.9.6b/include -I/usr/include/imap -I/usr/local/mnogosearch/include -I/root/php-4.1.0/ext/mysql/libmysql -I/opt/sybase-11.9.2/include -I/root/php-4.1.0/ext/xml/expat -DLINUX=22 -DMOD_SSL=208104 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I/root/php-4.1.0/TSRM -g -O2 -prefer-pic -c internal_functions.c In file included from /usr/local/mnogosearch/include/udmsearch.h:37, from /root/php-4.1.0/ext/mnogosearch/php_mnogo.h:31, from internal_functions.c:34: /usr/local/mnogosearch/include/udm_doc.h:7: parse error before `1' make[2]: *** [internal_functions.lo] Error 1 make[2]: Leaving directory `/root/php-4.1.0/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/php-4.1.0/main' make: *** [all-recursive] Error 1 -- Edit this bug report at http://bugs.php.net/?id=14746&edit=1
Bug #15586: disable outputbuffering results in no global vars
From: [EMAIL PROTECTED] Operating system: Windows/Linux PHP version: 4.1.1 PHP Bug Type: Output Control Bug description: disable outputbuffering results in no global vars When i disable output buffering the following does not work anymore I read the request,check if the query part is a locatable file and store that one or a default one into a session variable. When the url contains a query i send a 'location:' header. Then i create a frameset with one frame showing the page stored in the session... -- Edit bug report at http://bugs.php.net/?id=15586&edit=1 -- Fixed in CVS:http://bugs.php.net/fix.php?id=15586&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=15586&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15586&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15586&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15586&r=support Expected behavior: http://bugs.php.net/fix.php?id=15586&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15586&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15586&r=submittedtwice
Bug #15584 Updated: strftime("%D") problem
ID: 15584 Updated by: [EMAIL PROTECTED] -Summary: strftime("%D") problem Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Date/time related Operating System: win2k AS/Linux unknown PHP Version: 4.1.1 Previous Comments: [2002-02-16 05:02:26] [EMAIL PROTECTED] print print (strftime("%D")); One print will do the job! print strftime("%D"); [2002-02-15 23:40:47] [EMAIL PROTECTED] Hi, Running Win2k AS, Apache 1.3.23, PHP-Modul. Had some problems with strftime("%D"); "; print print (strftime("%D")); //outputs nothing ?> should both return the same result, the first displays nothing (empty string), the second one is working fine. The manual says for conversion specifiers: %D - same as %m/%d/%y Tried the same on a linux-box at my ISP (4.1.0, Apache 1.3.22, Kernel 2.2.19, Modulversion): "; print print (strftime("%D")); //02/16/021 ?> So my conclusion : strftime("%D") doesn´t work on win2k and seems to be broken on linux. Thanks Friedhelm Betz P.S.: On win2k standard Installation, no extra extensions enabled. The configure at th elinux-box from ISP: './configure' '--with-config-file-path=/etc' '--enable-xslt' '--with-xslt-sablot' '--with-mysql=/usr/local/mysql' '--with-mcrypt=/usr/local' '--with-apache=../apache_current' '--with-ttf=/usr/local' '--with-t1lib=/usr/local' '--with-gd=/usr/' '--enable-gd-native-ttf' '-with-pdflib' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/lib' '--with-tiff-dir=/usr/local/lib' '--with-imap=/usr/local' '--with-java=/usr/local/java2' '--with-zlib' '--with-dom' '--with-ming' '--with-swf=/usr/local' '--enable-bcmath' '--enable-ftp' '--enable-calendar' '--enable-memory-limit' '--enable-discard-path' -- Edit this bug report at http://bugs.php.net/?id=15584&edit=1
Bug #15584 Updated: strftime("%D") problem
ID: 15584 Updated by: [EMAIL PROTECTED] -Summary: strftime("%D") problem Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Date/time related Operating System: win2k AS/Linux unknown PHP Version: 4.1.1 New Comment: Hi, sorry for the typo :-(. print (strftime("%D"));has the expected result on Linux box. but still not on windows. Friedhelm Betz Previous Comments: [2002-02-16 05:02:26] [EMAIL PROTECTED] print print (strftime("%D")); One print will do the job! print strftime("%D"); [2002-02-15 23:40:47] [EMAIL PROTECTED] Hi, Running Win2k AS, Apache 1.3.23, PHP-Modul. Had some problems with strftime("%D"); "; print print (strftime("%D")); //outputs nothing ?> should both return the same result, the first displays nothing (empty string), the second one is working fine. The manual says for conversion specifiers: %D - same as %m/%d/%y Tried the same on a linux-box at my ISP (4.1.0, Apache 1.3.22, Kernel 2.2.19, Modulversion): "; print print (strftime("%D")); //02/16/021 ?> So my conclusion : strftime("%D") doesn´t work on win2k and seems to be broken on linux. Thanks Friedhelm Betz P.S.: On win2k standard Installation, no extra extensions enabled. The configure at th elinux-box from ISP: './configure' '--with-config-file-path=/etc' '--enable-xslt' '--with-xslt-sablot' '--with-mysql=/usr/local/mysql' '--with-mcrypt=/usr/local' '--with-apache=../apache_current' '--with-ttf=/usr/local' '--with-t1lib=/usr/local' '--with-gd=/usr/' '--enable-gd-native-ttf' '-with-pdflib' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/lib' '--with-tiff-dir=/usr/local/lib' '--with-imap=/usr/local' '--with-java=/usr/local/java2' '--with-zlib' '--with-dom' '--with-ming' '--with-swf=/usr/local' '--enable-bcmath' '--enable-ftp' '--enable-calendar' '--enable-memory-limit' '--enable-discard-path' -- Edit this bug report at http://bugs.php.net/?id=15584&edit=1
Bug #15584 Updated: strftime("%D") problem
ID: 15584 Updated by: [EMAIL PROTECTED] -Summary: strftime("%D") problem Reported By: [EMAIL PROTECTED] -Status: Bogus +Status: Open Bug Type: Date/time related Operating System: win2k AS/Linux unknown PHP Version: 4.1.1 New Comment: I don't have a windows-box right now, so i'm reopening this one... Previous Comments: [2002-02-16 10:37:59] [EMAIL PROTECTED] Hi, sorry for the typo :-(. print (strftime("%D"));has the expected result on Linux box. but still not on windows. Friedhelm Betz [2002-02-16 05:02:26] [EMAIL PROTECTED] print print (strftime("%D")); One print will do the job! print strftime("%D"); [2002-02-15 23:40:47] [EMAIL PROTECTED] Hi, Running Win2k AS, Apache 1.3.23, PHP-Modul. Had some problems with strftime("%D"); "; print print (strftime("%D")); //outputs nothing ?> should both return the same result, the first displays nothing (empty string), the second one is working fine. The manual says for conversion specifiers: %D - same as %m/%d/%y Tried the same on a linux-box at my ISP (4.1.0, Apache 1.3.22, Kernel 2.2.19, Modulversion): "; print print (strftime("%D")); //02/16/021 ?> So my conclusion : strftime("%D") doesn´t work on win2k and seems to be broken on linux. Thanks Friedhelm Betz P.S.: On win2k standard Installation, no extra extensions enabled. The configure at th elinux-box from ISP: './configure' '--with-config-file-path=/etc' '--enable-xslt' '--with-xslt-sablot' '--with-mysql=/usr/local/mysql' '--with-mcrypt=/usr/local' '--with-apache=../apache_current' '--with-ttf=/usr/local' '--with-t1lib=/usr/local' '--with-gd=/usr/' '--enable-gd-native-ttf' '-with-pdflib' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/lib' '--with-tiff-dir=/usr/local/lib' '--with-imap=/usr/local' '--with-java=/usr/local/java2' '--with-zlib' '--with-dom' '--with-ming' '--with-swf=/usr/local' '--enable-bcmath' '--enable-ftp' '--enable-calendar' '--enable-memory-limit' '--enable-discard-path' -- Edit this bug report at http://bugs.php.net/?id=15584&edit=1
Bug #15587: basic_functions.c and dns.c fail to compile due to incompatible parameters
From: [EMAIL PROTECTED] Operating system: Irix 6.5.15m PHP version: 4.1.1 PHP Bug Type: Compile Failure Bug description: basic_functions.c and dns.c fail to compile due to incompatible parameters Compiling with: cc -I. -I/usr/local/src/php-4.1.1/ext/standard -I/usr/local/src/php-4.1.1/main -I/usr/local/src/php-4.1.1 -I/usr/local/src/apache_1.3.23/src/include -I/usr/local/src/apache_1.3.23/src/os/unix -I/usr/local/src/php-4.1.1/Zend -I/usr/freeware/mysql/include -I/usr/local/src/php-4.1.1/ext/xml/expat -D_XPG_IV -I/usr/local/src/php-4.1.1/TSRM -c basic_functions.c && touch basic_functions.lo Results for basic_functions.c in the error: cc-1140 cc: ERROR File = basic_functions.c, Line = 1002 A value of type "int" cannot be used to initialize an entity of type "char *". RETURN_STRING (inet_ntoa(myaddr), 1); and for dns.c (cc command identical except for filenames): cc-1164 cc: ERROR File = dns.c, Line = 157 Argument of type "int" is incompatible with parameter of type "char *". add_next_index_string(return_value, inet_ntoa(in), 1); ^ cc-1164 cc: ERROR File = dns.c, Line = 177 Argument of type "int" is incompatible with parameter of type "const char *". return estrdup(inet_ntoa(in)); ^ -- Edit bug report at http://bugs.php.net/?id=15587&edit=1 -- Fixed in CVS:http://bugs.php.net/fix.php?id=15587&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=15587&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15587&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15587&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15587&r=support Expected behavior: http://bugs.php.net/fix.php?id=15587&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15587&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15587&r=submittedtwice
Bug #15587 Updated: basic_functions.c and dns.c fail to compile due to incompatible parameters
ID: 15587 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Irix 6.5.15m PHP Version: 4.1.1 New Comment: What's the prototype of inet_ntoa() on your system? Previous Comments: [2002-02-16 11:15:08] [EMAIL PROTECTED] Compiling with: cc -I. -I/usr/local/src/php-4.1.1/ext/standard -I/usr/local/src/php-4.1.1/main -I/usr/local/src/php-4.1.1 -I/usr/local/src/apache_1.3.23/src/include -I/usr/local/src/apache_1.3.23/src/os/unix -I/usr/local/src/php-4.1.1/Zend -I/usr/freeware/mysql/include -I/usr/local/src/php-4.1.1/ext/xml/expat -D_XPG_IV -I/usr/local/src/php-4.1.1/TSRM -c basic_functions.c && touch basic_functions.lo Results for basic_functions.c in the error: cc-1140 cc: ERROR File = basic_functions.c, Line = 1002 A value of type "int" cannot be used to initialize an entity of type "char *". RETURN_STRING (inet_ntoa(myaddr), 1); and for dns.c (cc command identical except for filenames): cc-1164 cc: ERROR File = dns.c, Line = 157 Argument of type "int" is incompatible with parameter of type "char *". add_next_index_string(return_value, inet_ntoa(in), 1); ^ cc-1164 cc: ERROR File = dns.c, Line = 177 Argument of type "int" is incompatible with parameter of type "const char *". return estrdup(inet_ntoa(in)); ^ -- Edit this bug report at http://bugs.php.net/?id=15587&edit=1
Bug #15587 Updated: basic_functions.c and dns.c fail to compile due to incompatible parameters
ID: 15587 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Compile Failure Operating System: Irix 6.5.15m PHP Version: 4.1.1 New Comment: The prototype is: extern char *inet_ntoa(struct in_addr); Setting EXTRA_CFLAGS to -cckr seems to resolve the compile failure. Don't know yet if php will work now. Previous Comments: [2002-02-16 11:27:44] [EMAIL PROTECTED] What's the prototype of inet_ntoa() on your system? [2002-02-16 11:15:08] [EMAIL PROTECTED] Compiling with: cc -I. -I/usr/local/src/php-4.1.1/ext/standard -I/usr/local/src/php-4.1.1/main -I/usr/local/src/php-4.1.1 -I/usr/local/src/apache_1.3.23/src/include -I/usr/local/src/apache_1.3.23/src/os/unix -I/usr/local/src/php-4.1.1/Zend -I/usr/freeware/mysql/include -I/usr/local/src/php-4.1.1/ext/xml/expat -D_XPG_IV -I/usr/local/src/php-4.1.1/TSRM -c basic_functions.c && touch basic_functions.lo Results for basic_functions.c in the error: cc-1140 cc: ERROR File = basic_functions.c, Line = 1002 A value of type "int" cannot be used to initialize an entity of type "char *". RETURN_STRING (inet_ntoa(myaddr), 1); and for dns.c (cc command identical except for filenames): cc-1164 cc: ERROR File = dns.c, Line = 157 Argument of type "int" is incompatible with parameter of type "char *". add_next_index_string(return_value, inet_ntoa(in), 1); ^ cc-1164 cc: ERROR File = dns.c, Line = 177 Argument of type "int" is incompatible with parameter of type "const char *". return estrdup(inet_ntoa(in)); ^ -- Edit this bug report at http://bugs.php.net/?id=15587&edit=1
Bug #15588: Segmentaion fault
From: [EMAIL PROTECTED] Operating system: Linux Redhat 6.2 PHP version: 4.0.6 PHP Bug Type: Apache related Bug description: Segmentaion fault I installed PHP, but every time I load a document, I get the message 'Document Contains No Data'. I tried to gdb the httpd then I got the following errors. the Apache error log shows '[Sun Feb 17 02:44:15 2002] [error] Cannot remove module mod_ssl.c: not found in module list [Sun Feb 17 02:44:16 2002] [warn] pid file /usr/local/cp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?' Could you please help me. Program received signal SIGSEGV, Segmentation fault. 0x403297e3 in php_treat_data (arg=1, str=0x0, destArray=0x0) at php_variables.c:257 257 if (c_var && *c_var) { (gdb) bt #0 0x403297e3 in php_treat_data (arg=1, str=0x0, destArray=0x0) at php_variables.c:257 #1 0x403246c8 in php_hash_environment () at main.c:1038 #2 0x40323dc4 in php_request_startup () at main.c:621 #3 0x403216a9 in apache_php_module_main (r=0x81825bc, display_source_mode=0) at sapi_apache.c:66 #4 0x40322066 in send_php (r=0x81825bc, display_source_mode=0, filename=0x0) at mod_php4.c:536 #5 0x40322098 in send_parsed_php (r=0x81825bc) at mod_php4.c:547 #6 0x8079373 in ap_invoke_handler () #7 0x808d339 in process_request_internal () #8 0x808d768 in ap_internal_redirect () #9 0x806bdd3 in mod_gzip_redir1_handler () #10 0x806a72d in mod_gzip_handler () #11 0x8079373 in ap_invoke_handler () #12 0x808d339 in process_request_internal () #13 0x808d39c in ap_process_request () #14 0x80848ce in child_main () #15 0x8084a7c in make_child () #16 0x8084bd9 in startup_children () #17 0x8085216 in standalone_main () #18 0x80859b3 in main () #19 0x400bc9cb in __libc_start_main (main=0x808565c , argc=4, argv=0xbad4, init=0x8050370 <_init>, fini=0x80bc2dc <_fini>, rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbacc) at ../sysdeps/generic/libc-start.c:92 -- Edit bug report at http://bugs.php.net/?id=15588&edit=1 -- Fixed in CVS:http://bugs.php.net/fix.php?id=15588&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=15588&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15588&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15588&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15588&r=support Expected behavior: http://bugs.php.net/fix.php?id=15588&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15588&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15588&r=submittedtwice
Bug #15588 Updated: Segmentaion fault
ID: 15588 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Apache related Operating System: Linux Redhat 6.2 PHP Version: 4.0.6 New Comment: If I do bt full the following results are getting #0 0x4033a662 in php_treat_data (arg=1, str=0x0, destArray=0x0) at php_variables.c:257 res = 0x0 var = 0x4058a6f8 "\004\0200" val = 0x0 separator = 0x0 c_var = 0x303 array_ptr = (pval *) 0x8185a4c free_buffer = 0 strtok_buf = 0x0 #1 0x40333911 in php_hash_environment () at main.c:1038 p = 0x814c852 "PCS" _gpc_flags = "\000\000" have_variables_order = 1 '\001' dummy_track_vars_array = (zval *) 0xb5e0 initialized_dummy_track_vars_array = 0 '\000' i = 6 track_vars_names = {0x404e663b "HTTP_POST_VARS", 0x404e664a "HTTP_GET_VARS", 0x404e6658 "HTTP_COOKIE_VARS", 0x404e6669 "HTTP_SERVER_VARS", 0x404e667a "HTTP_ENV_VARS", 0x404e6688 "HTTP_POST_FILES", 0x0} track_vars_names_length = {15, 14, 17, 17, 14, 16} #2 0x40332e57 in php_request_startup () at main.c:621 No locals. #3 0x4032f8c8 in apache_php_module_main (r=0x81813bc, display_source_mode=0) at sapi_apache.c:66 file_handle = {type = 0 '\000', filename = 0x4058a6f8 "\004\0200", opened_path = 0x4000ae60 "U\211å\203ì\004WVSè", handle = {fd = 135798890, fp = 0x818206a}, free_filename = 129 '\201'} #4 0x403305d7 in send_php (r=0x81813bc, display_source_mode=0, filename=0x818194c "") at mod_php4.c:536 retval = 0 per_dir_conf = (HashTable *) 0x0 #5 0x40330615 in send_parsed_php (r=0x81813bc) at mod_php4.c:547 No locals. #6 0x8079373 in ap_invoke_handler () No symbol table info available. #7 0x808d339 in process_request_internal () No symbol table info available. #8 0x808d768 in ap_internal_redirect () No symbol table info available. #9 0x806bdd3 in mod_gzip_redir1_handler () No symbol table info available. #10 0x806a72d in mod_gzip_handler () No symbol table info available. #11 0x8079373 in ap_invoke_handler () No symbol table info available. #12 0x808d339 in process_request_internal () No symbol table info available. #13 0x808d39c in ap_process_request () No symbol table info available. #14 0x80848ce in child_main () No symbol table info available. #15 0x8084a7c in make_child () No symbol table info available. #16 0x8084bd9 in startup_children () No symbol table info available. #17 0x8085216 in standalone_main () No symbol table info available. #18 0x80859b3 in main () No symbol table info available. #19 0x400bc9cb in __libc_start_main (main=0x808565c , argc=4, argv=0xbad4, init=0x8050370 <_init>, fini=0x80bc2dc <_fini>, rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbacc) at ../sysdeps/generic/libc-start.c:92 argv = (char **) 0xbad4 rtld_fini = (void (*)()) 0x4000ae60 <_dl_fini> stack_end = (void *) 0x303 Previous Comments: [2002-02-16 16:07:49] [EMAIL PROTECTED] I installed PHP, but every time I load a document, I get the message 'Document Contains No Data'. I tried to gdb the httpd then I got the following errors. the Apache error log shows '[Sun Feb 17 02:44:15 2002] [error] Cannot remove module mod_ssl.c: not found in module list [Sun Feb 17 02:44:16 2002] [warn] pid file /usr/local/cp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?' Could you please help me. Program received signal SIGSEGV, Segmentation fault. 0x403297e3 in php_treat_data (arg=1, str=0x0, destArray=0x0) at php_variables.c:257 257 if (c_var && *c_var) { (gdb) bt #0 0x403297e3 in php_treat_data (arg=1, str=0x0, destArray=0x0) at php_variables.c:257 #1 0x403246c8 in php_hash_environment () at main.c:1038 #2 0x40323dc4 in php_request_startup () at main.c:621 #3 0x403216a9 in apache_php_module_main (r=0x81825bc, display_source_mode=0) at sapi_apache.c:66 #4 0x40322066 in send_php (r=0x81825bc, display_source_mode=0, filename=0x0) at mod_php4.c:536 #5 0x40322098 in send_parsed_php (r=0x81825bc) at mod_php4.c:547 #6 0x8079373 in ap_invoke_handler () #7 0x808d339 in process_request_internal () #8 0x808d768 in ap_internal_redirect () #9 0x806bdd3 in mod_gzip_redir1_handler () #10 0x806a72d in mod_gzip_handler () #11 0x8079373 in ap_invoke_handler () #12 0x808d339 in process_request_internal () #13 0x808d39c in ap_process_request () #14 0x80848ce in child_main () #15 0x8084a7c in make_child () #16 0x8084bd9 in startup_children () #17 0x8085216 in standalone_main () #18 0x80859b3 in main () #19 0x400bc9cb in __libc_start_main (main=0x808565c , argc=4, argv=0xbad4, init=0x8050370 <_init>, fini=0x80bc2dc <_fini>, rtld_fini=0x4000
Bug #15589: include() output order is weird
From: [EMAIL PROTECTED] Operating system: Linux (SuSE 7.0) PHP version: 4.1.1 PHP Bug Type: Unknown/Other Function Bug description: include() output order is weird Hi, I've just stumbled across this problem: I have a few pages which all include one file that does some functionality needed for session management. Now I have a problem in one of these pages (the other ones seem to work): the output from the included file is not completely output before the "including" script continues; instead, I have something like this: ### output from include() ### rest of the "including" file ### output from include() (remaining portion). In short, the last thing the included file should output is "". But I get everything until "". In "long": I have put the concerned scripts at https://members.rosenkeller.org/phpbug/ The file "logout.php" includes "session.php". The corresponding "logout-src.php" and "session-src.php" simply show the source code of the respective file; I have also included phpinfo.php which shows the results of phpinfo(). If you have a look at the HTML source that output.php produces, you should see what I mean (the "warning: undefined variable" is normal, because there is no session). I think that this is a bug; if I overlooked something instead (maybe some configuration option?) I'd be pleased to hear what it is... Thank you in advance, and keep the great work up! :-) -- Edit bug report at http://bugs.php.net/?id=15589&edit=1 -- Fixed in CVS:http://bugs.php.net/fix.php?id=15589&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=15589&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15589&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15589&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15589&r=support Expected behavior: http://bugs.php.net/fix.php?id=15589&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15589&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15589&r=submittedtwice
Bug #15589 Updated: include() output order is weird
ID: 15589 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open -Bug Type: Unknown/Other Function +Bug Type: Scripting Engine problem Operating System: Linux (SuSE 7.0) PHP Version: 4.1.1 Previous Comments: [2002-02-16 18:59:55] [EMAIL PROTECTED] Hi, I've just stumbled across this problem: I have a few pages which all include one file that does some functionality needed for session management. Now I have a problem in one of these pages (the other ones seem to work): the output from the included file is not completely output before the "including" script continues; instead, I have something like this: ### output from include() ### rest of the "including" file ### output from include() (remaining portion). In short, the last thing the included file should output is "". But I get everything until "". In "long": I have put the concerned scripts at https://members.rosenkeller.org/phpbug/ The file "logout.php" includes "session.php". The corresponding "logout-src.php" and "session-src.php" simply show the source code of the respective file; I have also included phpinfo.php which shows the results of phpinfo(). If you have a look at the HTML source that output.php produces, you should see what I mean (the "warning: undefined variable" is normal, because there is no session). I think that this is a bug; if I overlooked something instead (maybe some configuration option?) I'd be pleased to hear what it is... Thank you in advance, and keep the great work up! :-) -- Edit this bug report at http://bugs.php.net/?id=15589&edit=1
Bug #15588 Updated: Segmentaion fault
ID: 15588 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Apache related Operating System: Linux Redhat 6.2 PHP Version: 4.0.6 New Comment: The version of PHP that this bug was reported in is too old. Please try to reproduce this bug in the latest version of PHP (available from http://www.php.net/downloads.php If you are still able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Previous Comments: [2002-02-16 18:00:18] [EMAIL PROTECTED] If I do bt full the following results are getting #0 0x4033a662 in php_treat_data (arg=1, str=0x0, destArray=0x0) at php_variables.c:257 res = 0x0 var = 0x4058a6f8 "\004\0200" val = 0x0 separator = 0x0 c_var = 0x303 array_ptr = (pval *) 0x8185a4c free_buffer = 0 strtok_buf = 0x0 #1 0x40333911 in php_hash_environment () at main.c:1038 p = 0x814c852 "PCS" _gpc_flags = "\000\000" have_variables_order = 1 '\001' dummy_track_vars_array = (zval *) 0xb5e0 initialized_dummy_track_vars_array = 0 '\000' i = 6 track_vars_names = {0x404e663b "HTTP_POST_VARS", 0x404e664a "HTTP_GET_VARS", 0x404e6658 "HTTP_COOKIE_VARS", 0x404e6669 "HTTP_SERVER_VARS", 0x404e667a "HTTP_ENV_VARS", 0x404e6688 "HTTP_POST_FILES", 0x0} track_vars_names_length = {15, 14, 17, 17, 14, 16} #2 0x40332e57 in php_request_startup () at main.c:621 No locals. #3 0x4032f8c8 in apache_php_module_main (r=0x81813bc, display_source_mode=0) at sapi_apache.c:66 file_handle = {type = 0 '\000', filename = 0x4058a6f8 "\004\0200", opened_path = 0x4000ae60 "U\211å\203ì\004WVSè", handle = {fd = 135798890, fp = 0x818206a}, free_filename = 129 '\201'} #4 0x403305d7 in send_php (r=0x81813bc, display_source_mode=0, filename=0x818194c "") at mod_php4.c:536 retval = 0 per_dir_conf = (HashTable *) 0x0 #5 0x40330615 in send_parsed_php (r=0x81813bc) at mod_php4.c:547 No locals. #6 0x8079373 in ap_invoke_handler () No symbol table info available. #7 0x808d339 in process_request_internal () No symbol table info available. #8 0x808d768 in ap_internal_redirect () No symbol table info available. #9 0x806bdd3 in mod_gzip_redir1_handler () No symbol table info available. #10 0x806a72d in mod_gzip_handler () No symbol table info available. #11 0x8079373 in ap_invoke_handler () No symbol table info available. #12 0x808d339 in process_request_internal () No symbol table info available. #13 0x808d39c in ap_process_request () No symbol table info available. #14 0x80848ce in child_main () No symbol table info available. #15 0x8084a7c in make_child () No symbol table info available. #16 0x8084bd9 in startup_children () No symbol table info available. #17 0x8085216 in standalone_main () No symbol table info available. #18 0x80859b3 in main () No symbol table info available. #19 0x400bc9cb in __libc_start_main (main=0x808565c , argc=4, argv=0xbad4, init=0x8050370 <_init>, fini=0x80bc2dc <_fini>, rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbacc) at ../sysdeps/generic/libc-start.c:92 argv = (char **) 0xbad4 rtld_fini = (void (*)()) 0x4000ae60 <_dl_fini> stack_end = (void *) 0x303 [2002-02-16 16:07:49] [EMAIL PROTECTED] I installed PHP, but every time I load a document, I get the message 'Document Contains No Data'. I tried to gdb the httpd then I got the following errors. the Apache error log shows '[Sun Feb 17 02:44:15 2002] [error] Cannot remove module mod_ssl.c: not found in module list [Sun Feb 17 02:44:16 2002] [warn] pid file /usr/local/cp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?' Could you please help me. Program received signal SIGSEGV, Segmentation fault. 0x403297e3 in php_treat_data (arg=1, str=0x0, destArray=0x0) at php_variables.c:257 257 if (c_var && *c_var) { (gdb) bt #0 0x403297e3 in php_treat_data (arg=1, str=0x0, destArray=0x0) at php_variables.c:257 #1 0x403246c8 in php_hash_environment () at main.c:1038 #2 0x40323dc4 in php_request_startup () at main.c:621 #3 0x403216a9 in apache_php_module_main (r=0x81825bc, display_source_mode=0) at sapi_apache.c:66 #4 0x40322066 in send_php (r=0x81825bc, display_source_mode=0, filename=0x0) at mod_php4.c:536 #5 0x40322098 in send_parsed_php (r=0x81825bc) at mod_php4.c:547 #6 0x8079373 in ap_invoke_handler () #7 0x808d339 in process_request_internal () #8 0x808d768 in ap_internal_redirect () #9 0x806bd
Bug #15586 Updated: disable outputbuffering results in no global vars
ID: 15586 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Output Control Operating System: Windows/Linux PHP Version: 4.1.1 New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Previous Comments: [2002-02-16 09:29:24] [EMAIL PROTECTED] When i disable output buffering the following does not work anymore I read the request,check if the query part is a locatable file and store that one or a default one into a session variable. When the url contains a query i send a 'location:' header. Then i create a frameset with one frame showing the page stored in the session... -- Edit this bug report at http://bugs.php.net/?id=15586&edit=1
Bug #11165 Updated: limit in lenght of mail
ID: 11165 Updated by: [EMAIL PROTECTED] -Reported By: [EMAIL PROTECTED] +Reported By: [EMAIL PROTECTED] Status: Assigned Bug Type: Mail related Operating System: Windows 2000 PHP Version: 4.0.5 Assigned To: hholzgra New Comment: When is that going to happen? Previous Comments: [2002-02-11 00:52:11] [EMAIL PROTECTED] I get : Server=watson.microsoft.com UI LCID=1033 Flags=33552 Brand=WINDOWS TitleName=php.exe DigPidRegPath=HKLM\Software\Microsoft\Windows NT\CurrentVersion\DigitalProductId RegSubPath=Microsoft\PCHealth\ErrorReporting\DW ErrorText=If you were in the middle of something, the information you were working on might be lost. Stage1URL=/StageOne/php_exe/0_0_0_0/msvcrt_dll/7_0_2600_0/0002eff9.htm Stage2URL=/dw/stagetwo.asp?szAppName=php.exe&szAppVer=0.0.0.0&szModName=msvcrt.dll&szModVer=7.0.2600.0&offset=0002eff9 DataFiles=C:\DOCUME~1\kroberts\LOCALS~1\Temp\WER6D.tmp.dir00\php.exe.mdmp ErrorSubPath=php.exe\0.0.0.0\msvcrt.dll\7.0.2600.0\0002eff9 PHP Version 4.1.1 Windows XP Kevin [2001-06-22 18:31:34] [EMAIL PROTECTED] windows mail code *badly* needs a rewrite [2001-05-29 04:13:27] [EMAIL PROTECTED] When composing a mail message to be send from a PHP page, I discovered that the max lenght of an email is about 2500 characters, the rest of the mail is being skipped. This is very inconvienient!!! -- Edit this bug report at http://bugs.php.net/?id=11165&edit=1
Bug #15496 Updated: Email Size
ID: 15496 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproducible crash Operating System: XP PHP Version: 4.1.1 New Comment: Is any one going to answer this? Previous Comments: [2002-02-11 01:07:05] [EMAIL PROTECTED] There looks to be a bug in the email on size small is on put some data in the email and I get: Server=watson.microsoft.com UI LCID=1033 Flags=33552 Brand=WINDOWS TitleName=php.exe DigPidRegPath=HKLM\Software\Microsoft\Windows NT\CurrentVersion\DigitalProductId RegSubPath=Microsoft\PCHealth\ErrorReporting\DW ErrorText=If you were in the middle of something, the information you were working on might be lost. Stage1URL=/StageOne/php_exe/0_0_0_0/php4ts_dll/0_0_0_0/000a09ed.htm Stage2URL=/dw/stagetwo.asp?szAppName=php.exe&szAppVer=0.0.0.0&szModName=php4ts.dll&szModVer=0.0.0.0&offset=000a09ed DataFiles=C:\DOCUME~1\kroberts\LOCALS~1\Temp\WER7F.tmp.dir00\php.exe.mdmp ErrorSubPath=php.exe\0.0.0.0\php4ts.dll\0.0.0.0\000a09ed Help Please -- Edit this bug report at http://bugs.php.net/?id=15496&edit=1
Bug #11165 Updated: limit in lenght of mail
ID: 11165 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Assigned Bug Type: Mail related Operating System: Windows 2000 -PHP Version: 4.0.5 +PHP Version: 4.2.0-dev Assigned To: hholzgra New Comment: As [EMAIL PROTECTED] wrote "windows mail code *badly* needs a rewrite" The code is not good... AFAIK is't not fixed. Previous Comments: [2002-02-16 22:02:58] [EMAIL PROTECTED] When is that going to happen? [2002-02-11 00:52:11] [EMAIL PROTECTED] I get : Server=watson.microsoft.com UI LCID=1033 Flags=33552 Brand=WINDOWS TitleName=php.exe DigPidRegPath=HKLM\Software\Microsoft\Windows NT\CurrentVersion\DigitalProductId RegSubPath=Microsoft\PCHealth\ErrorReporting\DW ErrorText=If you were in the middle of something, the information you were working on might be lost. Stage1URL=/StageOne/php_exe/0_0_0_0/msvcrt_dll/7_0_2600_0/0002eff9.htm Stage2URL=/dw/stagetwo.asp?szAppName=php.exe&szAppVer=0.0.0.0&szModName=msvcrt.dll&szModVer=7.0.2600.0&offset=0002eff9 DataFiles=C:\DOCUME~1\kroberts\LOCALS~1\Temp\WER6D.tmp.dir00\php.exe.mdmp ErrorSubPath=php.exe\0.0.0.0\msvcrt.dll\7.0.2600.0\0002eff9 PHP Version 4.1.1 Windows XP Kevin [2001-06-22 18:31:34] [EMAIL PROTECTED] windows mail code *badly* needs a rewrite [2001-05-29 04:13:27] [EMAIL PROTECTED] When composing a mail message to be send from a PHP page, I discovered that the max lenght of an email is about 2500 characters, the rest of the mail is being skipped. This is very inconvienient!!! -- Edit this bug report at http://bugs.php.net/?id=11165&edit=1
Bug #15496 Updated: Email Size
ID: 15496 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: XP PHP Version: 4.1.1 New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Previous Comments: [2002-02-16 22:14:29] [EMAIL PROTECTED] Is any one going to answer this? [2002-02-11 01:07:05] [EMAIL PROTECTED] There looks to be a bug in the email on size small is on put some data in the email and I get: Server=watson.microsoft.com UI LCID=1033 Flags=33552 Brand=WINDOWS TitleName=php.exe DigPidRegPath=HKLM\Software\Microsoft\Windows NT\CurrentVersion\DigitalProductId RegSubPath=Microsoft\PCHealth\ErrorReporting\DW ErrorText=If you were in the middle of something, the information you were working on might be lost. Stage1URL=/StageOne/php_exe/0_0_0_0/php4ts_dll/0_0_0_0/000a09ed.htm Stage2URL=/dw/stagetwo.asp?szAppName=php.exe&szAppVer=0.0.0.0&szModName=php4ts.dll&szModVer=0.0.0.0&offset=000a09ed DataFiles=C:\DOCUME~1\kroberts\LOCALS~1\Temp\WER7F.tmp.dir00\php.exe.mdmp ErrorSubPath=php.exe\0.0.0.0\php4ts.dll\0.0.0.0\000a09ed Help Please -- Edit this bug report at http://bugs.php.net/?id=15496&edit=1
Bug #15496 Updated: Email Size
ID: 15496 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Reproducible crash Operating System: XP PHP Version: 4.1.1 New Comment: $db = mysql_connect($dbhost,$dbuser,$dbpasswd) or die("Unable to connect to database"); @mysql_select_db("$dbname", $db) or die("Unable to select database $dbname"); $sqlquery = mysql_query("SELECT * FROM `text_questionnaire` " ,$db); while ($tablerows = mysql_fetch_row($sqlquery)) { $HTMLEmailText = ""; $HTMLEmailText .= ""; $HTMLEmailText .= ""; $HTMLEmailText .= "$tablerows[14]"; $HTMLEmailText .= ""; $HTMLEmailText .= ""; $HTMLEmailText .= "$tablerows[14] "; $HTMLEmailText .= "Here is the information we recieved "; $HTMLEmailText .= "$tablerows[9]$Name"; $HTMLEmailText .= "$tablerows[10]$Email"; $HTMLEmailText .= "$tablerows[11]$Phone"; $HTMLEmailText .= "$tablerows[12]$Fax"; $HTMLEmailText .= "$tablerows[1]$Contaminated"; //$HTMLEmailText .= "$tablerows[2]$When_and_how"; //$HTMLEmailText .= "$tablerows[3]$discovered"; //$HTMLEmailText .= "$tablerows[4]$symptom"; //$HTMLEmailText .= "$tablerows[5]$Government"; //$HTMLEmailText .= "$tablerows[6]$physicians"; //$HTMLEmailText .= "$tablerows[7]$adequate"; //$HTMLEmailText .= "$tablerows[8]$Comments"; //$HTMLEmailText .= "$tablerows[13]$Contact"; $HTMLEmailText .= "$tablerows[16]$User_Data_1"; $HTMLEmailText .= " "; } It will send mail OK with the lines rem out Will not send mail with them in, if the user adds lost of data Previous Comments: [2002-02-16 22:50:43] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". [2002-02-16 22:14:29] [EMAIL PROTECTED] Is any one going to answer this? [2002-02-11 01:07:05] [EMAIL PROTECTED] There looks to be a bug in the email on size small is on put some data in the email and I get: Server=watson.microsoft.com UI LCID=1033 Flags=33552 Brand=WINDOWS TitleName=php.exe DigPidRegPath=HKLM\Software\Microsoft\Windows NT\CurrentVersion\DigitalProductId RegSubPath=Microsoft\PCHealth\ErrorReporting\DW ErrorText=If you were in the middle of something, the information you were working on might be lost. Stage1URL=/StageOne/php_exe/0_0_0_0/php4ts_dll/0_0_0_0/000a09ed.htm Stage2URL=/dw/stagetwo.asp?szAppName=php.exe&szAppVer=0.0.0.0&szModName=php4ts.dll&szModVer=0.0.0.0&offset=000a09ed DataFiles=C:\DOCUME~1\kroberts\LOCALS~1\Temp\WER7F.tmp.dir00\php.exe.mdmp ErrorSubPath=php.exe\0.0.0.0\php4ts.dll\0.0.0.0\000a09ed Help Please -- Edit this bug report at http://bugs.php.net/?id=15496&edit=1
Bug #11153 Updated: imap_check() returns wrong date
ID: 11153 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: No Feedback Bug Type: IMAP related Operating System: linux 2.2.17 PHP Version: 4.0.4pl1 New Comment: 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". Previous Comments: [2002-02-13 12:16:04] [EMAIL PROTECTED] FYI ... This issue remains in PHP version 4.1.1 PHP_FUNCTION(imap_check) is calling rfc822_date(date) in php_imap.c [2002-01-16 07:23:25] [EMAIL PROTECTED] Does this error still occur with the lastest (CVS) version? [2001-05-28 07:17:42] [EMAIL PROTECTED] The Date field of the object returned by imap_check should contain the date of the last change of the selected mailbox, but it always return the date and time on which the function is called, at least on my system. I use c-client version 4.1 or more precisely imap-2001.BETA.SNAP-0104262058 I use courier-imap-1.3.6 imap server Script to reproduce error: $servercon = imap_open("{mail.domain.com:143}INBOX", "someone", "secret"); $mailboxStatus = imap_mailboxmsginfo($servercon); echo $mailboxStatus->Date; imap_close($servercon); I have tried the above script on an older server with php 4.0.2, and older c-client library. I have also tried connecting to some older sendmail based mailserver with the same results. -- Edit this bug report at http://bugs.php.net/?id=11153&edit=1
Bug #12813 Updated: Bug id #11058 but on linux.
ID: 12813 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: No Feedback Bug Type: Network related Operating System: Linux PHP Version: 4.0.6 New Comment: 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". Previous Comments: [2002-01-16 05:55:26] [EMAIL PROTECTED] Does this still apply on 4.1.1? [2001-08-20 09:41:09] [EMAIL PROTECTED] It looks like the getaddrinfo function dont consider the /etc/hosts file so if a domain cant be converted to an ip using dns server then the error will show. if i try to do: include("on.my.etc.hosts.files/whatever") the error will show up if i do include("my.real.domain.on.the.internet") everything will work fine Frank "Pazzooo" Contrepois [2001-08-17 11:04:29] [EMAIL PROTECTED] System Linux bato 2.2.19 #1 Thu Jun 7 10:44:22 Local time zone must be set--see zic manuali686 i686 unknown Build Date Aug 17 2001 Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--prefix=/usr/local/php' '--with-openssl=/usr/local/' '--with-pgsql' '--without-mysql' Server API Apache when I try to fopen or include an url i got 2 warning: Warning: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/www/motoko/htdocs/cwnd-xml/parser-site-xml.php on line 374 Warning: Failed opening 'http://www.motoko.lan/cwnd-xml/CORPO/cwnd-parser-materiale.php?url=cwnd-materiale.xml' for inclusion (include_path='.:/usr/local/php/lib/php') in /home/www/motoko/htdocs/cwnd-xml/parser-site-xml.php on line 374 everything work fine with windows using fopen Frank "Pazzooo" Contrepois -- Edit this bug report at http://bugs.php.net/?id=12813&edit=1
Bug #9558 Updated: array hanling
ID: 9558 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: No Feedback Bug Type: Feature/Change Request Operating System: All OS PHP Version: 4.0.4pl1 New Comment: 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". Previous Comments: [2002-01-06 13:22:10] [EMAIL PROTECTED] what about unlink($array['key']); $first=$array[0]; and $last=$array[count($array)-1]. ? [2001-03-05 06:32:06] [EMAIL PROTECTED] There are no normal delete from array (by the key) there are no possibility to get last, first element without altering the array itself (or to examine the element), in general in PHP the array is the list replacement (2 in 1)(for ex. in C++ we have to separate types/classes: array and the list) but there are no list functionality. If this will cause performance loses then new type creation sugested. -- Edit this bug report at http://bugs.php.net/?id=9558&edit=1
Bug #15583 Updated: thttpd patching fails
ID: 15583 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Other web server Operating System: Slackware 8 PHP Version: 4.1.1 New Comment: I did it again with a php4-latest from snaps.php.net against thttpd-2.22beta4. It asked me if I wanted to patch fdimage.c cause it thinks it's already patched. I said no this time. This is the output of the patching: patching Makefile.in Hunk #3 succeeded at 155 (offset 2 lines). patching config.h patching fdwatch.c Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 2 of 2 hunks ignored -- saving rejects to file fdwatch.c.rej patching file libhttpd.c Hunk #2 succeeded at 249 with fuzz 1 (offset 5 lines). Hunk #3 succeeded at 255 (offset 2 lines). Hunk #4 succeeded at 322 (offset 5 lines). Hunk #5 succeeded at 396 with fuzz 2 (offset 5 lines). Hunk #6 succeeded at 2401 (offset 40 lines). Hunk #7 FAILED at 3077. Hunk #8 succeeded at 3604 (offset 35 lines). 1 out of 8 hunks FAILED -- saving rejects to file libhttpd.c.rej patching libhttpd.h Hunk #1 succeeded at 1373 with fuzz 1 (offset 40 lines). Hunk #3 succeeded at 1546 (offset 40 lines). patching file mime_encodings.txt patching file libhttpd.c Hunk #1 succeeded at 3702 (offset 91 lines). make[1]: ***[install-sapi] Error 1 make[1]: Leaving directory `/root/sources/php4-200202161800' make: *** [install-recursive] Error 1 *** start contents of fdwatch.c.rej *** *** 454,460 ridx = 0; for ( i = 0; i < npollfds; ++i ) - if ( pollfds[i].revents & ( POLLIN | POLLOUT ) ) poll_rfdidx[ridx++] = pollfds[i].fd; return r; --- 454,460 ridx = 0; for ( i = 0; i < npollfds; ++i ) + if ( pollfds[i].revents & ( POLLIN | POLLOUT | POLLERR | POLLHUP | POLLNVAL ) ) poll_rfdidx[ridx++] = pollfds[i].fd; return r; *** *** 466,473 { switch ( fd_rw[fd] ) { - case FDW_READ: return pollfds[poll_fdidx[fd]].revents & POLLIN; - case FDW_WRITE: return pollfds[poll_fdidx[fd]].revents & POLLOUT; default: return 0; } } --- 466,473 { switch ( fd_rw[fd] ) { + case FDW_READ: return pollfds[poll_fdidx[fd]].revents & ( POLLIN | POLLERR | POLLHUP | POLLNVAL ); + case FDW_WRITE: return pollfds[poll_fdidx[fd]].revents & ( POLLOUT | POLLERR | POLLHUP | POLLNVAL ); default: return 0; } } ** end contents fdwatch.c.rej ** start contents libhttpd.c.rej *** *** 3066,3076 post_post_garbage_hack( httpd_conn* hc ) { char buf[2]; - int r; - r = recv( hc->conn_fd, buf, sizeof(buf), MSG_PEEK ); - if ( r > 0 ) - (void) read( hc->conn_fd, buf, r ); } --- 3077,3085 post_post_garbage_hack( httpd_conn* hc ) { char buf[2]; + fcntl(hc->conn_fd, F_SETFL, O_NONBLOCK); + (void) read( hc->conn_fd, buf, 2 ); } Previous Comments: [2002-02-15 20:13:52] [EMAIL PROTECTED] Patching of the thttpd source fails when I try to compile php as a sapi thttpd module. Tried with thttpd versions 2.19, 2.20c, and 2.22beta4. Report contents apply to thttpd-2.20c (the latest stable version), but I think the error is the same for all. Details: unpackaged php-4.1.1 and thttpd into the same directory and cd to php-4.1.1. ./configure --with-thttpd=../thttpd-2.20c configure works fine. then do make install per the readme by Sascha gcc gets a workout and then Hunks 1 & 2 fail on fdwatch.c on lines 460 and 472 and Hunks 6 & 7 fail on libhttpd.c at lines 2349 and 3025 contents of fdwatch.c.rej *** *** 460,466 ridx = 0; for ( i = 0; i < npollfds; ++i ) - if ( pollfds[i].revents & ( POLLIN | POLLOUT ) ) poll_rfdidx[ridx++] = pollfds[i].fd; return r; --- 460,466 ridx = 0; for ( i = 0; i < npollfds; ++i ) + if ( pollfds[i].revents & ( POLLIN | POLLOUT | POLLERR | POLLHUP | POLLNVAL ) ) poll_rfdidx[ridx++] = pollfds[i].fd; return r; *** *** 472,479 { switch ( fd_rw[fd] ) { - case FDW_READ: return pollfds[poll_fdidx[fd]].revents & POLLIN; - case FDW_WRITE: return pollfds[poll_fdidx[fd]].revents & POLLOUT; default: return 0; } } --- 472,479 { switch ( fd_rw[fd] ) { + case FDW_READ: return pollfds[poll_fdidx[fd]].revents & ( POLLIN | POLLERR | POLLHUP | POLLNVAL ); + case FDW_