ID: 33385 User updated by: xhat at hotmail dot com Reported By: xhat at hotmail dot com Status: Open Bug Type: IIS related Operating System: Win2000 SP4 PHP Version: 4.3.10 New Comment:
This is to clarify the original description. The fix was to clear the TEMP dir. We speculate that the large number of files in the dir (196mb), while not exceeding the max size set on the machine, nonetheless exceeded (perhaps) the max numbering limit set by php in order to create a new temp file. Since the includes problem only affected URL includes (i.e. a web page request), it made sense that something (either PHP or Win or IIS) was failing to create a new temp file. Thus the include failed. For clarity, the error message from PHP was this: [17-Jun-2005 10:26:35] PHP Warning: printtopside(/mypath/header.shtml) [<a href='http://www.php.net/function.printtopside'>function.printtopside</a>]: failed to create stream: No such file or directory in D:\mypath\common.php on line 17 [17-Jun-2005 10:26:35] PHP Warning: printtopside() [<a href='http://www.php.net/function.printtopside'>function.printtopside</a>]: Failed opening /mypath/header.shtml' for inclusion (include_path='.;c:\php4\pear') in D:\mypath\common.php on line 17 Previous Comments: ------------------------------------------------------------------------ [2005-06-17 16:37:30] xhat at hotmail dot com Description: ------------ Our actual PHP version is 4.3.0, but that was not an option in the drop down. However, as many installs of 4.3.0 may still be out there, I thought this might be a useful bug report anyway. Our configuration allowed URL includes, which worked flawlessly for (literally) years. Then one day, it seemingly arbitrarily quit working. Though the max file size for the temp dir was not met, nonetheless PHP quit using URL includes. After clearing the TEMP dir, everything returned to normal operation. Reproduce code: --------------- No code necessary. Expected result: ---------------- The includes to work. Actual result: -------------- The includes failed. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33385&edit=1