I tried to upload a file. this error appears: Could not store file "/home/webpages/tmp/php7qiVT9" at "mwstore://local-backend/local-public/a/a0/Buerochaos.jpg".
the image is in the list of files but i get a 404 error when trying to open it.
I tried to upload a file. this error appears: Could not store file "/home/webpages/tmp/php7qiVT9" at "mwstore://local-backend/local-public/a/a0/Buerochaos.jpg".
the image is in the list of files but i get a 404 error when trying to open it.
First, add
error_reporting( -1 ); ini_set( 'display_errors', 1 );
to your LocalSettings.php file and see if any errors are displayed. If none are, try enabling debugging and see if the file shows you anything.
If your wiki is public, could you share the URL?
php errors when trying to uplad.
Notice: Undefined index: file-mime in /home/webpages/lima-city/creativeofficewiki/html/includes/upload/UploadBase.php on line 463
Warning: fopen(): Filename cannot be empty in /home/webpages/lima-city/creativeofficewiki/html/includes/upload/UploadBase.php on line 379
Warning: fread() expects parameter 1 to be resource, boolean given in /home/webpages/lima-city/creativeofficewiki/html/includes/upload/UploadBase.php on line 380
Warning: fclose() expects parameter 1 to be resource, boolean given in /home/webpages/lima-city/creativeofficewiki/html/includes/upload/UploadBase.php on line 381
Warning: fopen(): Filename cannot be empty in /home/webpages/lima-city/creativeofficewiki/html/includes/upload/UploadBase.php on line 997
Warning: fread() expects parameter 1 to be resource, boolean given in /home/webpages/lima-city/creativeofficewiki/html/includes/upload/UploadBase.php on line 998
Warning: fclose() expects parameter 1 to be resource, boolean given in /home/webpages/lima-city/creativeofficewiki/html/includes/upload/UploadBase.php on line 999
Warning: fopen(): Filename cannot be empty in /home/webpages/lima-city/creativeofficewiki/html/includes/utils/ZipDirectoryReader.php on line 148
Warning: ignore_user_abort() has been disabled for security reasons in /home/webpages/lima-city/creativeofficewiki/html/includes/Wiki.php on line 592
Thanks for the errors.
From looking at the errors, it looks like /home/webpages/tmp may not be writable by the webserver. Does it exist? What are the permissions?
At least, that is the only scenario that I can see where the message "Notice: Undefined index: file-mime" would be generated -- the temporary upload file looks like it isn't being generated.
i created the directory "tmp" manually and set it "777" but still the error: "An error was encountered when opening the file for ZIP checks."
Upload permission have been set: "$wgGroupPermissions['user']['upload'] = true;" in Localsettings.php!
At least this is a different error, right? Do you still have
error_reporting( -1 ); ini_set( 'display_errors', 1 );
in your LocalSettings.php? What errors are displayed?
Was there a resolution for this issue? I seem to be encountering the exact same circumstances on a private wiki which I just upgraded to the latest version of MediaWiki (1.23.2).
Thanks!
I have the same problem
and I suppose it is linked to the bug 66467 popen() in release 1.23 because i have the warning also
http://i39.servimg.com/u/f39/11/21/54/71/import10.jpg
Could you please explain clearly how to install the patch of bug correction and from where to dowload the patch code ? (sorry but i am not expert into mediawiki php)
I give you a screen copy more completed: http://i39.servimg.com/u/f39/11/21/54/71/import11.jpg
Could you please explain clearly how to install the patch of bug correction and from where to dowload the patch code ? (sorry but i am not expert into mediawiki php)
You should be able to download 1.23.1 which was released last night and install it. It includes a fix for the popen() issue as well as other issues.
> It includes a fix for the popen() issue as well as other issues.
That is not entirely right. You should better say: "It includes a fix for the popen() issue as well as [a fix] for other issues." Having other issues in it would not be so great. ;-)