ID: 19775 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Java related Operating System: Windows XP Pro PHP Version: 4.2.3
Previous Comments: ------------------------------------------------------------------------ [2002-11-21 02:14:26] [EMAIL PROTECTED] I tried using: http://snaps.php.net/win32/php4-win32-latest.zip Time Stamped 20-Nov-2002 23:30 I am still getting the same error as in the last post. ------------------------------------------------------------------------ [2002-11-15 02:57:11] [EMAIL PROTECTED] I determined that for some reason, these latest builds don't like to run from folders that have names that include spaces. I created a virtual directory on WinXP point to a directory with no spaces to get around this on issue. After I resolved that problem, php was able to open the file but this is the error I received using the latest build time stamped 14-Nov-2002 23:29 ------------------------------------------- CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: imageMatrix[0][0]=20 imageMatrix[1][1]=22 2 9 21 ----------------------------------------------------- I also received a windows error that says "PHP Script Interpreter has encountered a problem". I have created a stripped down version of the script I am using to test this bug. This script responds the same way as my original php script for version 4.2.3 (note that I did not post the entire original script just the portion that called the Java class). Here is the stripped down script to test the bug: <? // Author: Peter Kroll [EMAIL PROTECTED] // This is a stripped down version of the program I am trying to run. // I have hard coded values that are normally read in from an image. // 3 x 3 filter $filter[0] = array (.11, .11, .11); $filter[1] = array (.11, .11, .11); $filter[2] = array (.11, .11, .11); $filterDimension = 3; // Get information about the image (normally read in from an image) $imageSizeX = 320; $imageSizeY = 240; // This for loop normally reads image pixels for($countY = 0; $countY < $imageSizeY; $countY++) { for($countX = 0; $countX < $imageSizeX; $countX++) { // assign a default value so graphics library doesn't need to be used $imageMatrix[$countX][$countY] = $countY + $countX + 20; } } // print some values before calling Java class print "imageMatrix[0][0]=" . $imageMatrix[0][0] . "<BR>\n"; print "imageMatrix[1][1]=" . $imageMatrix[1][1] . "<BR>\n"; // Apply filter to image $FilterObject = new Java("Filter"); $newImageMatrix = $FilterObject->applyFilter($filter, $filterDimension, $imageMatrix, $imageSizeX, $imageSizeY); $tempVal = $newImageMatrix[0][0]; print $tempVal . "<BR>\n"; $tempVal = $newImageMatrix[1][1]; print $tempVal . "<BR>\n"; $tempVal = $newImageMatrix[2][2]; print $tempVal . "<BR>\n"; ?> ------------------------------------------------------------------------ [2002-11-12 06:12:56] [EMAIL PROTECTED] Error "Could not open input file." sounds like PHP does either not find the file or doesn't have permission to access it.. ------------------------------------------------------------------------ [2002-11-12 00:14:49] [EMAIL PROTECTED] Yes. I tried exactly the one at the url you posted not the STABLE one. That error did strike me as a configuration error, but I did not change any of my IIS settings so I'm not sure why that configuration error would occur. ------------------------------------------------------------------------ [2002-11-11 18:21:45] [EMAIL PROTECTED] So did you try exactly that one found in the url? and NOT the one with 'STABLE' in it's name? That error seems more like a configuration error on your machine.. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19775 -- Edit this bug report at http://bugs.php.net/?id=19775&edit=1