View Full Version : Making work Pixelpost with PHP 4.3.1 and GD 1.6.2
Hello
i want to install pixelpost 1.4.1 or another release on hosting service lacentraleinternet...
they have PHP 4.3.1 and GD 1.6.2 installed on the server...
now, i have installed pixelpost 1.3 on it, all is working excepted thumbnails...
and i get an error :
"Fatal error: Call to undefined function: imagecreatetruecolor() in /data/clients/6151/cfdesign.cc/httpdocs/pixelpost141/includes/functions.php on line 69"
to see phpinfos on my server :
http://www.cfdesign.cc/etat.php
could someone help please
thanks
cedric
Connie
05-05-2005, 06:43 AM
Cedric,
well, PHP should be ok, the minimal requirement is PHP 4.3.0
I am not sure about the version of GD, it seems a little bit old
but: did you search the forum? There are many posts with "Undefined functions"
but what makes me wonder:
did you install PP 1.3 or PP 1.4.1? /includes/functions does not exist in version 1.3 and you should not install an old version
what is the image-path? etc...
tell us information from the admin/general info-page please as well
Hello Connie
thankyou for your answer, may be i need to change my Hosting provider...
no exif, old version of php, and GD...
With the 3 versions of PIxelpost, all is working except the thumbnails
if you want to see :
www.cfdesign.cc/pixelpost141 (1.4.1)
http://www.cfdesign.cc/pixelpost13 (1.3)
i got same error for the 2 versions
Admin login : ced
password : casa
infos for PP 1.3
Pixelpost Version
You are running version 1.3 of Pixelpost. Released 16 november 2004.
Latest pixelpost version: Check
Looking for help or want to give feedback, please step into pixelpost forum.
www.pixelpunk.se/software/forum/
Host information
PHP-version 4.3.1
MySQL version 3.23.55
GD-lib 1.6.2 or higher
Server software Apache/1.3.31 (Unix) mod_perl/1.29 mod_watch/3.18 AuthMySQL/2.20 mod_throttle/3.1.2 PHP/3.0.18 mod_ssl/2.8.18 OpenSSL/0.9.7d mod_pointer/0.8
EXIF Your php does not seem to be compiled with exif-enabled.
Permissions
Images folder
Images folder is writable, which is a good thing.
Thumbnails folder
Thumbnails folder is writable.
For PP 1.4.1
Pixelpost Version
You are running version 1.4.1 of Pixelpost. Released 24 April 2005.
Latest pixelpost version: Check
Looking for help or want to give feedback, please step into pixelpost forum.
www.pixelpost.org/forum/
Host Information
PHP-version 4.3.1 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 3.23.55 (Pixelpost's min requirement: MySQL 3.23.58)
GD-lib 1.6.2 or higher with JPEG support
Server software Apache/1.3.31 (Unix) mod_perl/1.29 mod_watch/3.18 AuthMySQL/2.20 mod_throttle/3.1.2 PHP/3.0.18 mod_ssl/2.8.18 OpenSSL/0.9.7d mod_pointer/0.8
EXIF Pixelpost is using exifer v1.5 for EXIF information.
Paths
Guessed imagepath: /data/clients/6151/cfdesign.cc/httpdocs//pixelpost141/images/
Configured Imagepath /data/clients/6151/cfdesign.cc/httpdocs//pixelpost141/images/
Image Directory: OK - Can we write to the directory? YES.
Thumbnails Directory: OK - Can we write to the directory? YES.
Language Directory: OK
Addons Directory: OK
Includes Directory: OK
Templates Directory: OK
hello Connie
i have found an solution to make work pixelpost 1.4.1 with GD 1.6
in /admin/functions.php i have replaced imagecreatetruecolor with imagecreate, and now it work well... Thumbnails are created...
do you think with this replacement, certain things will don't work well?
thanks
ced
raminia
05-06-2005, 12:09 PM
I think there would be some problems with number of colors in thumbnails.
Connie
05-06-2005, 01:41 PM
you will have only 256 colors...
hello
thanks for your answer
is ther an issue wich working with GD 1.6 to get million of colors as with createtruecolors?
thanks
i have found in the php manual, than imagecreatetruecolor isn't supported by GD before 2.0
Connie
05-06-2005, 07:48 PM
ced,
if you have read the php manual already then you know exactly the same as we know
there is only a restricted number of commands and I see absolutely no sense to waste time to program around things which are already solved, to write workarounds for nothing
a hoster should offer actual versions or the client can either change the hoster or accept what he gets
hi connie
in fact i'm really a beginner in php , i just have searched for the function in php doc to make pixelpost work on my very bad hosting provider...
i just asked because you seem knowing php really better than me :)
i will going to stop working with lacentraleinternet.com, this month they created me a lot of problem, (erasing my email alias for the second time), dont answer to mail, changed 3 time their admin interface, without finishing 1 of them correctly...
thankyou for help
i hope this small hack could help someone in same case...
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.