Page 1 of 1

sqlite connection not active

Posted: Mon Dec 15, 2014 2:24 pm
by jay
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.

Re: sqlite connection not active

Posted: Thu Dec 03, 2015 3:52 pm
by marco
Hello,
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);

Regards,
Marco