| Author | Post |
|---|
darthclark Member
| Joined: | Mon Aug 29th, 2005 |
| Location: | |
| Posts: | 6 |
|
Posted: Sun Feb 4th, 2007 01:28 pm |
|
I have imagemagick installed on my server but it is giving me the below error when I try to activate in it editwrx.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
|
Keith Moderator
| Joined: | Fri Apr 8th, 2005 |
| Location: | |
| Posts: | 603 |
|
Posted: Sun Feb 4th, 2007 07:06 pm |
|
You may have ImageMagick installed, but it does not appear that you have the PerlMagick library installed for it. If you use yum or aptget to install ImageMagick it should install all of the PerlMagick. Try running
locate Magick.pm
at the commandline. If PerlMagick is installed it will give the path which is usually
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Image/Magick.pm
If you do not have it installed you may try using a local copy in the /editwrx/library path. In /library/mods/Image folder place the file Magick.pm. Download Magick.pm here
On the other hand, if /library/mods/Image/Magick.pm already exits, change it's name and try running the check for imagemagick from Site Parameters again. Sometimes the installer thinks that the regular module is not installed and so it installs /library/mods/Image/Magick.pm by mistake. If the installer installed /library/mods/Image/Magick.pm by mistake that copy would be in auto-loader conflict with the regular module.
|
darthclark Member
| Joined: | Mon Aug 29th, 2005 |
| Location: | |
| Posts: | 6 |
|
Posted: Mon Feb 5th, 2007 07:22 pm |
|
| just tried out what you recommended and perlmagick is installed correctly and still getting the same error.
|
Keith Moderator
| Joined: | Fri Apr 8th, 2005 |
| Location: | |
| Posts: | 603 |
|
Posted: Tue Feb 6th, 2007 06:18 pm |
|
Hmmm...
create a cgi script with the following code
#!/usr/bin/perl --
use Image::Magick;
print "Content-type: text/html\n\n";
print "OK";
run that script.
If it does not print OK back to the browser it means that the ImageMagick module could not load. That would mean a faulty installation of ImageMagick.
If it does print OK, then open /library/data/config.txt and change
$no_imc=1
to
$no_imc=0
Then try and use image magick on an image file in the Image Wizard.
|
darthclark Member
| Joined: | Mon Aug 29th, 2005 |
| Location: | |
| Posts: | 6 |
|
Posted: Wed Feb 7th, 2007 02:46 am |
|
| its working now, seems image magick was not installed correctly!
|
Keith Moderator
| Joined: | Fri Apr 8th, 2005 |
| Location: | |
| Posts: | 603 |
|
Posted: Wed Feb 7th, 2007 04:22 am |
|
Wow, that's two botched installations of imagemagick in one day. That's a record! The style="BACKGROUND-COLOR: #f8f8f8"other one was causing 44MB core dump files to get written.
I've botched my share of imagemagick installs. The only ones that go smooth are installed with 'yum'.
|
 Current time is 12:25 am | |
|