Page 1 of 1

problem with GD2 with xampp on vista fam.

PostPosted: 30. December 2007 14:09
by cgo1967
hello, xampp works very well on my vista... but now i try my website with script php and ImageCreateFromJpeg or ImageCreateTrueColor and nothing works ?? the same page on my win Xp works (no xampp, manually install php/apache...) i install xampp on my vista to c:\xampp, in the phpinfo, GD2 is on ! i don't know why it's doens't work now ??? May be different script between GD2 for php4 and GD2 for PHP5 ??
may be have you also the same problem and you fond the solution !
thanks for your help. If you can write with simply word please... i speak french :-)

PostPosted: 30. December 2007 14:56
by Scory
and ImageCreateFromJpeg or ImageCreateTrueColor and nothing works ?


What does that mean? Any error message? Please show us FULL(!) error message.

Regards
Scory

PostPosted: 30. December 2007 15:54
by cgo1967
no error message... the program works like all was ok.. but after the image is replaced by a red cross... and no image in my folder

now i put all pages on the server to check in real condition ... and all works.... I see image ... !

thanks for your help

PostPosted: 30. December 2007 16:12
by cgo1967
may be the error message apache or php are not on my screen ! may be i can add a script to actived "all error messages" ??

I see in the php.ini on my pc .... print "all error" was already actived !

PostPosted: 30. December 2007 16:42
by cgo1967
other info...

this pages works with php4... the same page on php5 doesn't work ??

I find that other person has the same problem with "ImageCreateFromJpeg"... i supposed now the error was in the code and not in the xampp...

resolved !

PostPosted: 30. December 2007 18:34
by cgo1967
hello,

The problem comes from the upload files method ! it's not the same with php4 and php5 !

bye