I've been trying to use createGroup (using the latest version of Gallery2) so far without success. I've been digging through the Gallery2 code and have (I think) narrowed the problem down to database transactions: Gallery2 starts a transaction, inserts into g2_Group, g2_Entity and g2_ExternalIdMap and then does nothing more - surely it should then commit?
The database is working find otherwise, as it does this query fine: "update g2_SequenceId set id=LAST_INSERT_ID(id+1);" which happens just before getting the g2_Schema info and then beginning the transaction.
Posts: 10
For anyone interested, I'd forgotten to call GalleryEmbed::done(). Problem solved!