Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Fatal Error: Unable to load dynamic library  (Read 4565 times)

0 Members and 1 Guest are viewing this topic.

stex

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Fatal Error: Unable to load dynamic library
« on: July 16, 2015, 09:03:00 am »

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?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Fatal Error: Unable to load dynamic library
« Reply #1 on: July 16, 2015, 11:18:57 am »

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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

stex

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: Fatal Error: Unable to load dynamic library
« Reply #2 on: July 16, 2015, 04:20:36 pm »

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...
Logged

gmc

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 785
    • GMC Design Photo Gallery
Re: Fatal Error: Unable to load dynamic library
« Reply #3 on: July 16, 2015, 08:13:02 pm »

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

stex

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: Fatal Error: Unable to load dynamic library
« Reply #4 on: July 17, 2015, 01:29:07 am »

Thing is, it's already set to GD2...  :o
Logged

stex

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: Fatal Error: Unable to load dynamic library
« Reply #5 on: July 17, 2015, 03:37:30 pm »

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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Fatal Error: Unable to load dynamic library
« Reply #6 on: July 20, 2015, 11:47:53 am »

Marking thread as solved.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.