JHotelReservation Forum - Javascript conflict - myMonths not defined

Support Forum

 
 

 

My site is not functionign correctly and I need help. I have installed the component and set up two apratements. But now it does not display correectly or return any results. when I view the console in Firebug it has javascript issues:

 

Syntax : syntax issue
[Break On This ]    

tweakSizes: {'width': , 'height': },

jhotel...ndar.js (line 99, col 42)
   

Reference : myMonths is not defined
[Break On This ]    

...gcolor='#D2D2B9' height=25 align=center colspan=5>"+myMonths[Month-1] + " / "...

jhotel...ndar.js (line 99)

 

Anyone have any ideas? is there a conflict?

 

Thanks

Lee

6 replies

Hi Lee,

We have checked the site and the javascript conflict that you have is coming from other modules or from the template itself. 
The site was not working because there was a misconfiguration in rooms. The number of rooms were set to 0. If you have no room then the component will show you the message with no availability. 
We have changed the numbers of rooms for you and all is OK now.

Admin,

Thanks for looking at my issue I now have the javascript issue resolved however my client has tried to test the booking procedure and it is returning no results. If you visit:

http://www.ashdodluxuryapartments.com/index.php/reservation

and enter the dates 24th July to 31st July 2013 it says no rooms available!

is it because I'm setting up the apartments to have no rooms?

It should work as a booking system for two apartments that can accommodate 12 people. each apartment has a number of 'rooms' but the apartment must be booked as a single entity. Does that make sense?

This is an urgent matter, my client is becoming increasingly frsutrated that nothing is working and he has advertising running this weekend and wants his website workign so he does not loose potential bookings.

PLEASE HELP!

Hi Lee,

You have set in backend 2 apartments. There is a reservation made from 07.04 - 07.09.2013 with 2 apartments.

Since you have 2 apartments and both were reserved you have no availability left. This is the corrent behaviour.

OK thanks for the reply, How do I then change the reservation setup? yes the aprtment was booked between those dates but is availabel on all the other dates!

I need it to function like so:

There are two apartments that can be booked for any length of time. If it is reserved between two dates it should still be available outside of those dates?

Thanks

Lee

Hi,

This is the default behaviour.

Does this mean it will not be possible to configure it to function how I have described?

 
 
 

7 Item(s)

Show per page