Simmilar issue
Warning: imagejpeg() [function.imagejpeg]: SAFE MODE Restriction in effect. The script whose uid/gid is 467443/100 is not allowed to access ***/image_cache/SC_Assets/assets owned by uid/gid 80/80 in ***/webassist/caching/CachedResize_Image.php on line 212
Warning: imagejpeg() [function.imagejpeg]: Invalid filename in ***/www/webassist/caching/CachedResize_Image.php on line 212