Control Web Panel
WebPanel => PHP => Topic started by: Raudpats on August 25, 2014, 09:07:43 PM
-
Hi!
i install opencart but if i go to frontpage then shows this error
Fatal error: Call to undefined function imagecreatefromjpeg() in /home/Heiki/public_html/system/library/image.php on line 34
how i can it solve?
-
what is you php version and which modules you have loaded?
-
You are running PHP version: 5.4.27
-
and which modules you have loaded? you can check that with "PHP Short Info" from main menu
-
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mcrypt
mysql
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
Reflection
session
SimpleXML
soap
sockets
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib
-
Check out solution in previous post.
It solves your issue also, when you configure gd correctly at php build.
http://forum.centos-webpanel.com/php/freetype-support-in-gd/
-
after this gd not running :(
-
what changes have you made on compiler ?
-
a not make any change
-
you can contact support
http://centos-webpanel.com/contact
-
If this doesn't work add this:
--with-jpeg-dir=/usr/local/lib
--enable-gd-native-ttf
--with-ttf
--with-freetype-dir=/usr/local/lib