There is no such function "imagecreatetruecolor" It seems you do not have GD installed.