MediaWiki and ImageMagick are both installed and usable, however, MediaWiki can't use ImageMagick to make thumbnails because it doesn't have permission to execute convert. This is on an OS X system, from inside an administrator account. Anybody got any ideas?
audacitor@gmail.com "Just because it's automatic doesn't mean it works."
The apache included with OS X uses the www user of group www. (On OS X Leopard there is a preceding underscore)
do "sudo chmod +x `which convert`" (provided that your convert is in the path) then try. Also make sure EVERY directory under /path/to/ mediawiki/images/ is writeable by www:www or on Leopard _www:_www
On Aug 19, 2008, at 2:43 AM, Daniel Flaum wrote:
MediaWiki and ImageMagick are both installed and usable, however, MediaWiki can't use ImageMagick to make thumbnails because it doesn't have permission to execute convert. This is on an OS X system, from inside an administrator account. Anybody got any ideas?
audacitor@gmail.com "Just because it's automatic doesn't mean it works."
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Darren VanBuren onekopaka@gmail.com ---------------------------------------------- Administrator of Onekopakaspace
Trunk MediaWiki install: http://oks.verymad.net/~onekopaka/mwtrunk/
Does this imply the creation of image handling capabilities?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Daniel Flaum wrote:
MediaWiki and ImageMagick are both installed and usable, however, MediaWiki can't use ImageMagick to make thumbnails because it doesn't have permission to execute convert. This is on an OS X system, from inside an administrator account. Anybody got any ideas?
Unless you've done something really weird the most likely possibilities here are:
1) convert is not in the PATH that the web server sees. For instance, if you install ImageMagick in /sw/bin or /opt/local/bin (fink or MacPorts, respectively), this is NOT in the default system PATH variable at startup -- it'll probably have been added to your *user* shell, but Apache won't see it when started on boot.
You can easily work around this by adding it to the path in your LocalSettings.php, something like:
putenv("PATH=" . getenv("PATH") . ":/opt/local/bin");
2) General file permissions on the image directories causing a failure to be able to create the thumbnail images. Double-check the file and directory ownership and permissions in your 'images' dir here.
- -- brion
mediawiki-l@lists.wikimedia.org