-
AuthorPosts
-
May 28, 2012 at 12:50 pm #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 305May 28, 2012 at 10:50 pm #455264Heya,
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#May 29, 2012 at 5:49 am #455302Heya,
Just recreated the bug on my 3rd distro – started Ubuntu Server 12.*, then Debian Squeeze, and now Turnkey Linux. Any help appreciated…
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 29, 2012 at 8:32 am #455320Hi 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/
May 30, 2012 at 12:44 am #455414Heya, 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 restartApparently this will fix the issue for users of Debian, Ubuntu et al 🙂
Thanks again,
Sean.
-
AuthorPosts
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