V virus New Member Dec 28, 2008 #1 that i have some problem form my vbimagehosting 1.0.2 ...........please give me solution for this error
that i have some problem form my vbimagehosting 1.0.2 ...........please give me solution for this error
S StarWolf New Member Dec 31, 2008 #2 Maybe I've found a possible solution: In /vbimghost.php on line 710 there's the following instruction: PHP: $textcolor = imagecolorallocate($im, 0, 0, 0); The Variable $im used here is nowhere defined and/or set. This Variable needs to be set with one of the imagecreate*() Functions. Also this could be a Typing Error, maybe the programmer means either $img or $img2 on this line. Try changing it to either PHP: $textcolor = imagecolorallocate($img, 0, 0, 0); or PHP: $textcolor = imagecolorallocate($img2, 0, 0, 0);
Maybe I've found a possible solution: In /vbimghost.php on line 710 there's the following instruction: PHP: $textcolor = imagecolorallocate($im, 0, 0, 0); The Variable $im used here is nowhere defined and/or set. This Variable needs to be set with one of the imagecreate*() Functions. Also this could be a Typing Error, maybe the programmer means either $img or $img2 on this line. Try changing it to either PHP: $textcolor = imagecolorallocate($img, 0, 0, 0); or PHP: $textcolor = imagecolorallocate($img2, 0, 0, 0);