Last modified: 2011-04-30 01:21:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28553, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26553 - Can not upload Image files, Lost some files, error messages on pages
Can not upload Image files, Lost some files, error messages on pages
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.15.x
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://everythingfoodanddrink.host56....
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-03 16:26 UTC by Mark
Modified: 2011-04-30 01:21 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark 2011-01-03 16:26:10 UTC
Warning: file_put_contents(/home/a4629792/public_html/w/images/thumb/Fudge.JPG/400px-Fudge.JPG) [function.file-put-contents]: failed to open stream: Permission denied in /home/a4629792/public_html/w/includes/filerepo/ForeignAPIRepo.php on line 217


Warning: mkdir() [function.mkdir]: Permission denied in /home/a4629792/public_html/w/includes/GlobalFunctions.php on line 2176


Line 2176= $ok = mkdir( $dir, $mode, true ); // PHP5 <3

Line 2179= trigger_error( __FUNCTION__ . ": failed to mkdir \"$dir\" mode $mode", E_USER_WARNING );
Comment 1 Mark 2011-01-03 16:30:05 UTC
Sometimes the pages load OK, and sometimes not (with error messages)

Before bug existed I uploaded about 10 or 12 files those files are now missing.
Comment 2 Platonides 2011-01-03 16:46:42 UTC
Looks like a permissions problem. You need to adjust the permissions of images/thumb so that the webserver can write there.


PS: Seems you added for debugging the lines:
error_reporting(E_ALL);
ini_set("display_errors", 1);

But they should have been added /after/ the <?php
Comment 3 Bryan Tong Minh 2011-01-03 21:46:42 UTC
Definitely not a MediaWiki bug but a permissions problem.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links