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
jay
Posts: 4
Joined: Wed Dec 03, 2014 10:33 pm

sqlite connection not active

Post 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.
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Re: sqlite connection not active

Post 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
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
Post Reply