Fatal Error: Unable to load dynamic library Fatal Error: Unable to load dynamic library
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Fatal Error: Unable to load dynamic library

Started by stex, July 16, 2015, 09:03:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stex

So my site says "fatal error:" and my log file says:

[15-Jul-2015 03:03:36 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/imagick.so' - libMagickCore.so.2: failed to map segment from shared object: Cannot allocate memory in Unknown on line 0
[15-Jul-2015 03:03:43 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/imagick.so' - libMagickCore.so.2: failed to map segment from shared object: Cannot allocate memory in Unknown on line 0

Tried to contact my host support, but they said it's something Coppermine related... which I doubt. Can anyone help?

phill104

It is sort of Coppermine related but only that you can select whether to use ImageMagik or GD2 as the image resizing and manipulation method. GD2 is a core part of PHP while ImageMagik is a third party add on. Often hosts install IM but do not install it properly or worse, install it and fail to tell their customers the paths etc. GD2 and ImageMagik do basically the same thing but IM does have a few features that GD lacks. Whether you use these features or not really depends on what plugins you are using in your gallery. In most cased GD2 will be fine and you can simply go into the Coppermine configuration and set GD2 as the resize method.
It is a mistake to think you can solve any major problems just with potatoes.

stex

So switching to GD2 would solve the issue. But question is, how do I do that? Cause I used phpmyadmin to check the config table and there is no such option...

gmc

In Coppermine Config menu, expand 'File Settings', and set the 'Method for resizing images' to GD2...
The database field is thumb_method.
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

stex


stex

Nevermind. I enabled debug info and it turns out a table crashed and had to be repaired. Done that by using PhpMyAdmin and it's all back up now. Thank you guys.

ΑndrĂ©