Upload Files, Error: mwstore://local-backend/local-public

From miscellus

Upload Files, Error: mwstore://local-backend/local-public

If you encounter Upload Files, Error: mwstore://local-backend/local-public errors (or similar) when uploading files and images and you have Googled for solutions which have not worked, this might work for you.

A little background info first

I run a a few Wikis and uploads worked fine on all of them. Normally the problem can be fixed by ensuring the /var/www/sitename.com/httpdocs/wiki/images is writeable by the wiki process owner or as last resort, world writable. There are many, many pages out there explaining that process so I won't cover that here.

I am also a fairly regular tinkerer, so the actual cause of my unique? problem may have been self-inflicted, probably by deleting a directory at some point.

The solution

Run /var/www/sitename.com/httpdocs/wiki/maintenance.php.

In my instance this created a world writable directory /var/www/sitename.com/httpdocs/wiki/images /lockdir This solved the problem for me. You may also be able top fix this error by just creating the lockdir directory.