Loading...
 
Skip to main content

Architecture / Installation


image upload prob

I can upload a file to the file gallery just fine, but when I try to upload an image to the image gallery I get something ala:

Warning: fopen(temp/10505f4.jpg.tmp) C:\apache2triad\php\manual\function.fopen.html: failed to open stream: No such file or directory in C:\XeroCost\src\web\tiki\tiki-upload_image.php on line 177 Warning: filesize() C:\apache2triad\php\manual\function.filesize.html: stat failed for temp/10505f4.jpg.tmp in C:\XeroCost\src\web\tiki\tiki-upload_image.php on line 178 Warning: fread(): supplied argument is not a valid stream resource in C:\XeroCost\src\web\tiki\tiki-upload_image.php on line 178 Warning: fclose(): supplied argument is not a valid stream resource in C:\XeroCost\src\web\tiki\tiki-upload_image.php on line 179 Warning: unlink(temp/10505f4.jpg.tmp) C:\apache2triad\php\manual\function.unlink.html: No such file or directory in C:\XeroCost\src\web\tiki\tiki-upload_image.php on line 180

And an error saying "The uploaded file ist not recognized as a image"

temp/10505f4.jpg.tmp does exist in the c:\apache2triad dir

This is v1.8.5 on Windows with a recent version of Apache2Triad. The apache2triad user has full perms on the directory configured for the images.


I had similar problems (at least similar error messages) and it came down to assigning directory permissions. However, and I can't explain this, I had to remove all permissions from the temp directory to get images to successfully upload. I am using DailyRazor as my web host - just in case someone has similar kinds of problems.