[bump]
This used to be working, but has broken recently, either though my moving the install around or through upgrading to 1.13.0.
I try to do an upload and I get:
Could not rename file "/tmp/phpVxOSnK" to "public/f/fd/Framework-SLOC-OOCalc.png".
I've ensured that 'images' and it's subdirs are all writeable by the server.
I've pinned this down to ./includes/filerepo/FSRepo.php line 338, but am struggling to diagnose any further (my PHP is limited). The following edit provides no clues:
$status->error( 'filerenameerror', $srcPath, '['.getcwd()."|$IP]".$dstPath );
As I get "[$IP|]public/f/fd/Framework-SLOC-OOCalc.png" in the target filename. Shouldn't getcwd() work? Shouldn't $IP evaluate?
Existing images do come up OK AFAICS.
Any ideas?
I also tried creating 'images/public', and symlinking images /to/ public, but to no avail.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Neil Bird wrote:
[bump]
If nobody responds, reposting the same message twice is unlikely to receive any more response because there's nothing new to respond to.
Check your web server error log, your PHP error log, enable the MediaWiki debugging log, stick in some debug statements, and of course double-check for issues like:
* perms in /tmp dir * SELinux interference * is your user the one you think it is?
- -- brion
mediawiki-l@lists.wikimedia.org