Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • merce Friend
    #180841

    Hello,

    I have moved my web to the company server. On localserver (pc) everything was fine.

    Now, on the new server I got this message when opening front page:

    warning: call_user_func() expects parameter 1 to be a valid callback, function ‘imagecreatefromjpeg’ not found or invalid function name in E:xampphtdocsrdcsicmodulesmod_janews_featuredhelpersjaimage.php on line 291 Fatal error: Call to undefined function imagecreate() in E:xampphtdocsrdcsicmodulesmod_janews_featuredhelpersjaimage.php on line 304

    I know is related with images of JA news featured and JA news Pro, the thumnail plugin. But I don’t know how to fix it.

    GD is enabled on the server. Maybe GD is not enough and it is necessary to change to GD2?

    any help wil be welcomed

    Thanks a lot

    Merce

    Ninja Lead Moderator
    #467714

    Yeah, because php_gd2.dll on xamp local site doesn’t enable.

    + The first time you can check it enable or disable with check

    <?php echo phpinfo();?>
    + If GD doesn’t load, you can enable it by

    Go to xampp/php/php.ini and find
    from

    ;extension=php_gd2.dll
    change to

    extension=php_gd2.dll

    Restart xampp on local site.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Ninja Lead 12 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum