Important: Wikitravel is exploring a license upgrade to CC by-sa 3.0,
please give your consent or refusal here.

Php error on image delete on en

From Wikitravel Shared

Jump to: navigation, search

[edit] What happens

Image is deleted, but image article is not. The following php error appears on the top of the browser window:

Warning: chmod() [function.chmod]: Not owner in /var/www/wikitravel/mw-1.11.2/includes/filerepo/FSRepo.php on line 425

[edit] When it happens

On image delete on en

[edit] What should happen

Should not produce an error message. Should delete image article along with image.

[edit] How to fix it

Seems to be an authority issue. chown on those directories on the server should resolve it

[edit] Additional comments

I was seeing this too a while back, it was actually deleting the image despite the error message, if you purged the cache after deleting then it was gone... however I just tested again now, and this seems to have resolved itself – cacahuate talk 04:01, 14 October 2008 (EDT)

[edit] Sign below, please

NJR ZA 06:53, 3 June 2008 (EDT)