Date: 12/11/00
- Next message: kway <email protected>: "[PHP-DEV] PHP 4.0 Bug #8195: strncasecmp returns incorrect value"
- Previous message: Andrei Zmievski: "Re: [PHP-DEV] _sleep(),__wakeup(), phpticks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Sniper,
>Could you try the latest build from
>http://www.php4win.de/ and try using DBA instead of DB ?
Sorry, I only have only access mssql...
> (BTW. there is a note in the FAQ that says you should only
>use GCI version if you want to use GD extension..)
Exactly there is the BIG problem, because there comes Dr. Watson up, and then no php-page is accessible.
(So I prefer a Warning in isapi, which can be prevented with " <email protected> ( $im );". But this is more bug
ID #6539-related.
sniper <email protected> wrote:
> ID: 7664
> Updated by: sniper
> Reported By: mmings <email protected>
> Status: Feedback
> Bug Type: *Install and Config
> Assigned To:
> Comments:
>
> Could you try the latest build from
>
> http://www.php4win.de/ and try using DBA instead of DB ?
>
> (BTW. there is a note in the FAQ that says you should only
>
> use GCI version if you want to use GD extension..)
>
> --Jani
>
> Previous Comments:
> ---------------------------------------------------------------------------
>
> [2000-11-22 07:39:51] sniper <email protected>
> User feedback:
>
> -----------
>
> The described Problem (can't confirm that it's connected to
>
> DB-extensions, but I have mssql_70 active), occurs
>
> only in CGI-mode using IIS as Web-Server.
>
> In ISAPI-Mode, Dr. Watson doesn't come up. Instead, the following
>
> warnings occur, but the resized files get
>
> saved properly (but you can prevent occuring this warnings with
>
> <email protected>( $im ), so I think it's somehow
>
> connected to the "shutdown process" [Don't know your semantics, but I
>
> hope you know what I mean ;-) :
>
> Warning: Unknown list entry type in request shutdown (1042368) in Unknown on line 0
>
> Warning: Unknown list entry type in request shutdown (1042368) in Unknown on line 0
>
> Under ISAPI, I've got this warnings since PHP 4.02 (see also Bug id #6539).
>
> Here is a small testfile (for copy-paste-run), where Dr. Watson (cgi) or
>
> the above warings (isapi) come up:
>
> <?
>
> if (!isset($DOCUMENT_ROOT)) // Only for CGI-mode
>
> $DOCUMENT_ROOT = "F:\Inetpub\www\Intranet";
>
> $mypath = $DOCUMENT_ROOT."\misc\punsch\photos\";
>
> if ( $op == "save" && $userfile_name !="" ) {
>
> $imgtype = substr ($userfile_name, strlen($userfile_name)-3, 3);
>
> if ( copy($userfile, $mypath.$userfile_name)==1 ) {
>
> $imgsize = getimagesize ($mypath.$userfile_name);
>
> $im_w = round( $imgsize[0] / ($imgsize[1]/45) );
>
> $im_h = round( $imgsize[1] / ($imgsize[1]/45) );
>
> $im = <email protected> ($mypath.$userfile_name);
>
> $im1 = <email protected> ($im_w, $im_h);
>
> imagecopyresized ( $im1, $im, 0, 0, 0, 0, $im_w, $im_h, $imgsize[0], $imgsize[1]);
>
> imagejpeg ( $im1, $mypath."tn_".$userfile_name );
>
> }
>
> }
>
> ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
>
> <HTML>
>
> <HEAD><TITLE> Test </TITLE></HEAD>
>
> <BODY>
>
> <FORM ENCTYPE="multipart/form-data" ACTION="<? echo $PHP_SELF; ?>" METHOD=POST>
>
> <table align="center" border="0" cellpadding="0" cellspacing="0">
>
> <tr>
>
> <TD VALIGN="TOP">
>
> <input type=hidden name="op" value="save">
>
> <BR> <INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="1500000">
>
> <BR> <b>Upload Image:</b>
>
> <BR> <input type="File" name="userfile" size="35" maxlength="255">
>
> </TD>
>
> </tr>
>
> <tr>
>
> <td align="center"><BR><font class=stdtext><INPUT TYPE="SUBMIT" VALUE="Upload Img"> <br></td>
>
> </tr>
>
> </TABLE></FORM>
>
> </BODY></HTML>
>
> ---------------------------------------------------------------------------
>
> [2000-11-21 06:28:06] sniper <email protected>
> Please give more info. Are you using CGI binary?
>
> Or ISAPI module? With which web server?
>
> AFAIK. GD is not thread safe yet.
>
> --Jani
>
> ---------------------------------------------------------------------------
>
> [2000-11-06 10:01:39] mmings <email protected>
> When I enable both the GD & DB extensions, then make a call to a GD function I get a visit for Dr. Watson.
>
> ---------------------------------------------------------------------------
>
> Full Bug description available at: http://bugs.php.net/?id=7664
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: kway <email protected>: "[PHP-DEV] PHP 4.0 Bug #8195: strncasecmp returns incorrect value"
- Previous message: Andrei Zmievski: "Re: [PHP-DEV] _sleep(),__wakeup(), phpticks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

