sqlite connection not active

Post here if you think you have found a bug in hoteldruid or error in its documentation.

Moderator: marco

Post Reply
Posts: 4
Joined: Wed Dec 03, 2014 10:33 pm

sqlite connection not active

Post by jay » Mon Dec 15, 2014 2:24 pm

I ses this:

Code: Select all

Warning: SQLite3::exec(): cannot commit - no transaction is active in \htdocs\hoteldruid2.1.1\includes\funzioni_sqlite.php on line 193

whenever I print an invoice.

Posts: 1257
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Re: sqlite connection not active

Post by marco » Thu Dec 03, 2015 3:52 pm

thanks for reporting, it will be fixed in next version. To fix this bug now you can open the file includes/funzioni_contratti.php in hoteldruid directory and search for the line:

$tabelle_lock = array($tableversioni,$tabletransazioni)

at about line 3200, then add this line just after it:

$tabelle_lock = lock_tabelle($tabelle_lock);

Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:

Post Reply