Fresh install from cvs, install claims to be succesful. DB Postgres 7, (all ?)tables created. Uploading items results in the following error given below. Any hints ?
Error (ERROR_STORAGE_FAILURE)
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 484 (gallerystatus::error)
in modules/core/classes/GalleryStorage.class at line 133 (postgresqldatabasestorage::saveentity)
in modules/core/classes/GalleryEntity.class at line 270 (gallerystorage::saveentity)
in modules/core/classes/GalleryDerivative.class at line 251 (gallerychildentity::save)
in modules/core/classes/helpers/GalleryItemHelper_medium.class at line 543 (galleryderivativeimage::save)
in modules/core/classes/GalleryCoreApi.class at line 1307 (galleryitemhelper_medium::addexistingitemtoalbum)
in modules/core/classes/helpers/GalleryItemHelper_medium.class at line 359 (gallerycoreapi::addexistingitemtoalbum)
in modules/core/classes/GalleryCoreApi.class at line 1293 (galleryitemhelper_medium::additemtoalbum)
in modules/core/ItemAddFromBrowser.inc at line 79 (gallerycoreapi::additemtoalbum)
in modules/core/ItemAdd.inc at line 77 (itemaddfrombrowser::handlerequest)
in main.php at line 161 (itemaddcontroller::handlerequest)
in main.php at line 47
in main.php at line 40
Posts: 8601
Enable buffered debug output in config.php and retry.. find the database error in the debug output and post it here.
Posts: 1
The problem is with the g_postfilteroperations column of the g2_derivative table. The insert is not providing a value for the column while the column has the attribute "not null". I worked around this by executing "alter table g2_derivative alter column g_postfilteroperations drop not null;"
Posts: 8601
could be, but I thought that problem was fixed in cvs.. ?
Posts: 7994
I did fix this a week ago. You can look at the GalleryDerivative.sql for Postgres -- it no longer has a "not null" designation for the g_postFilterOperations or the g_derivativeOperations columns. Can you verify that your version matches up?