r7 - 16 May 2008 - 00:32:43 - DavidWolfeYou are here: TWiki >  Support Web > ImageGalleryPluginAndImageMagick
Tags:
, create new tag

Question

Hi,

I got some problem when trying to install ImageGalleryPlugin. I have installed several plugins and all of them works ok, so i don't think it is my plugin installation problem.

After i installed this plugin, i tried to use %IMAGEGALLERY% in some topics hoping to see if the plugin is installed correctly. But i received a warning

TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.

Can't locate object method "new" via package "Image::Magick" (perhaps you forgot to load "Image::Magick"?)

Then i notice i need to get Image::Magick. So i tried to run "ppm" from my Active Perl to install this Image::Magick module, but when i tried it still not running giving the same error.

Thinking of that, i realized probably i need to put the Image::Magick into my TWiki instead. So i put the Magick.pm in .../lib/CPAN/lib/Image/Magick.pm

Try to run it again, but now instead, i got

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


I have also tried to put the Magick.pm in the same directory as Core.pm and ImageGalleryPlugin? .pm... but just no luck wink So i am just wondering how can i installed and use this plugin successfully?, and how & where to install the Image::Magick, a link to the download site would be great as well.

This TWiki Support really useful and helpful smile

Thanks in advance

Tommy

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version: Active Perl 5.6
Client OS: Window XP
Web Browser: IE 6
Categories: Plugins
-- TommyMartin - 26 Jul 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

You don't have Image::Magick installed - I went through your troubles the other day. Go to http://sourceforge.net/projects/imagemagick and install it from source. If you need more help installing the software, feel free to send me an e-mail smile

-- BrianMahoney - 26 Jul 2007

I have installed Image::Magick, but I still get the exact same error as above.

-- DavidWolfe - 06 May 2008

Oddly, I get this error on a topic that should not even try to call the ImageGalleryPlugin? or Image::Magick. The only content on the topic:

---+ List of Publishing Terms and Their Definitions
| Term | Definition |

%SEARCH{ "topic" scope="all" web="main" 
header= " |  *$topic*  || "
format=" |  $text  | "}%
Back to: GlossaryPublishingTerms

-- DavidWolfe - 08 May 2008

Additional Comments: We have a topic that contains this exact same search, but formatted as a bullet list. THAT topic works fine. But this one that tries to format the result as a table gets the Image::Magick error.

-- DavidWolfe - 16 May 2008

 
Change status to:
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r7 < r6 < r5 < r4 < r3 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo