[PHP-DEV] PHP 4.0 Bug #9825 Updated: COM with Seagate Crystal Reports
ID: 9825 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: COM related Description: COM with Seagate Crystal Reports $cr=new com("Crystal.CRPE.Application") or die("cannot load cr com"); $rn="F:\notes5\test.rpt"; $rap=$cr-OpenReport($rn); Previous Comments: --- [2001-03-20 11:53:40] [EMAIL PROTECTED] can you provide a short code snippet, i can't reproduce this. --- [2001-03-18 17:45:22] [EMAIL PROTECTED] Invoking OpenReport method of CRPE.Application COM Object produces crash. --- Full Bug description available at: http://bugs.php.net/?id=9825 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9644 Updated: File Upload eats all RAM and swap space
ID: 9644 User Update by: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Reproduceable crash Description: File Upload eats all RAM and swap space After recompiling PHP with a few less options in my configure line, everything is working fine! Not sure exactly which option, when removed, got things working again. Here is the working configure line: './configure' '--with-mysql=/usr/local/mysql' '--with-mm' '--enable-ftp' '--enable-inline-optimization' '--enable-magic-quotes' '--enable-sigchild' '--enable-shmop' '--enable-sockets' '--enable-sysvshm' '--enable-sysvsem' '--enable-track-vars' '--enable-trans-sid' '--enable-versioning' '--with-gd' '--with-jpeg-dir=/usr/lib' '--with-xpm-dir=/usr/X11R6' '--with-apache=../apache_1.3.19' '--with-pgsql=/usr/local/pgsql' '--with-gettext=/usr/local' '--with-mcrypt=/usr/local' '--with-imap=/usr/local/imap-2000c' '--with-mcal' '--with-ldap' Now I can upload very large files, without any problems. Thanks! Gerard Previous Comments: --- [2001-03-17 02:53:35] [EMAIL PROTECTED] After doing some experimentation, I have realized something about Apache and PHP. According to what 'ps aux' returns, when I run apache with PHP as I have been doing normally, it has been using from 2.5%MEM - 5.0%MEM (it varies) for each child at startup. However, whenever I disable the PHP modules from Apache (by commenting off these lines in httpd.conf: 'LoadModule php4_module libexec/libphp4.so' and 'AddModule mod_php4.c'), the 'ps aux' returns 0.7%MEM per child at startup. In comparison to some other linux boxes running Apache and PHP, 2.5%MEM - 5.0%MEM is a large amount of RAM used. Could this relate in any way to the problem that I am having with file uploads on my box? --- [2001-03-12 01:29:57] [EMAIL PROTECTED] I have never used gdb before, but I have a feeling that it is not working correctly. Here are the results: root@linux:/home/install/apps/apache/apache_1.3.19# gdb /usr/local/apache/bin/httpd GNU gdb 5.0 Copyright 2000 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 "i586-pc-linux-gnu"... (gdb) run -X Starting program: /usr/local/apache/bin/httpd -X warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. Processing config directory: /usr/local/apache/conf/virtualhosts/magestudios.net/ Processing config file: /usr/local/apache/conf/virtualhosts/magestudios.net/cwolvie Processing config file: /usr/local/apache/conf/virtualhosts/magestudios.net/eeno Processing config file: /usr/local/apache/conf/virtualhosts/magestudios.net/ewang Processing config file: /usr/local/apache/conf/virtualhosts/magestudios.net/ftp Processing config file: /usr/local/apache/conf/virtualhosts/magestudios.net/g2 Processing config file: /usr/local/apache/conf/virtualhosts/magestudios.net/likwidx Processing config file: /usr/local/apache/conf/virtualhosts/magestudios.net/mail Processing config file: /usr/local/apache/conf/virtualhosts/magestudios.net/moscrop Processing config file: /usr/local/apache/conf/virtualhosts/magestudios.net/mouthoff Processing config file: /usr/local/apache/conf/virtualhosts/magestudios.net/pirachu Processing config file: /usr/local/apache/conf/virtualhosts/magestudios.net/stats Processing config file: /usr/local/apache/conf/virtualhosts/magestudios.net/web Processing config file: /usr/local/apache/conf/virtualhosts/magestudios.net/www Processing config file: /usr/local/apache/conf/virtualhosts/magestudios.net/xtracool Program received signal SIGINT, Interrupt. 0x4046c564 in read () from /lib/libc.so.6 (gdb) bt full #0 0x4046c564 in read () from /lib/libc.so.6 No symbol table info available. #1 0x81d2044 in ?? () No symbol table info available. #2 0x8084bf5 in buff_read () No symbol table info available. #3 0x8084b92 in saferead_guts () No symbol table info available. #4 0x8083612 in read_with_errors () No symbol table info available. #5 0x8083980 in ap_bgets () No symbol table info available. #6 0x8093c1b in getline () No symbol table info available. #7 0x8093efd in read_request_line () No symbol table info available. #8 0x809459e in ap_read_request () No symbol table info available. #9 0x8091104 in child_main () No symbol table info available. #10 0x8091301 in make_child () No symbol table info available. #11 0x809147c in startup_children () No symbol table info available. #12 0x8091aec in standalone_main () No symbol table
Re: [PHP-DEV] Bi-directional popen()
On Wed, 21 Mar 2001, Anil Madhavapeddy wrote: This has come up a few times, but is there any chance of having a bi-directional popen() that doesn't depend on the underlying system call supporting it? Hm.. it would be possible to make one that uses socketpair() instead of pipe() to do it's work. Something to the effect of: /* Real global */ int return_code = 0; pid_t last_pid = 0; /* This means it can only have one popen() going at once.. */ void php_sigchld_handler(int sig) { int status; pid_t pid; pid = wait4(-1, status, WNOHANG, NULL); if (pid 0) { if (WIFEXITED(status)) { return_code = WEXITSTATUS(status); } } return; } int php_pclose(FILE *pipe) { int fd = _fileno(pipe); int ret; int status; fclose(pipe); ret = wait4(last_pid, status, WNOHANG, NULL); if (ret == 0) { kill(last_pid, SIGTERM); if (ret == 0) return return_code; else return WEXITSTATUS(status); } else { return WEXITSTATUS(status); } } FILE* php_popen(char *cmd, char *mode) { int fds[2]; FILE *ret; pid_t pid; int i; if ((mode[0] == 'r' || mode[0] == 'w') mode[1] == '\0') { return popen(cmd, mode); } else { if (socketpair(AF_INET, SOCK_STREAM, 0, fds[2]) == 0) { pid = fork(); if (pid 0) { /* Parent process */ /* Catch SIGCHLD to tell us when it's exited. */ (void) signal(SIGCHLD, php_sigchld_handler); /* Create a FILE* from the file descriptor */ ret = fdopen(fds[0], "w+"); if (ret == NULL) { /* Oh -- can't fdopen()? */ (void) kill(ret, SIGKILL); } /* And we're done */ return ret; } else if (pid == 0) { /* Child process */ for (i = 0; i 1024; i++) { if (i != fds[1]) { (void) close(i); } } /* Create stdin/stdout/stderr */ dup2(fds[1], 0); dup2(fds[1], 1); dup2(fds[1], 2); execl("/bin/sh", "-c", cmd, (char *) 0); exit(127); } else { return NULL; } } } } PS: This is just a quick hack. I think it might work as is, but it's not something I would try using as-is without checking it out first. Chris -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9966: date(today) and date(tomorrow) return twice the same date
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.4pl1 PHP Bug Type: Date/time related Bug description: date(today) and date(tomorrow) return twice the same date I made a script that loops through a week ahead (starting from 19 of March 2001 and includind the week of 19-25 of March 2001) and reads the data from a database according to the date. I've noticed the '2001-03-24' is returned twice using the following script: for($i = 0; $i 6; $i++) { $next_date = date("Y-m-d", mktime(0,0,0,date("m"),date("d")+$i,date("Y"))); print $next_date; } The script returns the same date with PHP 4.0.4 on IIS and Apache for Windows. -- Edit Bug report at: http://bugs.php.net/?id=9966edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] CVS Account Request
Full name: leejd Email: [EMAIL PROTECTED] ID: leejd Purpose: develop with PHP -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9967: Some .php filenames generate 'Failed opening ... for inclusion...' warning.
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0 Latest CVS (24/03/2001) PHP Bug Type: Scripting Engine problem Bug description: Some .php filenames generate 'Failed opening ... for inclusion...' warning. The full warning is: Warning: Failed opening '/home/cd/public_html/template.php' for inclusion (include_path='.') in Unknown on line 0 I got this error with PHP 4.0.4pl1 and PHP 4.0.5-dev. The file above, template.php, works fine if I name it 'asdf.php' or 'index.php', but every other name I've tried generates the warning. The content of the file doesn't matter. It could be empty, HTML, PHP, or HTML/PHP. The following is from phpinfo(): System Linux phoboslab 2.4.2 #3 Thu Feb 22 06:37:04 EST 2001 i686 unknown Build Date Mar 24 2001 Configure Command './configure' '--with-mysql=/usr/local/mysql' '--with-apxs=/usr/local/apache/bin/apxs' Server API Apache Virtual Directory Support disabled Configuration File (php.ini) Path /usr/local/lib/php.ini ZEND_DEBUG disabled Thread Safety disabled -- Edit Bug report at: http://bugs.php.net/?id=9967edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] CVS Account Request
Full name: Kashif Aziz Email: [EMAIL PROTECTED] ID: kashaziz Purpose: Subscription to PHP list and a CVS account -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Re: PHP 4.0 Bug #9956 Updated:
sorry hug! Marcus On Fri, 23 Mar 2001, you wrote: ID: 9956 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Unknown/Other Function Assigned To: Comments: Please use [EMAIL PROTECTED] to report these kind of errors. --Jani Previous Comments: --- [2001-03-23 11:17:29] [EMAIL PROTECTED] Search Results Warning: Unable to fork [/local/htdig/bin/htphp.sh "words=robynetconfig=phpexclude=/sourcerestrict=http://www.php.net/"] in /local/Web/sites/phpweb/search.php on line 183 There was an error executing this query. Please try later --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9956edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9531 Updated: make fails at make . - /usr/bin/ld: cannot open -lxmltok
ID: 9531 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Compile Failure Description: make fails at "make ." - /usr/bin/ld: cannot open -lxmltok I could not find zlib.h also, it seems that rpm -i libz-1_1_3-4_src.rpm did not do anything (no install confirmation) Can you send me the file and whatever will be necessary to [EMAIL PROTECTED]? Thanks in advance. Previous Comments: --- [2001-03-18 18:17:15] [EMAIL PROTECTED] Where is zlib.h file located in your system? --Jani --- [2001-03-18 06:11:57] [EMAIL PROTECTED] sorry to disturb you again, but I've tried different zlib and lizb rpms, they all seem to put some libz.so.1 into /usr/lib. However, configure tells me configure: error: Cannot find libz whether I try --with-zlib=/usr or --with-zlib=/usr/lib Where am I wrong here? (Well, I think I'm gonna write an FAQ for this kind of PHP/4 installation when I'm finally through this ... ;-) ) --- [2001-03-17 13:27:58] [EMAIL PROTECTED] You pressed ctrl+c to interrupt the make process. Please ask further install questions on [EMAIL PROTECTED] mailing list. --Jani --- [2001-03-17 07:46:17] [EMAIL PROTECTED] Joy! We're getting further! :-) But what's that: gcc -I. -I/home/family/php-4.0.4pl1/ext/standard -I/home/family/php-4.0.4pl1/ma in -I/home/family/php-4.0.4pl1 -I/home/family/php-4.0.4pl1/Zend -I/home/family/l ibxml2-2.3.3/include -I/usr/local/mysql/include -I/home/family/php-4.0.4pl1/ext/ xml/expat/xmltok -I/home/family/php-4.0.4pl1/ext/xml/expat/xmlparse -I/home/fami ly/php-4.0.4pl1/TSRM -DXML_BYTE_ORDER=12 -g -O2 -c crypt.c touch crypt.lo make[3]: *** [crypt.lo] Interrupt make[2]: *** [all-recursive] Interrupt make[1]: *** [all-recursive] Interrupt make: *** [all-recursive] Interrupt --- [2001-03-11 21:59:17] [EMAIL PROTECTED] --with-zlib=/path/to/libz/install/dir --Jani --- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=9531 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9968: ld: fatal: Symbol referencing errors.
From: [EMAIL PROTECTED] Operating system: SunOS 5.7 PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: ld: fatal: Symbol referencing errors. I'm trying to install PHP 4.0.4pl1 on SunOS hill.adgrafix.com 5.7 Generic_106541-07 sun4u sparc SUNW,UltraSPARC-IIi-Engine Here is my configure line: ./configure \ --with-mysql \ --with-apxs=/opt2/bludot4u/apache/bin/apxs \ --enable-track-vars \ --enable-track-errors \ --with-regex=system \ --enable-libgcc \ --with-gd \ --with-config-file=path=/opt2/bludot4u/httpd/conf I get a message at the end of the configure saying something wierd is up, and to look into the debug.log: ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status -- Edit Bug report at: http://bugs.php.net/?id=9968edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9968 Updated: ld: fatal: Symbol referencing errors.
ID: 9968 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Compile Failure Assigned To: Comments: which symbols cause problems? Can you possibly put the debug.log on a website for use to see? Derick Previous Comments: --- [2001-03-24 10:28:18] [EMAIL PROTECTED] I'm trying to install PHP 4.0.4pl1 on SunOS hill.adgrafix.com 5.7 Generic_106541-07 sun4u sparc SUNW,UltraSPARC-IIi-Engine Here is my configure line: ./configure --with-mysql --with-apxs=/opt2/bludot4u/apache/bin/apxs --enable-track-vars --enable-track-errors --with-regex=system --enable-libgcc --with-gd --with-config-file=path=/opt2/bludot4u/httpd/conf I get a message at the end of the configure saying something wierd is up, and to look into the debug.log: ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9968edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9969: Feature request: persistent FTP connections
From: [EMAIL PROTECTED] Operating system: Win ME PHP version: 4.0.4pl1 PHP Bug Type: FTP related Bug description: Feature request: persistent FTP connections Since this is where I end up clicking 'click here to request a feature', I've got one for you: I think it would be really nice to have a way of connecting to an FTP server with a persistent connection, because it's a lot easier to just leave the door open than to close it after one pass of the script ends, and reopen it with the next one. Thanx for considering, Mattias Vermeulen Maverick Web Development -- Edit Bug report at: http://bugs.php.net/?id=9969edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9961 Updated: CGI Error
ID: 9961 User Update by: [EMAIL PROTECTED] Status: Closed Bug Type: IIS related Description: CGI Error Ok i just found out that the program has insufficient permission to php4ts.dll == i wrote an analyzing program with witch i replaced the php.exe interpreter. I think this tool could help many IIS users with this problem. If you want me to send it to you, just tell me. Previous Comments: --- [2001-03-23 16:48:49] [EMAIL PROTECTED] This error occurs when php doesn't output anything. In this instance, it is almost always because IUSR_machinename doesn't have sufficient permissions to cause php.exe to execute - often because of file permissions on php.exe, php.ini or php4ts.dll, or any extensions you are trying to load, but sometimes because IUSR_machinename doesn't have sufficient privileges to cause a program to execute. Have a go with these issues, and if you still have no success, post your problem on the php windows list and we will sort you out there. --- [2001-03-23 15:34:17] [EMAIL PROTECTED] I've got an IIS 4.0 on my WinNT Terminal Server. When I even call the simpliest script my Browser gets following message: headtitleError in CGI Application/title/head bodyh1CGI Error/h1The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:pppre/pre i've even once replace the php.exe whith a programm that prints out all the parameters that IIS would pass to the interpreter - everything seems ok (somtimes IIS passes wrong directory information). So i think the php.exe just imediatly shuts down - without printing any text - after beeing called, but why? --- Full Bug description available at: http://bugs.php.net/?id=9961 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9970: fread() and file() cancels reading of any file on first #26 (Ctrl-Z) symbol
From: [EMAIL PROTECTED] Operating system: Win2000 Server/Russian PHP version: 4.0.4pl1 PHP Bug Type: Filesystem function related Bug description: fread() and file() cancels reading of any file on first #26 (Ctrl-Z) symbol This happens only in ISAPI module. fread() and file () reads only portion of the given file from beginning to the first #26 character. fgetc() returns an empty string instead of it. -- Edit Bug report at: http://bugs.php.net/?id=9970edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9970 Updated: fread() and file() cancels reading of any file on first #26 (Ctrl-Z) symbol
ID: 9970 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Filesystem function related Assigned To: Comments: This is not a bug, if you open the file with fopen ("filename", "rb"); (b = binary) it should work fine. file() however wont work this way. Previous Comments: --- [2001-03-24 10:49:54] [EMAIL PROTECTED] This happens only in ISAPI module. fread() and file () reads only portion of the given file from beginning to the first #26 character. fgetc() returns an empty string instead of it. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9970edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] CVS Account Request
Full name: Ufuk KOCOLU Email: [EMAIL PROTECTED] ID: ufux Purpose: Manual Authoring -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9971: Crash
From: [EMAIL PROTECTED] Operating system: nt40 PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description: Crash When I tried to create a for loop like (for $i = 0; $i = 10; $i++) ... it crashes out. After I changed the code like for ($i = 0; $i 10; $i++) it is ok. Sometimes I have problem with $i++ too in for loops so I change them to $i+=$x. -- Edit Bug report at: http://bugs.php.net/?id=9971edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9971 Updated: Crash
ID: 9971 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Scripting Engine problem Assigned To: Comments: Do you get a crash or a parse error? Previous Comments: --- [2001-03-24 11:26:02] [EMAIL PROTECTED] When I tried to create a for loop like (for $i = 0; $i = 10; $i++) ... it crashes out. After I changed the code like for ($i = 0; $i 10; $i++) it is ok. Sometimes I have problem with $i++ too in for loops so I change them to $i+=$x. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9971edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9968 Updated: ld: fatal: Symbol referencing errors.
ID: 9968 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Compile Failure Description: ld: fatal: Symbol referencing errors. http://216.248.192.16/debug.txt Previous Comments: --- [2001-03-24 10:35:54] [EMAIL PROTECTED] which symbols cause problems? Can you possibly put the debug.log on a website for use to see? Derick --- [2001-03-24 10:28:18] [EMAIL PROTECTED] I'm trying to install PHP 4.0.4pl1 on SunOS hill.adgrafix.com 5.7 Generic_106541-07 sun4u sparc SUNW,UltraSPARC-IIi-Engine Here is my configure line: ./configure --with-mysql --with-apxs=/opt2/bludot4u/apache/bin/apxs --enable-track-vars --enable-track-errors --with-regex=system --enable-libgcc --with-gd --with-config-file=path=/opt2/bludot4u/httpd/conf I get a message at the end of the configure saying something wierd is up, and to look into the debug.log: ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status --- Full Bug description available at: http://bugs.php.net/?id=9968 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9971 Updated: Crash
ID: 9971 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Scripting Engine problem Description: Crash I get a crash, my whole system stops and I have to restart usually. Previous Comments: --- [2001-03-24 11:31:00] [EMAIL PROTECTED] Do you get a crash or a parse error? --- [2001-03-24 11:26:02] [EMAIL PROTECTED] When I tried to create a for loop like (for $i = 0; $i = 10; $i++) ... it crashes out. After I changed the code like for ($i = 0; $i 10; $i++) it is ok. Sometimes I have problem with $i++ too in for loops so I change them to $i+=$x. --- Full Bug description available at: http://bugs.php.net/?id=9971 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 3.0 Bug Summary Report
PHP 3.0 Bug Database summary - http://bugs.php.net Num Status Summary (528 total including feature requests) ===[*General Issues]== 4180 Open is_link returns false when target doesnt exist (should return true) 9610 Bogus Dead link 9820 Open File upload with any input tag ===[*Install and Config]== 7386 Feedback referenced symbol not found when starting Apache ===[Compile Failure]== 1145 Open Ypu cannot compile with --with-ldap using the Solaris7 bundled ldap-libs/header 1298 Open need to use -taso with Netscape LDAP libs 1461 Open won't compile with Stronghold 2.2 or 2.3 1933 Open Unable to compile PHP3 with Oracle8 support 1997 Open Compilation Problems 2225 Open Compile error in ldap.c 2282 Open Compile failure with Stronghold 2.4.1 2490 Open Perl regular expression functions not available in windows binary 2585 Open Error linking Oracle 7.3.2 libraries on SCO OpenServer 5.0.4 2658 Open error while compiling PHP as apache module 2729 Open Fatal error: Unable to open ??? in - on line 0 2751 Open Storage size of "buf isn't known 2823 Open undefined symbol: SQLParamData 2824 Open Inconsistent parameter list declaration for... 2903 Open fails to compile ifx.ec, report a syntax-error 3033 Open Fatal compile error on functions/ldap.c 3185 Open Undefined symbol 3217 Open ld error when compiling as Apache DSO and --with-mysql 3218 Open Can't compile php_ftp.dll 3426 Open make with iodbc failed and I've found the problem 3501 Open Compiling errors with Oracle-Funktions 3528 Open Can't compile php 3.0.14 with Oracle support 3677 Open files not found 3766 Open configure doesn't allow for the Oracle N32 client SDK to be used 3776 Open functions/db.c:107: parse error before '*' 4028 Open wrong directories included for oracle 8.1.6 4217 Open IBM DB2 will not compile. 4233 Open The Interbase module won't compile. 4266 Open Undeclared variables in function/imap.c starting ar line 435 4392 Open Compile failure with GD 1.7, possibly others 4412 Open xml failure 4417 Open Informix specific parse error in functions/ifx.ec 4544 Open Incompatiblility with latest (3.0) version of PDFlib 4899 Open PHP Core Dumps With Apache 1.3.12 7734 Open missing php3_ifx.h ===[Compile Warning]== 3151 Open php.exe compile warnings because of arpa/inet.h 6942 Open php sockets unusable with irix-OS ===[dBase related] 3091 Open dbase_replace_record miscounts number of fields 3429 Open Warning: Unable to open database... 4802 Open php.exe crashes while trying to execute the get_record function ===[DBM/DBA related]== 2890 Open DBM extension on win32 does not valid database identifier error 3371 Open dbmfetch reurns an empty string 3423 Open dbmopen() not thread-safe 3809 Duplicate DBM extension for Win32 PHP3 is malfunctioning and/or has a flaw 3862 Open dbmReplace dbmDelete return inverse value 6720 Open persistent "Warning: driver initialization failed" on db_open db2 2.7.7 ===[Dynamic loading related]== 1188 Open Configuration not work 1586 Open In the compiled Win32 package, the php3_ldap doesn't load. 1993 Open Startup failure of liphp3.so 2027 Open Can't dynamicly load any extension dll file 2250 Open nt-service problem 2414 Open php3_vmailmgr.so refuses to load 2862 Open LDAP in Win32 Bin dist is linked to MSVCRTD.DLL 3168 Open cannot start apache 1.3.9 if mysql is compiled in, but can RESTART successfully 3292 Open MySQL module causes DSO to fail. 3321 Open Apache Complaining about undefined symbol: dlst_first 3659 Open mod_php + apache w/mod_so hangs in sched_yield 3680 Open Apache won't start after install php3 3752 Open Apache configtest dumps core with DSO versioning 3781 Open Cannot load /libexec/libphp3.so 3861 Open php as a dyn. mod. configured with IBM db2 support prevents svr startup 9565 Open php3_ldap.dll is compiled as DEBUG ===[IMAP related]= 2816 Open Imap_open error when user_id length=3 char 2847 Open imap_search - dates don't work 3040 Duplicate imap_open 3236 Open Email message bodies show as mime type application/octet-stream/plain 3843 Open seg fault when recieving headers 6882 Open imap_fetch_overview does no return anything even thought there is mail
[PHP-DEV] PHP 4.0 Bug #9970 Updated: fread() and file() cancels reading of any file on first #26 (Ctrl-Z) symbol
ID: 9970 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: Filesystem function related Assigned To: Comments: file() function was changed to open file in binary mode in the CVS (2000/12/12). --Jani Previous Comments: --- [2001-03-24 11:05:45] [EMAIL PROTECTED] This is not a bug, if you open the file with fopen ("filename", "rb"); (b = binary) it should work fine. file() however wont work this way. --- [2001-03-24 10:49:54] [EMAIL PROTECTED] This happens only in ISAPI module. fread() and file () reads only portion of the given file from beginning to the first #26 character. fgetc() returns an empty string instead of it. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9970edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9971 Updated: Crash
ID: 9971 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Description: Crash I get a crash, my whole system stops and I have to restart usually. Previous Comments: --- [2001-03-24 11:57:10] [EMAIL PROTECTED] I get a crash, my whole system stops and I have to restart usually. --- [2001-03-24 11:31:00] [EMAIL PROTECTED] Do you get a crash or a parse error? --- [2001-03-24 11:26:02] [EMAIL PROTECTED] When I tried to create a for loop like (for $i = 0; $i = 10; $i++) ... it crashes out. After I changed the code like for ($i = 0; $i 10; $i++) it is ok. Sometimes I have problem with $i++ too in for loops so I change them to $i+=$x. --- Full Bug description available at: http://bugs.php.net/?id=9971 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9971 Updated: Crash
ID: 9971 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Scripting Engine problem Assigned To: Comments: Can you post the whole source of a script that crashes on the web somewhere? (Or if it's small, put it into this bug report). Can you also tell which version of PHP4 you are using? Previous Comments: --- [2001-03-24 12:04:20] [EMAIL PROTECTED] I get a crash, my whole system stops and I have to restart usually. --- [2001-03-24 11:57:10] [EMAIL PROTECTED] I get a crash, my whole system stops and I have to restart usually. --- [2001-03-24 11:31:00] [EMAIL PROTECTED] Do you get a crash or a parse error? --- [2001-03-24 11:26:02] [EMAIL PROTECTED] When I tried to create a for loop like (for $i = 0; $i = 10; $i++) ... it crashes out. After I changed the code like for ($i = 0; $i 10; $i++) it is ok. Sometimes I have problem with $i++ too in for loops so I change them to $i+=$x. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9971edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9971 Updated: Crash
ID: 9971 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Scripting Engine problem Description: Crash I use PHP4.0.5dev on NT4.0 the code is simple table border=0 ? for ($i = 0; $i = $newvalue; $i++) { ? tr td ? echo $i; ? /td /tr ? } ? /table Previous Comments: --- [2001-03-24 12:07:35] [EMAIL PROTECTED] Can you post the whole source of a script that crashes on the web somewhere? (Or if it's small, put it into this bug report). Can you also tell which version of PHP4 you are using? --- [2001-03-24 12:04:20] [EMAIL PROTECTED] I get a crash, my whole system stops and I have to restart usually. --- [2001-03-24 11:57:10] [EMAIL PROTECTED] I get a crash, my whole system stops and I have to restart usually. --- [2001-03-24 11:31:00] [EMAIL PROTECTED] Do you get a crash or a parse error? --- [2001-03-24 11:26:02] [EMAIL PROTECTED] When I tried to create a for loop like (for $i = 0; $i = 10; $i++) ... it crashes out. After I changed the code like for ($i = 0; $i 10; $i++) it is ok. Sometimes I have problem with $i++ too in for loops so I change them to $i+=$x. --- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=9971 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9746 Updated: pg_close (or autoclose) closes wrong connections
ID: 9746 Updated by: romolo Reported By: [EMAIL PROTECTED] Status: Open Bug Type: PostgreSQL related Assigned To: Comments: Try current CVS release, at lest in my case the bug seem to be solved. The problem appeared to be in the close function as it was closing first the specified connection and than the default one (that in the case of same connection ID are exactly the same) so that the 2nd unwilled close was really closing the connection and not just removing a ref to it. Previous Comments: --- [2001-03-14 16:38:02] [EMAIL PROTECTED] Try latest CVS snapshot from http://snaps.php.net/ as this should be fixed. --Jani --- [2001-03-14 15:37:28] [EMAIL PROTECTED] I tried with php4-200103141145; still as described above. --- [2001-03-14 16:21:41] [EMAIL PROTECTED] I recall this coming up before, but I can't find it in the list of open or closed postgres bugs. It appears as though PHP is using the arguments to pg_connect to uniquely identify connections. For example: $dba = pg_connect("user=foo pass=bar dbname=baz"); $dbb = pg_connect("user=foo pass=bar dbname=baz"); pg_close($dba); # $dbb is closed now too Were one to use $dbb at this point, one would see PHP Warning: 1 is not a valid PostgreSQL link resource in [file] at [line]. But, $dba = pg_connect("user=foo pass=bar dbname=baz"); $dbb = pg_connect("pass=bar user=foo dbname=baz"); pg_close($dba); # $dbb is still open and $dba = pg_connect("user=foo pass=bar dbname=baz"); $dbb = pg_connect("user=foo pass=bar dbname=baz"); pg_close($dba); # $dbb is still open The bug doesn't require that the handle be closed explicitly; I discovered it here where one of our programmers was having connections close when one fell out of scope. I tried moving back to PHP 4.0.2 but the bug's there too (so it doesn't look to be a regression problem); on the other hand, a DEC Alpha running Digital Unix 4.0e and PHP 4.0.2 does *not* exhibit this behaviour. If you're unable to duplicate it, please get in touch with me, and I'll see if I can make arrangements for a testing environment. I'll poke through the code myself for something obvious, but I'm unfamiliar with PHP internals in the first place (up to now, at least). --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9746edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9937 Updated: pg_close close any connection open with the same connection string
ID: 9937 User Update by: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: PostgreSQL related Description: pg_close close any connection open with the same connection string Seem closed Previous Comments: --- [2001-03-22 14:15:32] [EMAIL PROTECTED] ?php $conn=pg_connect("connection string"); $conn1=pg_connect("connection string"); echo $conn."br"; // output 1 echo $conn1."br"; // output 1 pg_close($conn); pg_close($conn1); // results in invalid resource ID error ? looking at the code I can see that if you try to open two db connections, with the same connection string, only one really get opened, to the second one instead is assigned the same resource ID of the first and zend_list_addref function is called for the resource. If you close the first connection, it really get closed taking no care of the number of references to the resource. --- Full Bug description available at: http://bugs.php.net/?id=9937 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9972: after session_destroy session_start variable still has a value
From: [EMAIL PROTECTED] Operating system: Win98 SE, Linux PHP version: 4.0.4pl1 PHP Bug Type: *Session related Bug description: after session_destroy session_start variable still has a value I've used session_register("sErr") to register session variable. then it's used in following function: function kBan_error() { global $HTTP_SESSION_VARS; if($HTTP_SESSION_VARS['sErr']): echo "span class=\"error\"".$HTTP_SESSION_VARS['sErr']."/span"; endif; $HTTP_SESSION_VARS['sErr'] = ""; } on another site the $HTTP_SESSION_VARS['sErr'] is empty. after calling session_destroy() is the variable empty again. but after calling session_start() in the same browser window, the variable sets to latest value that it's been filled with. calling the function kBan_error() twice in a row with defined variable $HTTP_SESSION_VARS['sErr'] causes only one appearance of the error message. -- Edit Bug report at: http://bugs.php.net/?id=9972edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9973: See below
From: [EMAIL PROTECTED] Operating system: PHP version: Earlier? Upgrade first! PHP Bug Type: Scripting Engine problem Bug description: See below In an HTML form, I have created an array of check boxes with the name c[] for each box. I checked the third box on the form. I expected c[0] and c[1] to be undefined, and c[2] to be "ON". What happened was that only c[0] was defined. A really cool approach now won't work. How do I work around this? Related Topic: How do I convince Mindspring to upgrade to PHP 4? BTW: Love PHP!!! Thanks -- Edit Bug report at: http://bugs.php.net/?id=9973edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] sockets.c problem SunOS 5.7
Hey.. I had a problem compiling sockets.c on sunos 5.7. After looking at socket.h on sunos5.7 I saw the _XPG4_2 define that needed to be added, so I did that, it turned up more errors though I looked at sockets.c in cvs and saw the extra __EXTENSIONS__ define, added that, still the same Then I noticed why it happened, its because the _XPG4_2 define changes the function names for listen and such, thus causing sockets.c to call the php internal functions differently than php_sockets.h does. I am not very familiar with the development of php, but I fixed it by simply moving types.h and sockets.h above the includes for php_sockets.h and such. This fixed the compile bug, but is probably not a very nice fix.. Just wanted to let you know of my experience If you have any questions, let me know by email, I am not on the list... Fabian Thylmann STATSnet sprl -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] sockets.c again
Hey, sadly I posted too soon, my fix caused symbol errors when starting apache (php as loadable apache module) If anyone has a fix for this problem, please let me know by mail! Fabian Thylmann STATSnet sprl -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9665 Updated: .netrc sought only in /root
ID: 9665 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: cURL related Assigned To: Comments: (Thanks to Daniel Stenberg for pointing this out.) This occurs because curl is using the $HOME envvar to locate the .netrc file, so a putenv() before the call enables you to set the directory in which to search: ?php error_reporting(E_ALL); putenv('HOME=/path/to/desired/home/dir'); $url = 'ftp://www.work.loc'; if (!$curld = curl_init()) { echo "Could not initialize cURL session.\n"; exit; } curl_setopt($curld, CURLOPT_NETRC, true); curl_setopt($curld, CURLOPT_URL, $url); curl_exec($curld); echo curl_errno($curld); ? Previous Comments: --- [2001-03-09 19:12:00] [EMAIL PROTECTED] cURL works fine in general, but when told to search for a .netrc file, searches only in /root and not in the httpd user's actual home directory (/home/www). i.e., the following only works if .netrc is in /root: ?php error_reporting(E_ALL); echo `id`; $url = 'ftp://www.work.loc'; if (!$curld = curl_init()) { echo "Could not initialize cURL session.n"; exit; } curl_setopt($curld, CURLOPT_NETRC, true); curl_setopt($curld, CURLOPT_URL, $url); curl_exec($curld); echo curl_errno($curld); ? --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9665edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9974: Apache Core dump on mcrypt
From: [EMAIL PROTECTED] Operating system: FreeBSD 3.2-RELEASE PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: Apache Core dump on mcrypt configure: ./configure --prefix=/var/www --enable-magic-quotes --enable-track-vars --enable-track-errors --with-mysql --with-apache=../apache_1.3.17 gdb: #0 0x80c82f5 in php_minit_crypt () #1 0x80c3d9a in php_minit_basic () #2 0x8109eb7 in zend_startup_module () #3 0x80a5d14 in php_startup_extensions () #4 0x80a68bf in php_startup_internal_extensions () #5 0x80a5f5d in php_module_startup () #6 0x80a3df8 in sapi_apache_send_headers () #7 0x80a4866 in php_init_handler () #8 0x813e6bd in ap_init_modules () #9 0x81482b1 in main () #10 0x80774dd in _start () When starting apache, I get the following error: su-2.04# ./httpd -X Floating point exception (core dumped) -- Edit Bug report at: http://bugs.php.net/?id=9974edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]