Hello,
I am also getting this internal error when trying to upload files.
Internal error
Jump to: navigation, search
Error storing file in '/tmp/php78T3qA': Could not create directory
"mwstore://local-backend/local-temp/4/4a".
Backtrace:
#0 /var/www/html/wiki/includes/upload/UploadBase.php(836):
UploadStash->stashFile('/tmp/php78T3qA', 'file')
#1 /var/www/html/wiki/includes/upload/UploadBase.php(849):
UploadBase->stashFile()
#2 /var/www/html/wiki/includes/upload/UploadBase.php(858):
UploadBase->stashFileGetKey()
#3 /var/www/html/wiki/includes/specials/SpecialUpload.php(332):
UploadBase->stashSession()
#4 /var/www/html/wiki/includes/specials/SpecialUpload.php(425):
SpecialUpload->showUploadWarning(Array)
#5 /var/www/html/wiki/includes/specials/SpecialUpload.php(172):
SpecialUpload->processUpload()
#6 /var/www/html/wiki/includes/SpecialPage.php(613):
SpecialUpload->execute(NULL)
#7 /var/www/html/wiki/includes/SpecialPageFactory.php(487):
SpecialPage->run(NULL)
#8 /var/www/html/wiki/includes/Wiki.php(291):
SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#9 /var/www/html/wiki/includes/Wiki.php(565): MediaWiki->performRequest()
#10 /var/www/html/wiki/includes/Wiki.php(458): MediaWiki->main()
#11 /var/www/html/wiki/index.php(59): MediaWiki->run()
#12 {main}
Can anyone help me out here?
Thanks,
Phil
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Chris Steipp
Sent: Tuesday, June 18, 2013 11:38 AM
To: MediaWiki-l
Subject: Re: [MediaWiki-l] Upload files issues in 1.21.1 mw
Oh, and if that's not it, make sure you have the image directory setup to point
to the right place (which it should by default), and make sure any mandatory
access control (apparmor/selinux) is configured to allow access too.
On Jun 18, 2013 7:54 AM, "Alex Monk" <[email protected]> wrote:
> It sounds like you should have set permissions all the way down -from-
> /var/www/html/wiki/images. If the directory 'images/5' is not
> writeable (it can be unwriteable even if 'images' is writeable) then
> you can't create 'images/5/54'.
>
> Alex Monk
>
> On Mon, Jun 17, 2013 at 8:35 PM, Philip Bellino <[email protected]> wrote:
>
> > Could not create directory "mwstore://local-backend/local-public/5/54".
> >
> > In LocalSettings.php: $wgEnabledUploads = true;
> >
> > I have changed persmissions to 777 all the way down to
> > "/var/www/html/wiki/images". I have also changed owner/group to
> > root, apache, and both users to no avail.
> >
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
[E-Banner]
The contents of this message, together with any attachments, are intended only
for the use of the person(s) to whom they are addressed and may contain
confidential and/or privileged information. If you are not the intended
recipient, immediately advise the sender, delete this message and any
attachments and note that any distribution, or copying of this message, or any
attachment, is prohibited.
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l