• selym

    (@selym)


    I am running the latest version of NextGen Gallery and WordPress and on my latest gallery addition, I’m seeing some strange behavior. It seems to upload the first picture ok, then hangs. To get around this I just uploaded the images individually, but the thumbnails are not created. When I try to recreate the thumbnails from the Manage Gallery page, I get the following error.

    Fatal error: Call to undefined function ImageCreateFromPng() in /Library/WebServer/Documents/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/lib/gd.thumbnail.inc.php on line 182

    Anyone know what might be the issue? I’m running a self hosted WordPress site on a Mac Mini, so if something (php, apache, MySQL, etc.) needs to be updated or changed, I can do so. Thanks!

    https://www.ads-software.com/plugins/nextgen-gallery/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @selym – What are you using for your local environment?

    If you are using MAMP, please try using the standard Apache ports (80 and 3306 for localhost and MySQL respectively) rather than the default “Apple” ports.

    Thanks!

    – Cais.

    Thread Starter selym

    (@selym)

    Hi Cais –

    I’m using a Mac Mini running Yosemite that has Apache pre-installed (version 2.4.9), and I installed and configured PHP (version 5.5.14) and MySQL (version 5.6.17) myself. I am using the standard ports for Apache and MySQL.

    I did update from Mavericks to Yosemite a couple months back which updated Apache and caused some minor issues I had to address, but I’ve still been able to add galleries without the issues notes above since then.

    Perhaps something else changed unbeknownst to me that needs to be adjusted. I’m just not a developer and not very family with php, but I’d more than willing to make an adjustment if someone can decipher the error. Any ideas?

    Plugin Contributor photocrati

    (@photocrati)

    @selym – I have switched over to exclusively using a Mac (at least for development purposes) but I sill also rely on MAMP to handle my development environment (I’d rather worry about the code than the “server” in most every case for my own projects).

    I would suggest looking at the ports actually being used in your environment and ensure that are those noted in my last response … or give MAMP a try, it has a button to set those ports as needed.

    – Cais.

    Thread Starter selym

    (@selym)

    Hi Cais-

    Yes, I switched to MAC exclusively (at home) too, but as nice as I hear MAMP is, I did not want to depend on an application doing any of the configuration for me.

    I did verify the ports before posting my response.

    For MySQL, I ran the following command.

    mysql> SHOW GLOBAL VARIABLES LIKE ‘PORT’; which displayed 3306

    And the listen port in httpd.conf was set to 80

    I guess I’ll just keep poking around until I can figure it out.

    Plugin Contributor photocrati

    (@photocrati)

    @selym – Please let us know if you find what the conflict is …

    Thanks!

    – Cais.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Thumbnail creation problem’ is closed to new replies.