I'm a newbie in mediawiki and hope someone can help me with this problem i never had before with older versions. After instal all seems ok but uploading Images give a problem, i get this>>> Error creating thumbnail: It was not possible to store the thumbnail file on the target location. Also the image does't show on de page where its used. I hope for some help.
Topic on Project:Support desk
Hi!
When you say "the image" does not show up, then you mean the thumbnail, right?
Judging from the error message, I think that directory permissions for the folder images/ are incorrect, maybe the folder is also owned by a wrong group. In most cases directory permissions 755 solve this kind of problem.
Hi! I checked the directory permissions of the /Images and they are 755, The error when uploading an image or doc stil is "Error creating thumbnail: It was not possible to store the thumbnail file on the target location" This text apears in de file list aswell as on the wikipage where the document is used... I must be missing something i don't thought off.....
Try changing the permissions to 777 and uploading again.
I changed the permisions from /Images to 777, no change. Same problem
Can you add the following to your LocalSettings.php and tell us if you see any new messages when you upload?
error_reporting( -1 ); ini_set( 'display_errors', 1 );
No new messages while uploading, just the same as before. When placing an uploaded image on a page i getthis text instead of the image>>> "Error creating thumbnail: It was not possible to store the thumbnail file on the target location."
What are the permissions on the /images/thumb directory and below?
I encounter the same problem as yours. And according this link - [RESOLVED] Error creating thumbnail: Unable to save thumbnail to destination I solve this problem. I hope this could help others.
Adding the follow code to LocalSettings.php :
$wgTmpDirectory = "$IP/images/temp";
Update:
- You should also create a new directory named 'thumb' in the ./images folder:
mkdir thumb
. - And then check the other files(directories)'s privilege in the folder 'images':
ls -lh
. - Finally, change the privilege of 'thumb' to the same as others:
chown user_name thumb
What's more, I prefer to using 755 rather than 777 for the 'images'. Good luck!