Sounds like as much of problem with configuring the gallery software as
anything. I'd
probably open up all the gallery software and do a search thru all open docs for
the error
lines you copied below. Anyway, that error is coming from your software, not
PHP.