the first error is due to a blank setting on the config file for the graphics processor; by simply submitting the page once it chooses a default processor.
As for the second limit, dl pointed it out, the memory size in your php.ini is too small, his fix actually will fix this for the ubb (as long as your host allows you to chance such things) otheriwse a setting in the php.ini will fix it.