please have a look at my gallery again - I enabled the error - output ... if you view a single image you will get this error also:
We're sorry, but the system experienced an unrecoverable error. Please try again later.
Query: UPDATE photos SET views=views+1 WHERE id=15
Result: Table 'photopost.photos' doesn't exist
Database handle: Resource id #25