Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • drbob00 Friend
    #177620

    Heya,

    I’ve tried two different linux distros thinking that one of them may have an older module, but I continue to get this error when looking for the first time at the homepage of the jatc_orisite_j25.zip quickstart template. I’ve been at this 4 hours now, sorry if it’s a nub question – any recommendation appreciated. Thanks.

    [Mon May 28 22:46:18 2012] PHP Warning: call_user_func() expects parameter 1 to be a valid callback, function ‘imagecreatefromjpeg’ not found or invalid function name in /var/www/modules/mod_jacontentslider/jaimage.php on line 292
    [Mon May 28 22:46:18 2012] PHP Fatal error: Call to undefined function imagecreate() in /var/www/modules/mod_jacontentslider/jaimage.php on line 305

    drbob00 Friend
    #455264

    Heya,

    I’ve just tried with jatc_puresite_j25.zip, same error from different module, any help appreciated:

    PHP Warning: call_user_func() expects parameter 1 to be a valid callback, function ‘imagecreatefromjpeg’ not found or invalid function name in /var/www/puresite01/modules/mod_jasidenews/jaimage.php on line 264, referer: http://192.168.1.27/puresite01/installation/index.php#
    PHP Fatal error: Call to undefined function imagecreate() in /var/www/puresite01/modules/mod_jasidenews/jaimage.php on line 277, referer: http://192.168.1.27/puresite01/installation/index.php#

    drbob00 Friend
    #455302

    Heya,

    Just recreated the bug on my 3rd distro – started Ubuntu Server 12.*, then Debian Squeeze, and now Turnkey Linux. Any help appreciated…

    Saguaros Moderator
    #455320

    Hi drbob00,

    There maybe problem with jaimage.php file, you can follow this thread: http://www.joomlart.com/forums/topic/problem-jatabs-when-ja-new-featured-actived-warning-preg_match-expects-parameter/

    drbob00 Friend
    #455414

    Heya, thanks for the lead. While I was in checking the code I noticed the imagecreatefrom* functions need php5-gd as described here:
    http://www.cyberciti.biz/faq/ubuntu-linux-install-or-add-php-gd-support-to-apache/

    It’s fixed with:
    sudo apt-get install php5-gd
    /etc/init.d/apache2 restart

    Apparently this will fix the issue for users of Debian, Ubuntu et al 🙂

    Thanks again,

    Sean.

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

This topic contains 5 replies, has 2 voices, and was last updated by  drbob00 12 years, 6 months ago.

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