Loading...
 
Architecture / Installation

Architecture / Installation


image upload prob

posts: 11 United States

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.


posts: 9
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.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting