unix - system, postnuke permissions are set, paths are correct. dir-perm are set to 777
i get an blank page after uploading, and pics are not uploaded. no error, nothing.
please help.
[Edited on 6/4/2003 by cheldan]
Posted: 06.04.2003, 14:21
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
it creates the tmp file correct,
but no file in the "images" dir.
there is no entry in the db for the image.
gd function ImageCreateTrueColor exists in my configuration, but doesnt seem to work,
phpinfo says that gd 1.6.2 or higher is installed, the function requires gd 2.0.1
[Edited on 6/4/2003 by cheldan]
Posted: 06.04.2003, 15:22
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
i commented this line out
// $image = @ImageCreateTrueColor($xsize,$ysize);
in function photoshareCreateImageDirect
i think server died in calling this function,
now everything works.
:D
Posted: 09.04.2003, 11:43
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
Any side effects??? It worked for me as well (I had the same symptom- blank page, no error) but this line was there for some purpose, I guess ;) .
So I just wonder if anything stopped working because of that (which users will find very soon but I'd like to find it before them :D )
Thanks for any hints.
Posted: 09.04.2003, 21:13
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
The disabled function creates better images than the default. There is a check for the existence of the better function, but unfortunately it did not work.
Posted: 09.05.2003, 03:51
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
An update on the commented out line.
I'm not sure if this has already been solved but line 1176
$image = @ImageCreateTrueColor($xsize,$ysize); // Create black background image
doesn't need to be commented out.
If you remove the exclamation before $hasTrueColorImage on line 1172 everything is ok.
if ($imageType == 'GIF' || !$hasTrueColorImage)
Because $hasTrueColorImage = true when $imageType equals GIF
I haven't checked it completely because I'm not that good with php but this works.