[PHP-DEV] PHP 4.0 Bug #7339 Updated: ODBC with Oracle and Apache, Server rejected the connection
ID: 7339 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: ODBC related Description: ODBC with Oracle and Apache, Server rejected the connection this sounds more like you didn't read the problem very well, I repeat, using PHP3 everythinh works (so the Oracle Configuration is fine and the Username and Pwd is OK) using PHP4 there are problems. Previous Comments: --- [2001-03-30 11:33:43] [EMAIL PROTECTED] this sounds more like a misconfiguration in the Oracle server rather than in PHP. Please check that your Oracle installation is properly setup. And then the that the user and password are correct. --- [2000-10-19 08:37:44] [EMAIL PROTECTED] Hello, Using PHP3 and connecting to Oracle via ODBC everything works fine but using exactly the same script with PHP4.0.3pl1 I receive this "SQL error: [Oracle][ODBC][Ora]Server rejected the connection., SQL state 08004 in SQLConnect". The scrip is really easy, here it is: ?php if (!($conn=odbc_connect ("ORACLEQP", "scott", "tiger"))) echo "Error"; else echo "OK"; ? Obviously "ORACLEQP" is my Sysytem DSN. The server machine is different from the Web Server running apache and PHP. Any hint would be very appreciated cause right now to workaround to the problem I am using both PHP3 and PHP4. (I need PHP4 because I am trying to use GD library) Thanks Andrea --- Full Bug description available at: http://bugs.php.net/?id=7339 -- 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 #10086:
From: [EMAIL PROTECTED] Operating system: win98 PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: A device attached to the system is not functioning. -- Edit Bug report at: http://bugs.php.net/?id=10086edit=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 #10087:
From: [EMAIL PROTECTED] Operating system: win98/PWS PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: A device attached to the system is not functioning. -- Edit Bug report at: http://bugs.php.net/?id=10087edit=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 #10088: Object linking
From: [EMAIL PROTECTED] Operating system: W2K PHP version: 4.0.4pl1 PHP Bug Type: Class/Object related Bug description: Object linking The script shown attempts to implement a linked list, but the problem is more general and occurs in many similar situations. ? $d1 = @new obj("one"); // Suppress the warning over the missing argument $d2 = new obj("two", $d1); $d3 = new obj("three", $d2); $d4 = new obj("four", $d3); $d5 = new obj("five", $d4); // Dump what should be the entire linked list $d1-dump(); print("p"); // Now to demonstrate the problem: // No matter where you begin the dump() from, only the // $this node and its immediate successor are printed. $d2-dump(); print("p"); $d3-dump(); print("p"); class obj { var $next; var $name; function obj($name,$prev) { // Add each new object as the "next" pointer of the preceeding one this-name = $name; if ($prev) $prev-next = $this; } function dump() { for ( $ptr = $this; $ptr; $ptr = $ptr-next) print($ptr-name . "br"); } } ? It seems that when an object's data is manipulated by a different object - even as here, of the same class - the changes made to the object are lost when its context expires. Configuration: Absolutely standard Webserver: Apache and IIS ... same problem in both, and under cgi and as a module Aggravation factor: Immense Cheer chaps for an otherwise excellent language! -- Edit Bug report at: http://bugs.php.net/?id=10088edit=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 #10087 Updated:
ID: 10087 Updated by: jmoore Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Compile Failure Assigned To: Comments: Not enough information provided please provide more. bogusifying, reopen if you provide more information James Previous Comments: --- [2001-03-31 04:56:25] [EMAIL PROTECTED] A device attached to the system is not functioning. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10087edit=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 #10087 Updated:
ID: 10087 Updated by: jmoore Reported By: [EMAIL PROTECTED] Old-Status: Bogus Status: Duplicate Bug Type: Compile Failure Assigned To: Comments: Duplicate Previous Comments: --- [2001-03-31 05:04:26] [EMAIL PROTECTED] Not enough information provided please provide more. bogusifying, reopen if you provide more information James --- [2001-03-31 04:56:25] [EMAIL PROTECTED] A device attached to the system is not functioning. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10087edit=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 #10086 Updated:
ID: 10086 Updated by: jmoore Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Compile Failure Assigned To: Comments: Not enough information provided please provide more. bogusifying, reopen if you provide more information James Previous Comments: --- [2001-03-31 04:55:59] [EMAIL PROTECTED] A device attached to the system is not functioning. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10086edit=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 #10089: gd1.8.4 compiled into php causes compile failure, gif isn't supported
From: [EMAIL PROTECTED] Operating system: Red Hat 6.2 PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: gd1.8.4 compiled into php causes compile failure, gif isn't supported While compiling php with gd support it completely stops. gd now no longer supports gif files. Because of this while running "make" it cause the compile to crash because the associated "gif" commands are not recognised. I found by editing the gd.c file under ext dir and removing anything with "gif" in it I could finish the compilation. By the way PHP is a top language and I love using it. Only just starting with it Thanks Evan -- Edit Bug report at: http://bugs.php.net/?id=10089edit=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 #8638 Updated: PHP handles permission problems ungracefully rather than letting Apache do it
ID: 8638 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Apache related Assigned To: Comments: Does it still happen? IIRC it was fixed. Previous Comments: --- [2001-01-10 10:31:13] [EMAIL PROTECTED] I'm using Apache 1.3 with the config line: AddType application/x-httpd-php php When the permissions on any .php file are not set correctly for Apache to read them, the error: Warning: Failed opening '/path/to/page.php' for inclusion (include_path='/path/to/phplib') in Unknown on line 0 appears. The same problem still occurs with include_path='.:/path/to/phplib' in php.ini. This is user-hostile - what ought to happen would be that Apache's normal 403 error mechanism should be invoked. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8638edit=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 #10090: PHP code parser interprets ? and ? tags -IN- comments
From: [EMAIL PROTECTED] Operating system: Redhat Linux 7.0 PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description: PHP code parser interprets lt;? and ?gt; tags -IN- comments When writing a piece of code, with a comment containing ? or ? the block statements are still interpreted by the script parser. eg ? // this is a comment about ? tags echo "hello"; ? would give you a syntax error when trying to run the script. Since im writing a php source beautifier in PHP, this is kind of anoying :) -- Chris -- Edit Bug report at: http://bugs.php.net/?id=10090edit=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 #9422 Updated: Apache hangs when Win goes to standby
ID: 9422 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Apache related Assigned To: Comments: Does it happen with plain Apache (without PHP)? If not, could you try with 1.3.19 and newer version of PHP? Previous Comments: --- [2001-03-17 19:27:17] [EMAIL PROTECTED] same with Sambar Server 4.4 --- [2001-02-23 10:43:53] [EMAIL PROTECTED] If PHP 4.04 is included in Apache 1.3.17 as module with: LoadModule php4_module c:/php/sapi/php4apache.dll AddType application/x-httpd-php .php and Win goes into standby the standby window and the Apache console freezes, omnly after after killing the second apache task - with small letters - computer goes standby. Gustav Graf --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9422edit=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 #9903 Updated: Premature end of script
ID: 9903 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Apache related Assigned To: Comments: what are the relevant lines from your httpd.conf? Previous Comments: --- [2001-03-21 12:35:27] [EMAIL PROTECTED] I installed PHP4.0.4 from the PHP4_win32 distribution on a win98 machine with DUN not connected to internet. Use Netscape and type: http://12.0.0.1/. The apache test page comes up. Edited the httpd.conf for PHP and typed: http://12.0.0.1/test.php. An error about an internal server error was reported on the browser. The apache error.log had an entry stating" Premature end of script headers in c:/program files/apache/cgi-bin/php/php.exe" The php.ini file is the defalault from the PHP404.exe setup. I did confirm the extensions_ line is pointing to my php directory. I selected the interbase extension only, dm and one other were enabled by default so I left them. I have MySQL installed on the machine but not running. I would like to use the machine for local (not connected) development when on the road. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9903edit=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 #9785 Updated: Stopping apache (1.3.14) service (with PHP) crashes and Dr. Watson appears
ID: 9785 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Apache related Assigned To: Comments: this was a bug in Apache. I'm not sure if the fix made it into 1.3.19, but it's definitely ok in CVS. Previous Comments: --- [2001-03-16 09:29:19] [EMAIL PROTECTED] Hi. I've got installed the following: * Windows NT 5.0 build 2195, a.k.a. Win 2000 Pro with Service Pack 1 * Apache 1.3.14 * PHP 4.0.4pl1 * Zend Engine v1.0.4 and Apache just work as a NT Service. If I stop that service, Dr. Watson jumps to log a crash. Maybe, Apache "crashes" due to a malfunction in PHP-Apache-Win2K interaction. Any idea? Thanks in advance. Arturo García Martín [EMAIL PROTECTED] --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9785edit=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 #10025 Updated: bison reports error with 'S' parameter
ID: 10025 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Compile Failure Assigned To: Comments: try a snapshot from http://snaps.php.net/, this was IIRC fixed. Previous Comments: --- [2001-03-27 10:54:09] [EMAIL PROTECTED] Compiling PHP4.0.4pl1 on Windows NT4 SP6a with Cygwin (setup version 2.19) and bison 1.28 reports the following: Deleting intermediate files and output files for project 'TSRM - Win32 Release_TS'. Deleting intermediate files and output files for project 'ZendTS - Win32 Release_TS'. Deleting intermediate files and output files for project 'libmysql - Win32 Release_TS'. Deleting intermediate files and output files for project 'php4dllts - Win32 Release_TS'. Deleting intermediate files and output files for project 'php4ts - Win32 Release_TS'. Configuration: TSRM - Win32 Release_TS Compiling... TSRM.c tsrm_strtok_r.c tsrm_virtual_cwd.c Creating library... Configuration: ZendTS - Win32 Release_TS Performing Custom Build Step on ".zend_language_parser.y" bison: invalid option -- S Usage: bison [-dhklntvyV] [-b file-prefix] [-o outfile] [-p name-prefix] [--debug] [--defines] [--fixed-output-files] [--no-lines] [--verbose] [--version] [--help] [--yacc] [--no-parser] [--token-table] [--file-prefix=prefix] [--name-prefix=prefix] [--output=outfile] grammar-file Report bugs to [EMAIL PROTECTED] Error executing c:winntsystem32cmd.exe. php.exe - 1 error(s), 0 warning(s) From what I understand for this to compile properly version 1.25 of the Cygwin bison is required. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10025edit=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 #10091: -
From: [EMAIL PROTECTED] Operating system: - PHP version: 4.0.4pl1 PHP Bug Type: *General Issues Bug description: - at the bugtraq yesterday: I've found a bug in php/MySQL that can show u the webroot path. If u ask a non-existent file: http://xxx.xxx.xxx.xxx/comments.php?file=.3425 server's answer is: Warning: 0 is not a MySQL result index in /www/lc/linstart/www/other_languages/german/comments.php on line 74 I don't know if it's xploitable, I dont'know MySQL. Let's xploit it!! Darko -- But this: This will only happen if you have NOT turned off the error reporting in the php.ini file. If you turn it off, and log the errors to a file you will not get this. -- Edit Bug report at: http://bugs.php.net/?id=10091edit=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 #10016 Updated: MySQL connection
ID: 10016 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Reproduceable crash Assigned To: Comments: a few things would help: a _short_ script that reproduces the behavior mysql config file php.ini Previous Comments: --- [2001-03-27 08:27:29] [EMAIL PROTECTED] Hello, WIN98/APACHE PHP is working perfectly for pages that doesn't call mysql connection. When I try to call a page that contains a connection with my sql. The page doesn't load. I don't have any error output, and it seems that the page doesn't load. I tried to wait for the page to load, but even 1 hour after calling the page, there's still a blank page. On the other side, if i have a look on what's running on the computer (CTRL+ALT+SUPPR), I can see Php running. It looks like if PHP is launched, but doesn't work. Any help welcome --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10016edit=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] Re: PHP 4.0 Bug #10091 Updated: -
its not me that have found the bug its someone else... = MegaHz Do you hear the clock ticking again on your networks ? http://www.the-megahz.com [EMAIL PROTECTED] = - Original Message - From: "Bug Database" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 31, 2001 5:42 PM Subject: PHP 4.0 Bug #10091 Updated: - ID: 10091 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: *General Issues Assigned To: Comments: 1) you don't need mysql for this. any error message contains full path to the script. 2) this will only happen with display_errors on, which is _not_ recommended for production sites. 3) I don't think the zillions of PHP coder out there would be grateful if this authoring/debugging convenience disappeared. 4) you can always write your own error handler that won't give out the path. = bogus Previous Comments: -- - [2001-03-31 09:35:34] [EMAIL PROTECTED] at the bugtraq yesterday: I've found a bug in php/MySQL that can show u the webroot path. If u ask a non-existent file: http://xxx.xxx.xxx.xxx/comments.php?file=.3425 server's answer is: Warning: 0 is not a MySQL result index in /www/lc/linstart/www/other_languages/german/comments.php on line 74 I don't know if it's xploitable, I dont'know MySQL. Let's xploit it!! Darko -- But this: This will only happen if you have NOT turned off the error reporting in the php.ini file. If you turn it off, and log the errors to a file you will not get this. -- - ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10091edit=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]
RE: [PHP-DEV] PHP 4.0.5 Release Midgard Problems
As a user of PHP and Midgard, I'd just like to comment that my use of PHP is completely dependent on my perception of it's potential to embrace integrating applications like Midgard. I'd like to see Midgard do for PHP what Zope has done for Python in the way of increasing the level of penetration of the language. This won't happen unless it's easy to install a version of Midgard on top of a standard version of PHP. I love PHP, but generally I find the lack of applications such as Midgard a major disincentive to using it. I won't continue using it for long if this continues to be the case. It's already pretty tempting to drop it in favour of Java or Python. Paul N. -- 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 #8589 Updated: drwatson32 make a dump when stop apache service
ID: 8589 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Reproduceable crash Assigned To: Comments: this one was actually an Apache bug, and is fixed now. Previous Comments: --- [2001-01-08 12:01:00] [EMAIL PROTECTED] note to developers: this is a generally experienced crash http://marc.theaimsgroup.com/?l=php-windowsm=97885806625176w=2 (I've seen more of these) and a modest me-too - NT5, Apache 1.3.12 and up, PHP since about a month or two ago up to php4-200101080345 - today's CVS --- [2001-01-08 04:35:36] [EMAIL PROTECTED] The apache version is 1.3.14 and is install as a service. PHP4.0.4 is used as a module for apache. Oracle and oci8 extensions are loaded. Apache works fine, but when i stop the service, drwatson32 make a dump (message "memory could not written"). Without extension or if apache start under command line, it's works fine. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8589edit=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 #10091 Updated: -
ID: 10091 Updated by: jmoore Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: *General Issues Assigned To: Comments: Just a note to say this must have been somthing posted a long time ago (at least I didnt see it yesterday) and is not a bug or vunrability in PHP as cynic pointed out as there are various members of the PHP Team who watch bugtraq and react to anything related to PHP. James Previous Comments: --- [2001-03-31 09:42:25] [EMAIL PROTECTED] 1) you don't need mysql for this. any error message contains full path to the script. 2) this will only happen with display_errors on, which is _not_ recommended for production sites. 3) I don't think the zillions of PHP coder out there would be grateful if this authoring/debugging convenience disappeared. 4) you can always write your own error handler that won't give out the path. = bogus --- [2001-03-31 09:35:34] [EMAIL PROTECTED] at the bugtraq yesterday: I've found a bug in php/MySQL that can show u the webroot path. If u ask a non-existent file: http://xxx.xxx.xxx.xxx/comments.php?file=.3425 server's answer is: Warning: 0 is not a MySQL result index in /www/lc/linstart/www/other_languages/german/comments.php on line 74 I don't know if it's xploitable, I dont'know MySQL. Let's xploit it!! Darko -- But this: This will only happen if you have NOT turned off the error reporting in the php.ini file. If you turn it off, and log the errors to a file you will not get this. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10091edit=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 #8825 Updated: failure during page load
ID: 8825 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Reproduceable crash Assigned To: Comments: do you actually have these dlls? also, most of them require external stuff (client libraries) to work. Previous Comments: --- [2001-01-20 19:49:38] [EMAIL PROTECTED] I just downloaded the full version of php 4 and installed it on my NT 4 workstation with 128 Mb RAM last night, and had it up and running in no time. I tested it with an application I've written in php 3 consisting of about 6,000 lines of code spread over 7 pages, and everything seems to work fine so far ( it accesses multiple databases ). All I can say is you took a great piece of software in php 3 and made it even better in php 4 - I couldn't sleep last night looking forward to trying some of the new database functions! Keep up the good work. I did notice the following bugs with some of the extensions when I tried to load a page : ;extension=php_exif.dllCAUSES php.exe TO CRASH WITH ACCESS VIOLATION (0xC0050, ADDRESS:0x7800d269 ;extension=php_ingres.dll DYNAMIC LIBRARY OIAPI.DLL MISSING ;extension=php_interbase.dll ORDINAL 261 COULDN NOT BE LOCATED IN gds.dll ;extension=php_sybase_ct.dll DYNAMIC LINL LIBRARY libct.dll MISSING ;extension=php_yaz.dllPROCEDURE ENTRY POINT yaz_oi_set_string_oidval MISSING IN yaz.dll Thanks again Phil Pearl ps I'm running Apache and was using Netscape browser. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8825edit=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 #10078 Updated: Problems with ImageCreate function
ID: 10078 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: GD related Description: Problems with ImageCreate function When I tried to use ImageCreate and other GD functions in PHP, it happend to be not functioning correct: ImageCreate failed to return image descriptor, instead it returned undefined value. How can I fix this problem? For Example: ?php Header("Content-type: image/gif"); $string=implode($argv," "); $im = imagecreatefromgif("images/button1.gif"); $orange = ImageColorAllocate($im, 220, 210, 60); $px = (imagesx($im)-7.5*strlen($string))/2; ImageString($im,3,$px,9,$string,$orange); ImageGif($im); ImageDestroy($im); ? This example doesn't generate an image. I don't know why Please reply my letter as soon as you can. My e-mail address is [EMAIL PROTECTED] Thanks! Previous Comments: --- [2001-03-30 14:51:59] [EMAIL PROTECTED] Please include the shortest possible self containing PHP script into this bug report which can be used to reproduce this. --Jani --- [2001-03-30 11:27:57] [EMAIL PROTECTED] When I tried to use ImageCreate and other GD functions in PHP, it happend to be not functioning correct: ImageCreate failed to return image descriptor, instead it returned undefined value. How can I fix this problem? Please reply my letter as soon as you can. My e-mail address is [EMAIL PROTECTED] Thanks! --- Full Bug description available at: http://bugs.php.net/?id=10078 -- 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 #9810 Updated: Apache 1.3.17 19 crash at shutdown
ID: 9810 User Update by: [EMAIL PROTECTED] Status: Closed Bug Type: Reproduceable crash Description: Apache 1.3.17 19 crash at shutdown Hi cynic! Do you mean this annoying problem won't occur with the next release of Apache? Greaaat :) Thanks for your reply, Loïc Previous Comments: --- [2001-03-31 10:40:23] [EMAIL PROTECTED] this one was actually an Apache bug, and is fixed now. --- [2001-03-17 12:01:44] [EMAIL PROTECTED] Hi! I'm under win 98SE, Apache 1.3.17 or 19, php4.0.5-RC1 from php4win.de as an Apache module (no problem with php as a CGI). Each time I shut down Apache, it crashes twices. I can't produce a backtrace (winwin fault) but here is the failure messages I can grab (french messages, sorry): APACHE a causé une défaillance de page dans le module OLEAUT32.DLL à 016f:65352c3c. Registres : EAX=00bd CS=016f EIP=65352c3c EFLGS=00010212 EBX=0008 SS=0177 ESP=0159f7a4 EBP=653c9048 ECX=653c7030 DS=0177 ESI=00a8 FS=67f7 EDX=0008 ES=0177 EDI=00a8 GS= Octets à CS : EIP : 8b 47 04 8b 0f 3b c2 89 4c 24 14 8b f1 8d 9f f8 État de la pile : 653c7048 00a8 653c9048 0008 65352c0c 00a8 00bd 0008 bff76ec4 0080 653c7030 65352aff 0008 APACHE a causé une défaillance de page dans le module KERNEL32.DLL à 016f:bff8ac13. Registres : EAX= CS=016f EIP=bff8ac13 EFLGS=0246 EBX=0001 SS=0177 ESP=0159fc2c EBP=0159fc70 ECX=7ffd3058 DS=0177 ESI=7ffd3038 FS=67f7 EDX=bffc9490 ES=0177 EDI=0001 GS= Octets à CS : EIP : a1 10 9d fc bf 50 e8 96 95 fe ff ff 76 04 e8 35 État de la pile : 7ffd3510 7ff2a1ed 7ffd3038 7ff49d83 818a1b78 7ff49d45 0001 7ff42092 7ff4203d 7ff2 0001 Moreover FileMon produces these lines (don't know if it helps...): snip Filemon ReadC:WINDOWSSYSTEMOLEAUT32.DLL SUCCESS Offset: 40960 Length: 1024 Filemon Ioctl C: INVALIDFUNC Subfunction: 0Dh Filemon Ioctl D: INVALIDFUNC Subfunction: 0Dh Filemon Ioctl E: INVALIDFUNC Subfunction: 0Dh Filemon Ioctl E: SUCCESS Subfunction: 0Dh Filemon Ioctl F: INVALIDFUNC Subfunction: 0Dh Filemon Ioctl F: GENFAILURE Subfunction: 0Dh Filemon Ioctl F: GENFAILURE Subfunction: 0Dh Filemon Ioctl G: INVALIDFUNC Subfunction: 0Dh Filemon Ioctl G: GENFAILURE Subfunction: 0Dh Filemon Ioctl G: GENFAILURE Subfunction: 0Dh Filemon ReadC:EASYPHPAPACHEPHP.INI SUCCESS Offset: 303104 Length: 4096 snip Thanks in advance, Loïc PS: These crashes already occurs with the previous 4.0.5-dev release. --- Full Bug description available at: http://bugs.php.net/?id=9810 -- 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 #9810 Updated: Apache 1.3.17 19 crash at shutdown
ID: 9810 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Closed Status: Open Bug Type: Reproduceable crash Assigned To: Comments: yes. I'm running 1.3.20-dev and it's ok. Previous Comments: --- [2001-03-31 10:56:30] [EMAIL PROTECTED] Hi cynic! Do you mean this annoying problem won't occur with the next release of Apache? Greaaat :) Thanks for your reply, Loïc --- [2001-03-31 10:40:23] [EMAIL PROTECTED] this one was actually an Apache bug, and is fixed now. --- [2001-03-17 12:01:44] [EMAIL PROTECTED] Hi! I'm under win 98SE, Apache 1.3.17 or 19, php4.0.5-RC1 from php4win.de as an Apache module (no problem with php as a CGI). Each time I shut down Apache, it crashes twices. I can't produce a backtrace (winwin fault) but here is the failure messages I can grab (french messages, sorry): APACHE a causé une défaillance de page dans le module OLEAUT32.DLL à 016f:65352c3c. Registres : EAX=00bd CS=016f EIP=65352c3c EFLGS=00010212 EBX=0008 SS=0177 ESP=0159f7a4 EBP=653c9048 ECX=653c7030 DS=0177 ESI=00a8 FS=67f7 EDX=0008 ES=0177 EDI=00a8 GS= Octets à CS : EIP : 8b 47 04 8b 0f 3b c2 89 4c 24 14 8b f1 8d 9f f8 État de la pile : 653c7048 00a8 653c9048 0008 65352c0c 00a8 00bd 0008 bff76ec4 0080 653c7030 65352aff 0008 APACHE a causé une défaillance de page dans le module KERNEL32.DLL à 016f:bff8ac13. Registres : EAX= CS=016f EIP=bff8ac13 EFLGS=0246 EBX=0001 SS=0177 ESP=0159fc2c EBP=0159fc70 ECX=7ffd3058 DS=0177 ESI=7ffd3038 FS=67f7 EDX=bffc9490 ES=0177 EDI=0001 GS= Octets à CS : EIP : a1 10 9d fc bf 50 e8 96 95 fe ff ff 76 04 e8 35 État de la pile : 7ffd3510 7ff2a1ed 7ffd3038 7ff49d83 818a1b78 7ff49d45 0001 7ff42092 7ff4203d 7ff2 0001 Moreover FileMon produces these lines (don't know if it helps...): snip Filemon ReadC:WINDOWSSYSTEMOLEAUT32.DLL SUCCESS Offset: 40960 Length: 1024 Filemon Ioctl C: INVALIDFUNC Subfunction: 0Dh Filemon Ioctl D: INVALIDFUNC Subfunction: 0Dh Filemon Ioctl E: INVALIDFUNC Subfunction: 0Dh Filemon Ioctl E: SUCCESS Subfunction: 0Dh Filemon Ioctl F: INVALIDFUNC Subfunction: 0Dh Filemon Ioctl F: GENFAILURE Subfunction: 0Dh Filemon Ioctl F: GENFAILURE Subfunction: 0Dh Filemon Ioctl G: INVALIDFUNC Subfunction: 0Dh Filemon Ioctl G: GENFAILURE Subfunction: 0Dh Filemon Ioctl G: GENFAILURE Subfunction: 0Dh Filemon ReadC:EASYPHPAPACHEPHP.INI SUCCESS Offset: 303104 Length: 4096 snip Thanks in advance, Loïc PS: These crashes already occurs with the previous 4.0.5-dev release. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9810edit=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 #7361 Updated: document contains no data...
ID: 7361 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Duplicate Bug Type: Reproduceable crash Assigned To: Comments: Previous Comments: --- [2000-10-20 05:02:24] [EMAIL PROTECTED] the problem with bugid 6433 still remains in 4.0.3 version of php. The configuration is ok. Is there a chance to have this bug fixed ? --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=7361edit=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 #6433 Updated: 'document contains no data' - error
ID: 6433 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Reproduceable crash Assigned To: Comments: http://www.php.net/bugs.php?id=7361 (now marked as duplicated) suggests sun's cc is at fault. can you try building with gcc? Previous Comments: --- [2000-10-06 09:13:45] [EMAIL PROTECTED] reclassified --- [2000-08-30 07:34:29] [EMAIL PROTECTED] compiled php4.0.2 as dso in apache 1.3.11 and tested it with ?php phpinfo(); ? . as happened with older versions of php4 i got the error message 'document contains no data'. i tried to work with gdb (as mentioned in the faq) but found out that it is not installed on my indigo2 with IRIX 6.5.8 . my config-line was: ./configure --enable-c9x-inline --with-mysql=/usr/local/mysql --with-openssl=/usr/local/openssl --with-apxs compilation ran faultlessly. the php.ini is still in the same state as the php.ini-dist the settings in the httpd.conf file seem to be correct. the effect can be tested at http://test.yourcell.net:/test.php source is at http://test.yourcell.net:/test.phps the source is color coded (does this mean that php interprets it? ) thanks for any help. mark ps: i found the following error message in the syslogs: httpd: rld: Fatal Error: attempted access to unresolvable symbol in /usr/local/apache_php4/libexec/libphp4.so: _array_init maybe this helps :-) --- [2000-08-30 07:25:53] [EMAIL PROTECTED] compiled php4.0.2 as dso in apache 1.3.11 and tested it with ?php phpinfo(); ? . as happened with older versions of php4 i got the error message 'document contains no data'. i tried to work with gdb (as mentioned in the faq) but found out that it is not installed on my indigo2 with IRIX 6.5.8 . my config-line was: ./configure --enable-c9x-inline --with-mysql=/usr/local/mysql --with-openssl=/usr/local/openssl --with-apxs compilation ran faultlessly. the php.ini is still in the same state as the php.ini-dist the settings in the httpd.conf file seem to be correct. the effect can be tested at http://test.yourcell.net:/test.php source is at http://test.yourcell.net:/test.phps the source is color coded (does this mean that php interprets it? ) thanks for any help. mark --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=6433edit=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 #6433 Updated: 'document contains no data' - error
ID: 6433 Updated by: cynic Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Reproduceable crash Assigned To: Comments: err, duplicate, not duplicated :) Previous Comments: --- [2001-03-31 11:03:24] [EMAIL PROTECTED] http://www.php.net/bugs.php?id=7361 (now marked as duplicated) suggests sun's cc is at fault. can you try building with gcc? --- [2000-10-06 09:13:45] [EMAIL PROTECTED] reclassified --- [2000-08-30 07:34:29] [EMAIL PROTECTED] compiled php4.0.2 as dso in apache 1.3.11 and tested it with ?php phpinfo(); ? . as happened with older versions of php4 i got the error message 'document contains no data'. i tried to work with gdb (as mentioned in the faq) but found out that it is not installed on my indigo2 with IRIX 6.5.8 . my config-line was: ./configure --enable-c9x-inline --with-mysql=/usr/local/mysql --with-openssl=/usr/local/openssl --with-apxs compilation ran faultlessly. the php.ini is still in the same state as the php.ini-dist the settings in the httpd.conf file seem to be correct. the effect can be tested at http://test.yourcell.net:/test.php source is at http://test.yourcell.net:/test.phps the source is color coded (does this mean that php interprets it? ) thanks for any help. mark ps: i found the following error message in the syslogs: httpd: rld: Fatal Error: attempted access to unresolvable symbol in /usr/local/apache_php4/libexec/libphp4.so: _array_init maybe this helps :-) --- [2000-08-30 07:25:53] [EMAIL PROTECTED] compiled php4.0.2 as dso in apache 1.3.11 and tested it with ?php phpinfo(); ? . as happened with older versions of php4 i got the error message 'document contains no data'. i tried to work with gdb (as mentioned in the faq) but found out that it is not installed on my indigo2 with IRIX 6.5.8 . my config-line was: ./configure --enable-c9x-inline --with-mysql=/usr/local/mysql --with-openssl=/usr/local/openssl --with-apxs compilation ran faultlessly. the php.ini is still in the same state as the php.ini-dist the settings in the httpd.conf file seem to be correct. the effect can be tested at http://test.yourcell.net:/test.php source is at http://test.yourcell.net:/test.phps the source is color coded (does this mean that php interprets it? ) thanks for any help. mark --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=6433edit=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 #10078 Updated: Problems with ImageCreate function
ID: 10078 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: GD related Description: Problems with ImageCreate function When I tried to use ImageCreate and other GD functions in PHP, it happend to be not functioning correct: ImageCreate failed to return image descriptor, instead it returned undefined value. How can I fix this problem? For Example: ?php Header("Content-type: image/gif"); $string=implode($argv," "); $im = imagecreatefromgif("images/button1.gif"); $orange = ImageColorAllocate($im, 220, 210, 60); $px = (imagesx($im)-7.5*strlen($string))/2; ImageString($im,3,$px,9,$string,$orange); ImageGif($im); ImageDestroy($im); ? This Example doesn't generate an image I don't know Why? Please reply my letter as soon as you can. My e-mail address is [EMAIL PROTECTED] Thanks! Previous Comments: --- [2001-03-31 10:54:47] [EMAIL PROTECTED] When I tried to use ImageCreate and other GD functions in PHP, it happend to be not functioning correct: ImageCreate failed to return image descriptor, instead it returned undefined value. How can I fix this problem? For Example: ?php Header("Content-type: image/gif"); $string=implode($argv," "); $im = imagecreatefromgif("images/button1.gif"); $orange = ImageColorAllocate($im, 220, 210, 60); $px = (imagesx($im)-7.5*strlen($string))/2; ImageString($im,3,$px,9,$string,$orange); ImageGif($im); ImageDestroy($im); ? This example doesn't generate an image. I don't know why Please reply my letter as soon as you can. My e-mail address is [EMAIL PROTECTED] Thanks! --- [2001-03-30 14:51:59] [EMAIL PROTECTED] Please include the shortest possible self containing PHP script into this bug report which can be used to reproduce this. --Jani --- [2001-03-30 11:27:57] [EMAIL PROTECTED] When I tried to use ImageCreate and other GD functions in PHP, it happend to be not functioning correct: ImageCreate failed to return image descriptor, instead it returned undefined value. How can I fix this problem? Please reply my letter as soon as you can. My e-mail address is [EMAIL PROTECTED] Thanks! --- Full Bug description available at: http://bugs.php.net/?id=10078 -- 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 #6018 Updated: Concating columns in Ms Access 2000 - fatal error
ID: 6018 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: ODBC related Assigned To: Comments: does this happen with a new release of PHP? Previous Comments: --- [2000-08-08 08:14:43] [EMAIL PROTECTED] When I try to concating columns in MS Access 2000 using PHP odbc_exec() function, the Apache server shows me "500 - Internal server error" page and in the Apache error log is this message: [Tue Aug 08 13:54:04 2000] [error] [client 127.0.0.1] Premature end of script headers: c:/php4/php.exe [Tue Aug 08 13:54:04 2000] [error] [client 127.0.0.1] FATAL: emalloc(): Unable to allocate 2147483599 bytes Before updating Windows 2000 with SP1, there was not this error. Sample script: ?php @$cn = odbc_connect("dns", "user", "pass"); $query = odbc_exec($cn, "SELECT namesurname AS people FROM users"); ? Other SQL queries (without concating commands)works fine. OS: Windows 2000 prof. with SP1 PHP: 4.0.1pl2 (standard Win32 binaries) - CGI PHP.INI: PHP.INI-DIST renamed to C:WINNTPHP.INI WWW: Apache 1.3.12 running as service Maybe is something wrong in W2K SP1, not in PHP... Best regards, Jiri Kori --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=6018edit=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 #6175 Updated: XML functions no longer work in objects
ID: 6175 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *XML functions Assigned To: Comments: do you still experience this error? Previous Comments: --- [2000-08-31 15:00:35] [EMAIL PROTECTED] With today's CVS, including Andrei's latest change to xml.c (rev. 1.61), I can generate a backtrace for the segfault that occurs when calling the xml_* routines from the constructor: Starting program: /usr/local/src/apache_1.3.12/src/httpd -X Program received signal SIGSEGV, Segmentation fault. 0x80e3a0e in _efree (ptr=0x5a5a5a5a, __zend_filename=0x81bb1a9 "zend_variables.c", __zend_lineno=98, __zend_orig_filename=0x0, __zend_orig_lineno=0) at zend_alloc.c:196 196 CALCULATE_REAL_SIZE_AND_CACHE_INDEX(p-size); (gdb) bt #0 0x80e3a0e in _efree (ptr=0x5a5a5a5a, __zend_filename=0x81bb1a9 "zend_variables.c", __zend_lineno=98, __zend_orig_filename=0x0, __zend_orig_lineno=0) at zend_alloc.c:196 #1 0x80eea7e in zval_del_ref (p=0x8263b3c) at zend_variables.c:98 #2 0x80dc0cd in xml_parser_dtor (parser=0x8263b24) at xml.c:302 #3 0x80f3dc1 in list_entry_destructor (ptr=0x82d3be4) at zend_list.c:253 #4 0x80f2b1d in zend_hash_apply_deleter (ht=0x824b880, p=0x82b70a4) at zend_hash.c:619 #5 0x80f2c3e in zend_hash_graceful_destroy (ht=0x824b880) at zend_hash.c:670 #6 0x80f3e97 in zend_destroy_rsrc_list () at zend_list.c:298 #7 0x80e9490 in shutdown_executor () at zend_execute_API.c:179 #8 0x80ef604 in zend_deactivate () at zend.c:520 #9 0x808070b in php_request_shutdown (dummy=0x0) at main.c:659 #10 0x807e887 in php_apache_request_shutdown (dummy=0x0) at mod_php4.c:291 #11 0x8124ee5 in run_cleanups (c=0x82b30f4) at alloc.c:1706 #12 0x812359b in ap_clear_pool (a=0x82b200c) at alloc.c:531 #13 0x812361b in ap_destroy_pool (a=0x82b200c) at alloc.c:561 #14 0x8123587 in ap_clear_pool (a=0x826600c) at alloc.c:528 #15 0x8133165 in child_main (child_num_arg=0) at http_main.c:3900 #16 0x81337a5 in make_child (s=0x8252034, slot=0, now=967748297) at http_main.c:4281 #17 0x813391e in startup_children (number_to_start=3) at http_main.c:4363 #18 0x8133f28 in standalone_main (argc=2, argv=0xbfbffa48) at http_main.c:4651 #19 0x8134740 in main (argc=2, argv=0xbfbffa48) at http_main.c:4978 From Apache's error log: httpd in free(): warning: chunk is already free. httpd in free(): warning: chunk is already free. httpd in free(): warning: chunk is already free. httpd in free(): warning: chunk is already free. httpd in free(): warning: chunk is already free. httpd in free(): warning: chunk is already free. httpd in free(): warning: chunk is already free. httpd in free(): warning: chunk is already free. httpd in free(): warning: chunk is already free. httpd in free(): warning: chunk is already free. httpd in free(): warning: chunk is already free. httpd in free(): warning: chunk is already free. httpd in free(): warning: chunk is already free. [Thu Aug 31 08:57:05 2000] [notice] child pid 57954 exit signal Segmentation fault (11) --- [2000-08-23 10:30:05] [EMAIL PROTECTED] If you're referring to Andrei's changes that accept the array($this, 'fooHandler') syntax, no, it doesn't fix my problem, and I actually haven't gotten the new syntax to work correctly, either. I'll try and look into it some more later today. --- [2000-08-23 08:29:41] [EMAIL PROTECTED] Wasn't this just fixed in cvs?? --Jani --- [2000-08-21 10:25:09] [EMAIL PROTECTED] All of my attempts to reduce the problem to a short script have failed, but I have examples of working and non-working code you can look at. I've made them available here: http://orca.gaiaservers.com/work/xml.tar.gz xml.php works fine. help.xml is the XML source file used in the following two files. Help1.php calls the xml_* functions from the constructor and doesn't work. Help2.php calls the xml_* functions from a separate init method and does work. --- [2000-08-21 09:07:46] [EMAIL PROTECTED] could you please provide an example of a runnable short script and XML file that doesn't work? --- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=6175edit=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,
[PHP-DEV] PHP 4.0 Bug #6091 Updated: Work with 2 or more IBase DB cause segmentation fault
ID: 6091 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: InterBase related Assigned To: Comments: do you still experience this error? Previous Comments: --- [2000-11-01 11:09:12] [EMAIL PROTECTED] reclassified --- [2000-08-31 09:04:11] [EMAIL PROTECTED] reclassify (in fact, we should have bug type for each extension, anyone?) --- [2000-08-10 22:24:37] [EMAIL PROTECTED] If remove comment and try to work with both of databases in same time, this cause segmentation fault with creation core dump In php 3.015 all work good ?php require '$DBZAKAZ$.inc'; // $DB_ZAKAZ = ibase_connect($DB_ZAKAZ_PATH, $USERNAME, $PASSWORD); $DB_MAILBOX = ibase_connect($DB_MAILBOX_PATH, $USERNAME, $PASSWORD); $Insert_ML = ibase_prepare($DB_MAILBOX, "insert into MAILS_LIST values (?, ?, ?, ?, ?, NULL, NULL, 0, ?)"); $Insert_MB = ibase_prepare($DB_MAILBOX, "insert into MAILS_BODY values (?, ?)"); // $Update_ZS = ibase_prepare($DB_ZAKAZ, "update ZAKAZ_FOR_NEW //set SENDET="T" where ID=?"); $SQL_MB_NEW_NO = ibase_prepare($DB_MAILBOX, "select * from GET_NO_NEW_MAILS_BODY"); $SQL_ML_NEW_NO = ibase_prepare($DB_MAILBOX, "select * from GET_NO_NEW_MAILS_LIST"); // $SQL_Phone = ibase_prepare($DB_ZAKAZ, // "select * from PHONE_FOR_NEW_ZAKAZ where ZAKAZ_ID=?"); // $SQL_PhoneRecordCount = ibase_prepare($DB_ZAKAZ, //"select count(*) from PHONE_FOR_NEW_ZAKAZ where ZAKAZ_ID=?"); // $SQL_Option = ibase_prepare($DB_ZAKAZ, //"select * from OPTIONS_FOR_ZAKAZ_NEW_VIEW where ZAKAZ_ID=?"); // $SQL_OptionRecordCount = ibase_prepare($DB_ZAKAZ, //"select count(*) from OPTIONS_FOR_ZAKAZ_NEW_VIEW where ZAKAZ_ID=?"); // $SQL_Fillial = ibase_prepare($DB_ZAKAZ, //"select * from fillials_list where (ZAKAZ='t' or ZAKAZ='T') //and E_MAIL is not null and id in (select parrent_fillial //from marki_for_zakaz where marka=?)"); // $SQL_FillialRecordCount = ibase_prepare($DB_ZAKAZ, //"select count(*) from fillials_list where (ZAKAZ='t' or ZAKAZ='T') // and E_MAIL is not null and id in (select parrent_fillial // from marki_for_zakaz where marka=?)"); // Work with Data // Free Queries ibase_free_query($Insert_ML); ibase_free_query($Insert_MB); // ibase_free_query($Update_ZS); ibase_free_query($SQL_MB_NEW_NO); ibase_free_query($SQL_ML_NEW_NO); // ibase_free_query($SQL_Phone); // ibase_free_query($SQL_PhoneRecordCount); // ibase_free_query($SQL_Option); // ibase_free_query($SQL_OptionRecordCount); // ibase_free_query($SQL_Fillial); // ibase_free_query($SQL_FillialRecordCount); // ibase_close($DB_ZAKAZ); ibase_close($DB_MAILBOX); echo "BOk!!!/B"; ? --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=6091edit=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 #10094: Segfault in Apache
From: [EMAIL PROTECTED] Operating system: Rhat 6.2 PHP version: 4.0 Latest CVS (31/03/2001) PHP Bug Type: IMAP related Bug description: Segfault in Apache PHP Compile Options: ./configure' '--with-zlib' '--with-mm' '--with-mysql' '--with-mcal=../libmcal' '--with-ldap' '--with-imap=../imap' '--with-gettext' '--enable-ftp' '--with-mcrypt' '--with-apxs=/usr/local/etc/apache/bin/apxs' Apache Compile Opts: EAPI_MM="../mm-1.1.3" \ SSL_BASE="SYSTEM" \ ./configure \ "--with-layout=Apache" \ "--prefix=/usr/local/etc/apache/" \ "--enable-module=ssl" \ "--enable-shared=ssl" \ "--enable-module=so" \ "--enable-module=rewrite" \ "--enable-module=proxy" I'm trying to use IMP. Apache receives sig(11) Here is gdb backtrace: [root@mail bin]# gdb httpd (gdb) run -X -f conf/httpd Starting program: /usr/local/etc/apache/bin/httpd -X -f conf/httpd fopen: No such file or directory httpd: could not open document config file /usr/local/etc/apache/conf/httpd Program exited with code 01. (gdb) run -X -f conf/httpd.conf Starting program: /usr/local/etc/apache/bin/httpd -X -f conf/httpd.conf warning: find_solib: Can't read pathname for load map: Input/output error Program received signal SIGSEGV, Segmentation fault. 0x40330365 in php_if_imap_sort (ht=5, return_value=0x81bfb24, this_ptr=0x0, return_value_used=1) at php_imap.c:2750 2750for (sl = slst; *sl; sl++) { (gdb) bt #0 0x40330365 in php_if_imap_sort (ht=5, return_value=0x81bfb24, this_ptr=0x0, return_value_used=1) at php_imap.c:2750 #1 0x402faad6 in execute (op_array=0x816056c) at ./zend_execute.c:1494 #2 0x40308850 in zend_execute_scripts (type=8, file_count=3) at zend.c:743 #3 0x40319d51 in php_execute_script (primary_file=0xb920) at main.c:1194 #4 0x403167c2 in apache_php_module_main (r=0x8143518, display_source_mode=0) at sapi_apache.c:89 #5 0x403170e6 in send_php (r=0x8143518, display_source_mode=0, filename=0x0) at mod_php4.c:521 #6 0x40317118 in send_parsed_php (r=0x8143518) at mod_php4.c:532 #7 0x8083e33 in ap_invoke_handler () at mcrypt_modules.c:245 #8 0x8097df9 in process_request_internal () at mcrypt_modules.c:245 #9 0x8097e5c in ap_process_request () at mcrypt_modules.c:245 #10 0x808f39e in child_main () at mcrypt_modules.c:245 #11 0x808f54c in make_child () at mcrypt_modules.c:245 #12 0x808f6a9 in startup_children () at mcrypt_modules.c:245 #13 0x808fce6 in standalone_main () at mcrypt_modules.c:245 #14 0x8090483 in main () at mcrypt_modules.c:245 #15 0x400c39cb in __libc_start_main (main=0x809012c main, argc=4, argv=0xbae4, init=0x805063c _init, fini=0x80c6f7c _fini, rtld_fini=0x4000aea0 _dl_fini, stack_end=0xbadc) at ../sysdeps/generic/libc-start.c:92 -- Edit Bug report at: http://bugs.php.net/?id=10094edit=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 3.0 Bug Summary Report
PHP 3.0 Bug Database summary - http://bugs.php.net Num Status Summary (531 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
Re: [PHP-DEV] PHP 3.0 Bug Summary Report
I haven't recieved last three 4.0 summaries. what's up? cynic -- 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] anyone working on xml-rpc extension ?
If anyone is, I would love to help code or beta test it. THanks in advance -- 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]
Re: [PHP-DEV] anyone working on xml-rpc extension ?
There is an XML-RPC client/server implementation (written in PHP) avaliable -- try http://xmlrpc.usefulinc.com/php.html. Chris On Sat, 31 Mar 2001, edmz wrote: If anyone is, I would love to help code or beta test it. THanks in advance -- 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 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]
Re: [PHP-DEV] anyone working on xml-rpc extension ?
Thanks for the pointer. Sorry if I didnt explain myself, but I am actually asking for an extension coded in C for PHP. BTW, there is C xml-rpc library at http://xmlrpc-c.sourceforge.net/ [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... There is an XML-RPC client/server implementation (written in PHP) avaliable -- try http://xmlrpc.usefulinc.com/php.html. Chris On Sat, 31 Mar 2001, edmz wrote: If anyone is, I would love to help code or beta test it. THanks in advance -- 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 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 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]
Re: [PHP-DEV] anyone working on xml-rpc extension ?
edmz wrote: BTW, there is C xml-rpc library at http://xmlrpc-c.sourceforge.net/ Yes, we know. Stig Bakken is working on a wrapper for this library in form of a PHP extension. -- sebastian bergmann[EMAIL PROTECTED] http://www.sebastian-bergmann.de bonn.phpug.de | www.php.net | www.phpOpenTracker.de | www.titanchat.de -- 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 #10083 Updated: libphp4.so
ID: 10083 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Apache related Assigned To: Comments: Please try the latest CVS snapshot from http://snaps.php.net/ as this should be fixed. --Jani Previous Comments: --- [2001-03-30 23:13:00] [EMAIL PROTECTED] ./apachectl start Syntax error on line 236 of /home/httpd/conf/httpd.conf: Cannot load /home/httpd/libexec/libphp4.so into server: /home/httpd/libexec/libphp4.so: undefined symbol: uncompress ./apachectl start: httpd could not be started after make install and make of php 4 and ./configure -with-apxs=/home/httpd/bin/apxs -with-mysql=/usr/local/mysql-3.23.36-pc-linux-gnu-i686 --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10083edit=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 #10084 Updated: Release Quality
ID: 10084 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Closed Status: Bogus Bug Type: Feature/Change Request Assigned To: Comments: Previous Comments: --- [2001-03-31 00:02:29] [EMAIL PROTECTED] As a happy user of PHP I'd love it if a) Releases (4.0.5) could be installed across server farms, compiled to commandline versions to support shell/console scripting, packaged in various ways for different workloads (ie adding IMAP) without the sinking fear that in a few days to a week or two I'll see pl1, pl2, pl3 and have to go through the who rigamarole again. So fewer patches, more RC's :) b) Extensions that are broken do not ship with the distribution. The quality of the extensions reflects on php itself. A few always seem to be borked but live on through releases. The folks that want to fix borked extensions can probably do so even if they are not included in the distro. Hand in hand with that is at least keeping a rough idea (or requiring the submitter to) on keeping up to date with extensions, which often are based on evolving external libraries and projects. c) Bluesky: Bloat numbers on the manual for the different extensions. This contibutes x bytes to cgi/apache module or whatever... --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10084edit=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 #10085 Updated: socket support seems not loaded
ID: 10085 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Old-Bug Type: Dynamic loading Bug Type: Sockets related Assigned To: Comments: What was the configure line you used to configure php4? --Jani Previous Comments: --- [2001-03-31 00:48:17] [EMAIL PROTECTED] When I use default installed php package (php-4.0.3pl1) on Mandrake 7.2 (default kernel 2.2.17), it lacks socket support, then I downloaded php4.0.4pl1 and compiled a self-contained sockets.so module, it works fine! but since php 4.0.3pl1 has some bugs,therefore, I update to 4.0.0pl1 as suggested. Then each time I tried to call socket() function, it always says "call to undefined function socket()" I recompile the self-contained module, it still doesn't work ps.I have enabled extension=sockets.so in php.ini strangely enough, mysql.so still works fine! --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10085edit=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 #10087 Updated:
ID: 10087 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Duplicate Status: Bogus Bug Type: Compile Failure Assigned To: Comments: Previous Comments: --- [2001-03-31 05:04:26] [EMAIL PROTECTED] Not enough information provided please provide more. bogusifying, reopen if you provide more information James --- [2001-03-31 04:56:25] [EMAIL PROTECTED] A device attached to the system is not functioning. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10087edit=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 #10092 Updated: Socket fgets memory and CPU usage problem
ID: 10092 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Sockets related Assigned To: Comments: Please add a self containing short script into this report which can be used to reproduce this problem. --Jani Previous Comments: --- [2001-03-31 09:56:39] [EMAIL PROTECTED] When using the fgets function for large data transmission the data transmitted are never freed from memory. When using fgets with files it works fine. The PHP CGI module starts to utilize the CPU to 100% and never ends, stops processing and doesn't exit the fgets function after few read cycles. This happens only on Windows PHP CGI. We tested Apache and that worked fine. Even the previous version of PHP did that. Large data I'm talking about is 8MB and above. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10092edit=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]
Re: [PHP-DEV] PHP 4.0 Bug #10093: crash with virtual()
Just wondering if this happens with 4.0.4pl1 too? --Jani On 31 Mar 2001 [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: NT 4 SP 5, NT 5 SP 1 PHP version: 4.0 Latest CVS (31/03/2001) PHP Bug Type: Apache related Bug description: crash with virtual() actually 4.0.5 RC4 virtual( '/foo/' ) where the foo directory contains index.php (registered in apache as DirectoryIndex) crashes the child -- 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 #10078 Updated: Problems with ImageCreate function
ID: 10078 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: GD related Assigned To: Comments: 1. Which version of GD library do you have? 2. Does some other image type work? Like png? 3. Please try also with the latest CVS build from http://www.php4win.de --Jani Previous Comments: --- [2001-03-31 11:09:27] [EMAIL PROTECTED] When I tried to use ImageCreate and other GD functions in PHP, it happend to be not functioning correct: ImageCreate failed to return image descriptor, instead it returned undefined value. How can I fix this problem? For Example: ?php Header("Content-type: image/gif"); $string=implode($argv," "); $im = imagecreatefromgif("images/button1.gif"); $orange = ImageColorAllocate($im, 220, 210, 60); $px = (imagesx($im)-7.5*strlen($string))/2; ImageString($im,3,$px,9,$string,$orange); ImageGif($im); ImageDestroy($im); ? This Example doesn't generate an image I don't know Why? Please reply my letter as soon as you can. My e-mail address is [EMAIL PROTECTED] Thanks! --- [2001-03-31 10:54:47] [EMAIL PROTECTED] When I tried to use ImageCreate and other GD functions in PHP, it happend to be not functioning correct: ImageCreate failed to return image descriptor, instead it returned undefined value. How can I fix this problem? For Example: ?php Header("Content-type: image/gif"); $string=implode($argv," "); $im = imagecreatefromgif("images/button1.gif"); $orange = ImageColorAllocate($im, 220, 210, 60); $px = (imagesx($im)-7.5*strlen($string))/2; ImageString($im,3,$px,9,$string,$orange); ImageGif($im); ImageDestroy($im); ? This example doesn't generate an image. I don't know why Please reply my letter as soon as you can. My e-mail address is [EMAIL PROTECTED] Thanks! --- [2001-03-30 14:51:59] [EMAIL PROTECTED] Please include the shortest possible self containing PHP script into this bug report which can be used to reproduce this. --Jani --- [2001-03-30 11:27:57] [EMAIL PROTECTED] When I tried to use ImageCreate and other GD functions in PHP, it happend to be not functioning correct: ImageCreate failed to return image descriptor, instead it returned undefined value. How can I fix this problem? Please reply my letter as soon as you can. My e-mail address is [EMAIL PROTECTED] Thanks! --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10078edit=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 #10089 Updated: gd1.8.4 compiled into php causes compile failure, gif isn't supported
ID: 10089 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Compile Failure Assigned To: Comments: 1. There is no GIF support in GD 1.8.4 2. What was the configure line used to configure PHP? Most likely you have got some old gd.h somewhere in your system which is found by PHP configure. Try removing every old remains of GD library and reinstall it. --Jani Previous Comments: --- [2001-03-31 07:40:05] [EMAIL PROTECTED] While compiling php with gd support it completely stops. gd now no longer supports gif files. Because of this while running "make" it cause the compile to crash because the associated "gif" commands are not recognised. I found by editing the gd.c file under ext dir and removing anything with "gif" in it I could finish the compilation. By the way PHP is a top language and I love using it. Only just starting with it Thanks Evan --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10089edit=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]
RE: [PHP-DEV] PHP 4.0.5 Release Midgard Problems
I'd like to see Midgard do for PHP what Zope has done for Python in the way of increasing the level of penetration of the language. What exactly has zope done for Python? Nothing. The measurement of python's increased penetration as a result of zope can be expressed simply as 'zilch'. This won't happen unless it's easy to install a version of Midgard on top of a standard version of PHP. To suggest that the success of PHP relies on its ability to accommodate apps like midgard is like saying the success of html is directly dependent on, gulp, Dreamweaver. I love PHP, but generally I find the lack of applications such as Midgard a major disincentive to using it. I won't continue using it for long if this continues to be the case. It's already pretty tempting to drop it in favour of Java or Python. There's tons of stuff out there that can mimic midgard, opensource and otherwise. None of them require the level of integration midgard currently enjoys. At best, Midgard belongs in PEAR. It most definitely, IMHO, does not belong in the PHP source. Regards Mike Robinson -- 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]
RE: [PHP-DEV] PHP 4.0.5 Release Midgard Problems
As a user of PHP and Midgard, I'd just like to comment that my use of PHP is completely dependent on my perception of it's potential to embrace integrating applications like Midgard. I'd like to see Midgard do for PHP what Zope has done for Python in the way of increasing the level of penetration of the language. This won't happen unless it's easy to install a version of Midgard on top of a standard version of PHP. Is Zope distributed with Python? I think not. There is nothing stopping the midguard folks distributing the latest version of PHP compiled or as source code with midguard so people can go one place and download midguard or midguard can be placed in PEAR but midgard is too bigger project to have in PHP cvs for the two systems release cycles to coordinate well so both are stable at the same time. James -- James Moore [EMAIL PROTECTED] PHP Web Scripting: http://www.php.net/ PHP QA Team: http://qa.php.net/ PHP-GTK: http://gtk.php.net/ VL-SRM: http://www.vl-srm.net/ -- 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]
Re: [PHP-DEV] Funkiness in Zend Source ?
The persistent resource list behaves in a completely different manner from the regular resource list. Most of the functions that were replicas of the regular list functions were redundant and removed (e.g., zend_plist_delete(), zend_plist_insert()). Zeev At 04:07 31/3/2001, clayton collie wrote: so im looking at the source to zend_list.c, trying to understand persistent lists. i check out zend_plist_delete which passes EG(persistent_list) as the hash table parameter to zend_list_do_delete. in zend_do_delete, however, the hashtable is completely ignored and EG(regular_list) is used instead. is this a WAD ? also, is there no zend_plist_addref ?? BTW - php4.04pl1 -- _ "Fried Ice-Cream is a reality !" - George Clinton -- 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] -- Zeev Suraski [EMAIL PROTECTED] CTO co-founder, Zend Technologies Ltd. http://www.zend.com/ -- 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]
RE: [PHP-DEV] PHP 4.0.5 Release Midgard Problems
On Sat, 31 Mar 2001, James Moore wrote: Is Zope distributed with Python? I think not. There is nothing stopping the midguard folks distributing the latest version of PHP compiled or as source code with midguard so people can go one place and download midguard or midguard can be placed in PEAR but midgard is too bigger project to have in PHP cvs for the two systems release cycles to coordinate well so both are stable at the same time. Just wanted to add my +1 on removing midgard from CVS. ;-) --Jani -- 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 #9422 Updated: Apache hangs when Win goes to standby
ID: 9422 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Apache related Description: Apache hangs when Win goes to standby No, plain apache goes into standby. I tested apache 1.3.19 with php 4.0.5RC1 from www.php4win.de (phpinfo looks a little bit hacked?), no standby. Tested it with php cgi (3.1.17, 4.04, 4.0.5RC1) when a longer script is running, win goes standby after php timeout killed the script (which is a good idea I think). My guess is in module version something is not ending, even without a current script running? Gustav Graf Previous Comments: --- [2001-03-31 09:16:34] [EMAIL PROTECTED] Does it happen with plain Apache (without PHP)? If not, could you try with 1.3.19 and newer version of PHP? --- [2001-03-17 19:27:17] [EMAIL PROTECTED] same with Sambar Server 4.4 --- [2001-02-23 10:43:53] [EMAIL PROTECTED] If PHP 4.04 is included in Apache 1.3.17 as module with: LoadModule php4_module c:/php/sapi/php4apache.dll AddType application/x-httpd-php .php and Win goes into standby the standby window and the Apache console freezes, omnly after after killing the second apache task - with small letters - computer goes standby. Gustav Graf --- Full Bug description available at: http://bugs.php.net/?id=9422 -- 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 #10095: Small cosmetic in phpinfo() for Informix
From: [EMAIL PROTECTED] Operating system: Linux-2.2.17-i386 PHP version: 4.0 Latest CVS (31/03/2001) PHP Bug Type: Informix related Bug description: Small cosmetic in phpinfo() for Informix When Informix is loaded as a module and phpinfo() is displayed, the table displaying links and esql version info is not center aligned. Change required to PHP_MINFO_FUNCTION(ifx) in ifx.ec to add 'align=center' to HTML -- Edit Bug report at: http://bugs.php.net/?id=10095edit=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] pls help!
how do submit the stream,file or string to "application/x-www-form-urlencoded" form? then , how do get the stream,file or string from "application/x-www-form-urlencoded" form? it look as get $HTTP_RAW_POST_DATA from FDF form.but I want get detailed information. -- 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 #8137 Updated: images are converted to wbmp as a negative
ID: 8137 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: GD related Assigned To: Comments: Fixed in CVS. (fix will be in 4.0.6) --Jani Previous Comments: --- [2000-12-06 12:02:11] [EMAIL PROTECTED] when saving an image as wbmp (imagewbmp) i get the following problems 1) if i load the image and then save it again as a jpeg, then i will get a negative of the original. 2) when viewing the wbmp file - i viewed it at http://www.teraflops.com/wbmp/ - i get the same "negative" result :) the following script demonstrates: ?php $im = ImageCreate(200, 200); $black = ImageColorAllocate($im,0,0,0); $white = ImageColorAllocate($im,255,255,255); ImageLine($im, 0, 0, 199, 199, $white); // create the wmbp file ImageWbmp($im,"../tmp/tmp_ImageCreateFromWbmp1.bmp"); // load it from disk $im2 = ImageCreateFromWbmp("../tmp/tmp_ImageCreateFromWbmp1.bmp"); // save as jpeg and wbmp again ImageWbmp($im2,"../tmp/tmp_ImageCreateFromWbmp2.bmp"); ImageJpeg($im2,"../tmp/tmp_ImageCreateFromWbmp3.jpeg"); ImageDestroy($im); ImageDestroy($im2); ? i would expect to see white diagnol across a black backgrouond, but what i get the opposite - black diagonal across a white background the problem seems to be in the function: _php_image_output_wbmp. the following code if(im-pixels[y][x] == 0) c = c | (1 (7-p)); should be (i think) if(im-pixels[y][x] != 0) c = c | (1 (7-p)); (a != instead of an ==) this gets the jpeg to be displayed correctly, but the wbmp is still backwards (therefore not a complete fix??) ONn --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8137edit=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 #10095 Updated: Small cosmetic in phpinfo() for Informix
ID: 10095 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Informix related Assigned To: Comments: Fixed in CVS. Thank you for reporting this. --Jani Previous Comments: --- [2001-03-31 20:56:18] [EMAIL PROTECTED] When Informix is loaded as a module and phpinfo() is displayed, the table displaying links and esql version info is not center aligned. Change required to PHP_MINFO_FUNCTION(ifx) in ifx.ec to add 'align=center' to HTML --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10095edit=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 #7839 Updated: imagecopymerge() doesn't work in gd 1.8+
ID: 7839 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: GD related Assigned To: Comments: Does this happen with PHP 4.0.4pl1 too? I tried this and it works just fine with latest CVS and GD 1.8.4. --Jani Previous Comments: --- [2000-11-16 08:19:16] [EMAIL PROTECTED] when PHP is compiled with gd 1.8.3 the function imagecopymerge() returns "ImageCopyMerge was introduced in GD version 1.5 in..." imagecopy() works perfect --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=7839edit=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 #8620 Updated: Function ImageJPEG can't open temporary file if image filename is not specified
ID: 8620 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: GD related Assigned To: Comments: Does this happen with PHP 4.0.4pl1 too? You could also try the latest CVS build from http://www.php4win.de/ --Jani Previous Comments: --- [2001-01-09 18:09:32] [EMAIL PROTECTED] Even with all directory permissions set right for user IUSR_NTMACHINENAME (the user with which some person will access my website through IIS) I always get the following message when trying to generate an image without saving it to disk: Warning: imagejpeg: unable to open temporary file in C:InetPubMyWebDirectoryfile_that_generates_the_image.php on line 76 Can somebody confirm that under NT there is no way to create a temporary image file? (Perhaps when uploading a file through PHP under NT the same problem should occur?). I also verified if there was some problem with permissions relating the temporary upload directory setup in PHP.INI, and even changed this directory to be the same as the one reported by the browser with no success (that is, I setup this temp upload directory to be the same as the one where my script is running - just for testing purposes, since this would not be an acceptable solution). Check also http://marc.theaimsgroup.com/?l=php-generalm=92214028508981w=2 --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8620edit=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]
Re: [PHP-DEV] PHP 4.0.5 Release Midgard Problems
Alexander Bokovoy wrote: Ask Zend folks, they have our proposals, even C code to Zend engine to implement native templating with no connection to Midgard at all - this system was designed to be generic for any template providers. Does this have to be implemented in the ZendEngine or would a ext/template extension (for instance) be possible, also? This would be great, though Template Engines are a dying species with the advent of XSLT, IMHO. -- sebastian bergmann[EMAIL PROTECTED] http://www.sebastian-bergmann.de bonn.phpug.de | www.php.net | www.phpOpenTracker.de | www.titanchat.de -- 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: Oliwier Ptak Email: [EMAIL PROTECTED] ID: aleczapka Purpose: PHP Manual translation into polish -- 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 #10096: get_object_vars does not work as expected
From: [EMAIL PROTECTED] Operating system: Windows ME PHP version: 4.0.4pl1 PHP Bug Type: Class/Object related Bug description: get_object_vars does not work as expected If variables within a class are set by the constructor, then get_object_vars works OK. If they are set after the class object is constructed, then it doesn't work OK. Example: class a { var $b; } $aa = new a(); $aa-b = "Hi"; print_r(get_object_vars($aa); //Result will not be as expected. This error is complicating an effort to persist a class. === Related Issue: It does not appear possible to have a variable within a class which is of type class. What a shame. -- Edit Bug report at: http://bugs.php.net/?id=10096edit=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]
Re: [PHP-DEV] PHP 4.0.5 Release Midgard Problems
On Sun, Apr 01, 2001 at 09:07:44AM +0200, Sebastian Bergmann wrote: Alexander Bokovoy wrote: Ask Zend folks, they have our proposals, even C code to Zend engine to implement native templating with no connection to Midgard at all - this system was designed to be generic for any template providers. Does this have to be implemented in the ZendEngine or would a ext/template extension (for instance) be possible, also? This would be great, though Template Engines are a dying species with the advent of XSLT, IMHO. Not so simple because XSLT is far than complex for lot of applications and especially when you are trying to provide content edit capabilities for non-techies. This is huge nische. It most effective at ZendEngine level but actually task is two-tiered. Let me describe: 1. Templating require additional syntax which is better handled by ZendEngine 2. Syntax provides access to collection of template elements and manipulation of them. It's up to template provider to collect template elements from some source(s) before actual template building. This is better handled by extensions. This separation also allows to make complex transitions like 'document with template markup' - XML-based source + XSLT - output In this case second step is done by Template Provider which provides template elements + hooks to translate them to XML + output callbacks. Zend Engine dispatches these calls via easy user-oriented syntax. For example, in Midgard we have two kinds of template calls: [template element] -- just insert content of template element here and evaluate it as PHP code. It looks like hidden functional call to include() but the difference is that 'template element' actually can come from completely different place than file system (in Midgard it comes from Database or FileTemplates). (variable:formatter); -- pass $variable throught existing formatter and insert output into output stream. Different formatters allow to convert plain text to HTML with different levels of formatting, execute PHP code, execute user-defined formatter against $variable. Variable could be any PHP structure (scalar, object, array, etc) These are very simple constucts, but they are greatly reduce build-up for non-technical interfaces. -- Sincerely yours, Alexander Bokovoy The Midgard Project| ALT Linux Team | Minsk Linux Users Group www.midgard-project.org | www.altlinux.ru |www.minsk-lug.net -- Success is in the minds of Fools. -- William Wrenshaw, 1578 -- 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]