Presumably you created the thumb directory and set the permissions
correctly when you were running in safemode? See localsettings.php:
## If you want to use image uploads under safe mode,
## create the directories images/archive, images/thumb and
## images/temp, and make them all writable. Then uncomment
## this, if it's not already uncommented:
$wgHashedUploadDirectory = false;
and I assume you've commented that line back out now that you're out
of safe mode.
I think that changing out of safe mode changes the directory structure
that mediawiki uses for images. so when you changed out of safe mode
and changed your localsettings file i think it also changed where
images are stored and where thumbnails are created...
andrea
On 9/17/06, Jono Bradley <jono.bradley(a)ntlworld.com> wrote:
You see the problem I have is this - I got to
public_html then into 'Wiki'
and then into 'Images' but there is no folder named 'thumbs' to set the
permission.
Error creating thumbnail: convert: unable to open image
`/home/Jono/domains/startrekprotection.com/public_html/wiki/images/thumb/500
px-Protection_newer.jpg': No such file or directory.
The image directory is set to permission 777 as I believe that permission
allows the uploads to commence on Wiki. So I'm assuming thats the permission
that allows apache to read and write.
All the images in the 'Image' file are 'apache' I think - as the UID and
GID
on them all are 'apache'
Jono
----- Original Message -----
From: "Andrea Forte" <andrea.forte(a)gmail.com>
To: "MediaWiki announcements and site admin list"
<mediawiki-l(a)wikimedia.org>
Sent: Sunday, September 17, 2006 9:45 PM
Subject: Re: [Mediawiki-l] ImageMagick Help
Jono,
I just went through all this myself. You need to make sure that the
permissions on your image directories are all set so that apache can
read and write to them and that apache also has permission to use the
convert utility. If it doesn't, then it can't create the thumbnail and
you'll get a no such file error (tho you should also be getting a
permission denied error in that case)
(In case your provider is running SELinux... I also ended up running
selinux in permissive mode because everytime I uploaded a new image,
apache had no access to it... don't know how your hosting service
would feel about that, but if you set all the permissions properly and
still get the error, you might ask them about it.)
hope this helps,
Andrea
On 9/17/06, Jono Bradley <jono.bradley(a)ntlworld.com> wrote:
> Ok I've done that And Safe Mode is now turned off and there are no error
> messages at the top of the page now.
>
> Although it doesn't actually do it I tried to thumb a pic on the main
page
> and where the image was ment to be it came
up with this -
>
> Error creating thumbnail: convert: unable to open image
>
`/home/Jono/domains/startrekprotection.com/public_html/wiki/images/thumb/180
> px-Protection_newer.jpg': No such file
or directory.
>
> Jono
> ----- Original Message -----
> From: <wiki(a)avenarius.sk>
> To: <mediawiki-l(a)Wikimedia.org>
> Sent: Saturday, September 16, 2006 7:23 AM
> Subject: Re: [Mediawiki-l] ImageMagick Help
>
>
> > On Saturday, 16th September 2006 at 00:25:21 (GMT +0100), Jono Bradley
> wrote:
> >
> > >> You won't be able to use ImageMagick unless you get PHP's
"Safe
Mode"
turned
off.
> Any Idea on how to do that?
If you're on a hosted server, you must request your provider
to turn off Safe Mode. If they refuse to do so, you'll have to
switch to a different webhosting provider.
--
Yours,
Alex.
[processed by "The Bat!", Version 3.80.06]
(MediaWiki: 1.6.8 / PHP: 4.4.1 (cgi) / MySQL: 4.1.19-standard)
http://vincentdepaul.sk/skola
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l