Undefined constant "C_CARTELLA_DOC"

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

Moderator: marco

Post Reply
Posts: 4
Joined: Sun Sep 11, 2016 7:08 pm

Undefined constant "C_CARTELLA_DOC"

Post by BadBone2k »

Hello everyone. In Hoteldruid 3.0.3 and 3.0.4 (on Ubuntu 22.04) there is an error on viewing and creating documents. /var/log/apache2/error.log says:

Code: Select all

PHP Fatal error:  Uncaught Error: Undefined constant "C_CARTELLA_DOC" in /usr/share/hoteldruid/modifica_contratto.php:133\nStack trace:\n#0 {main}\n  thrown in /usr/share/hoteldruid/modifica_contratto.php on line 133
I added the following line to /usr/share/hoteldruid/costanti.php to fix the problem:

Code: Select all

Maybe this can be fixed in the future.
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Re: Undefined constant "C_CARTELLA_DOC"

Post by marco »

thank you for reporting, this will be fixed in next release (>3.0.5).

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