Dear all

i have been installed gallery 2 in my hosting . I finish upload some photo and older may be 6 picture .
when i try upload more they come message error such as below :
Database Error
An error has occurred while interacting with the database.

The exact nature of database errors is not captured unless Gallery debug mode is enabled in config.php. Before seeking support for this error please enable buffered debug output and retry the operation. Look near the bottom of the lengthy debug output to find error details.
Back to the Gallery

Error Detail -
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1001 (GalleryCoreApi::error)
in modules/core/classes/GalleryStorage.class at line 505 (GalleryStorageExtras::addMapEntry)
in modules/core/classes/GalleryCoreApi.class at line 2841 (GalleryStorage::addMapEntry)
in modules/core/classes/helpers/GalleryItemHelper_simple.class at line 176 (GalleryCoreApi::addMapEntry)
in modules/core/classes/GalleryCoreApi.class at line 1436 (GalleryItemHelper_simple::fetchDescendentCounts)
in modules/core/classes/GalleryTheme.class at line 1366 (GalleryCoreApi::fetchDescendentCounts)
in themes/matrix/ at line 65 (GalleryTheme::loadCommonTemplateData)
in modules/core/classes/GalleryTheme.class at line 926 (MatrixTheme::showAlbumPage)
in modules/core/classes/GalleryView.class at line 308 (GalleryTheme::loadTemplate)
in main.php at line 441 (GalleryView::doLoadTemplate)
in main.php at line 94
in main.php at line 83
System Information
Gallery version 2.2.2
PHP version 5.2.2 cgi-fcgi
Webserver Apache/2.0.54 (Unix) PHP/4.4.7 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2
Database mysqli 5.0.24a-standard-log
Toolkits NetPBM, Gd
Operating system Linux enzo 2.4.32-grsec+f6b+gr217+nfs+a32+fuse23+tg+++opt+c8+gr2b-v6.194 #1 SMP Tue Jun 6 15:52:09 PDT 2006 i686
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)

My regards