RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
[Issue] direct images mod

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
olesjas



Joined: 28 Dec 2009
Posts: 14

PostPosted: Feb 08, 2010 8:21 pm    Post subject: [Issue] direct images mod Reply with quote

hi,
when i enable the direct-images mod and upload a image file, i get following error message:

Can't locate object method "newFromJpeg" via package "GD::Image" at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/GD/Image.pm line 81.

My perl is up to date and GD is working fine, do you have a clue whats wrong?
regards
Back to top
View user's profile Send private message
PowerChaos



Joined: 19 Dec 2009
Posts: 394
Location: belguim

PostPosted: Feb 10, 2010 2:40 am    Post subject: Reply with quote

do you have gd::image installed ??

because it says that it cant find it

Code:

Can't locate object method "newFromJpeg" via package "GD::Image"


try using yum to update it or to change your apache configuration to enable gdlib (glib.so if i am not wrong , i know nothing of linux :S)

Code:

yum install gdlib

i think that need to work , then your apache (php.ini or http.conf ? or was that only for php :s)
and it should work i guess

Greets From PowerChaos
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
olesjas



Joined: 28 Dec 2009
Posts: 14

PostPosted: Feb 11, 2010 6:18 pm    Post subject: Reply with quote

Hey, thanks for your suggestion Smile

Thats the miracle: GD Devel+libs were installed by a tech guy of my hosting company (iweb.com). All other GD-related functions work fine, even the captcha.

Code:
yum list installed | egrep 'gcc|glibc|glibc-common|gd|gd-devel'
gcc.x86_64                              4.1.2-46.el5_4.1               installed
gcc-c++.x86_64                          4.1.2-46.el5_4.1               installed
gcc-gfortran.x86_64                     4.1.2-46.el5_4.1               installed
gd.i386                                 2.0.33-9.4.el5_4.2             installed
gd.x86_64                               2.0.33-9.4.el5_4.2             installed
gd-devel.i386                           2.0.33-9.4.el5_4.2             installed
gd-devel.x86_64                         2.0.33-9.4.el5_4.2             installed
gd-progs.x86_64                         2.0.33-9.4.el5_4.2             installed
gdb.x86_64                              6.8-37.el5                     installed
gdbm.x86_64                             1.8.0-26.2.1                   installed
glibc.i686                              2.5-42.el5_4.2                 installed
glibc.x86_64                            2.5-42.el5_4.2                 installed
glibc-common.x86_64                     2.5-42.el5_4.2                 installed
glibc-devel.x86_64                      2.5-42.el5_4.2                 installed
glibc-headers.x86_64                    2.5-42.el5_4.2                 installed
libgcc.i386                             4.1.2-46.el5_4.1               installed
libgcc.x86_64                           4.1.2-46.el5_4.1               installed
libgdiplus.x86_64                       1.2.5-1.el5.centos             installed
libgdiplus-devel.x86_64                 1.2.5-1.el5.centos             installed
php-gd.x86_64                           5.1.6-23.2.el5_3               installed
sysklogd.x86_64                         1.4.1-44.el5                   installed



Code:
locate glib.so
/usr/lib/libnm_glib.so.0
/usr/lib/libnm_glib.so.0.1.0
/usr/lib64/libavahi-glib.so.1
/usr/lib64/libavahi-glib.so.1.0.1
/usr/lib64/libnm_glib.so.0
/usr/lib64/libnm_glib.so.0.1.0


lib64 is added to LD_LIBRARY_PATH variable. It might not be a permission issue. But what else? I really stuck on this :S

greets
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2109
Location: UFO Lab

PostPosted: Feb 12, 2010 1:45 pm    Post subject: Reply with quote

Search for perl-gd package.
Back to top
View user's profile Send private message Visit poster's website
olesjas



Joined: 28 Dec 2009
Posts: 14

PostPosted: Feb 12, 2010 2:58 pm    Post subject: Reply with quote

hi, perl-GD is installed

Code:
> yum list installed | egrep 'perl-GD'
perl-GD.x86_64                          2.44-1.el5.rf                  installed


libjpeg is there too

Code:
> rpm -qa | grep libjpeg
libjpeg-6b-37
libjpeg-6b-37
libjpeg-devel-6b-37
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2109
Location: UFO Lab

PostPosted: Feb 16, 2010 11:50 am    Post subject: Reply with quote

Contact support@sibsoft.net with your FTP details, will investigate and fix asap. Seems you have kinda different GD lib.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group