Page 1 of 1

No reservations possible anymore

Posted: Sun Apr 13, 2014 1:43 pm
by Oerd
Hi,

just recently i encountered the problem of not being able to do any reservations anymore.

When i put in Name, starting and end date, number of persons and rate, i get asked weather to use a guest already registered. When i do this, i get the message (prenota.php) "Es wurde keine Reservierung eingetragen.", which is "Nessuna nuova prenotazione รจ stata inserita".

When i use a Name not already in the DB, i get pointed to the form to put in the new guests details, but after that, there is the same error that no reservation was done.

I can't find the point which makes it impossible to do a new reservation

edit says:
mySQL 5.5.31
php 5.3.28
Apache 2.0

Re: No reservations possible anymore

Posted: Mon Apr 14, 2014 11:59 am
by kyomar
Hi Oerd, thank you for bringing this up. I have the same problems since I upgraded from 2.0.3 to 2.1. I have changed my host provider and thought that's the reason. But reading your post confirms that there is a bug.

Marco please we need a fix. Cannot use hoteldruid anymore.

Thank you!

Re: No reservations possible anymore

Posted: Tue Apr 15, 2014 11:04 pm
by kyomar
I have just installed version 2.1 on my local computer and same story, cannot insert new reservations.
php PHP/5.3.8
mysql server version: 5.5.16

There is definitely something not working properly. If we don't get a fix soon I will switch back to 2.0.3

Re: No reservations possible anymore

Posted: Thu Apr 17, 2014 2:33 am
by kyomar
tried to switch back to 2.0.3 but without success - just white page although I was using backup. So now I am stuck with a not functioning HotelDruid and no sign of Marco. And I even donated money to this project just to be let out in the rain :-(. I guess I have to find another reservation system after 5 years, really sad.

Re: No reservations possible anymore

Posted: Sun Apr 20, 2014 2:58 am
by kyomar
finally found the problem. Go to folder dati and open file dati_connessione.php. If DB-type is mysqli change it to mysql and inserting reservations works again. I don't know why suddenly mysqli makes problems. Only Marco knows the answer.

Have fun!

Re: No reservations possible anymore

Posted: Sat Apr 26, 2014 3:37 pm
by marco
There is a bug in hoteldruid 2.1 that prevents the insertion of reservations with only per person prices. It will be solved in next hoteldruid version, meanwhile you can edit the file prenota.php replacing the line:

Code: Select all

$nometipotariffa_aux = ${"nometipotariffa".$n_t."p"};
with the new line:

Code: Select all

$nometipotariffa_aux = ${"nometipotariffa".$n_t}."p";
Please let me know if the problem you have found if solved by this, otherwise I will need more details to replicate the problem.

Regards,
Marco

Re: No reservations possible anymore

Posted: Wed Apr 30, 2014 7:35 am
by kyomar
Almost missed your reply/fix. Was so used not to hear from you - good to see you again Marco. This awesome software needs a vivid community to further improve, but that can only happen if you - as the developer - get involved.

Your fix solved the problem, thank you very much for that!