"The dates are wrong" (when setting date in 2009)

Discuss here how to configure hoteldruid and better use its features.

Moderator: marco

Post Reply
Herringbone
Posts: 4
Joined: Mon Mar 10, 2008 12:41 pm

"The dates are wrong" (when setting date in 2009)

Post by Herringbone »

I'm trying to modify a reservation. Specifically, I'm trying to change the end date from January 1st 2009 to January 2nd 2009. I choose January 2nd 2009 from the dropdown menu, then I hit the "Modify reservation 179" button. I then get the following error message:

The final date will be changed from 01-01-2009 to 02-01-2009.
The dates are wrong.

The following fact may be of interest. Yesterday I clicked on "Configure and customize" and went to the section beginning "Choose dates in drop-down menus", where I changed the end date to February 1st, 2010. Formerly, it was (I think) January 1st 2009.

I have seen other reports on this forum about PHP-Residence saying that "The dates are wrong", but I confess that I haven't understood the answers (I don't know PHP-Residence very well).

I'm using version 0.6.1 of PHP-Residence.
Herringbone
Posts: 4
Joined: Mon Mar 10, 2008 12:41 pm

Post by Herringbone »

The problem is now fixed.

In case anyone is interested, here's what went wrong. Somehow, data for 2009 had been created. When the row for 2009 was removed from the anni table, and when certain tables were renamed, the problem disappeared.

The following are the tables which were renamed:

costi2009
costiprenota2009
ntariffe2009
periodi2009
prenota2009
regole2009
soldi2009
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Post by marco »

Its better removing a created year from "configure and customize" as administrator user...

Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
Post Reply