The search index could not be updated. The site is misconfigured. Contact an administrator. SQLSTATE[42000]: Syntax error or access violation: 1064 unknown table 'tiki_main_67e2559f7089d' in delete request
You can't use file gallery page because you can't force the user to choose the right gallery.
So I suggest you to use a tracker with at least one files tracker field. This tracker field could force to put files in one gallery specified by you.