• Resolved grindstr

    (@grindstr)


    Some problems, hope you can help. I use permalink “Plain” and is operating on own internal server, not showing for the world yet.

    1. The calendar shows up ok with january, I can book days with form7 and days booked showing up ok on calender for january.
    When I try to change month, either back or forth, the calender shrinking showing -1. See below.

    Room1:
    <–
    January – 2016
    –>
    # Mo Tu We Th Fr Sa Su
    -1

    2. Booking form booking workes ok unless showing countries. I have installed plugin Listo.

    3. In settings under “You have the following external Links”: shows …../Myweb/airbenb/room1 and so on. This area(s) is not created on server. Is this normal? (thinking permalink, I use “plain”

    Error Messages:
    Invalid argument supplied for foreach() in /data/…../wp-content/plugins/jm-avail-booking/avail_booking_settingspage.php on line 853, referer: https:/…../wp-admin/admin.php?page=prices_form.

    https://www.ads-software.com/plugins/jm-avail-booking/

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Contributor Jan Maat

    (@jan-maat)

    Hi,

    You are using versio 1.6.0 or 1.6.0.1?

    Let’s start with the error message because it may also be an indication for the malfunctioning of the calendar.
    The error message indicates that there is something wrong with the room list format of the settings.
    Can you give me the content of that list.
    An example of the list is:
    Voorkamer&persons=2&add_persons=1&rooms=2&display_name=[:nl]Voorkamer[:en]Front Room[:],Balkonkamer&persons=2&add_persons=2&rooms=3&display_name=[:nl]Balkonkamer[:en]Balkony Room[:]
    Each of the parameters (e.g. &persons=2) is optional.

    About 2.
    Did you use in the contact form for the country [select your-country data:countries] ?

    About 3.
    This is indeed a bug. I will look into it.

    Regards,

    Jan

    Thread Starter grindstr

    (@grindstr)

    Hi Jan,
    Thanks for very quick reply. I did a lot of change in settings since the error code. The error code was only intended as guideline for the problem of switching between months. But here is the list of rooms used now:
    —- room1&persons=2&add_persons=1,room2&persons=3&add_persons=1,room3&persons=3&add_persons=1,room4&persons=5&add_persons=2 —-
    (except hyphons).

    Maybe of no intereset, but:
    I’m trying to use my Readynas as a web server, changing web site to a different folder than installed wordpress folder, having my site accessable from public. Here is a lot of possibility for self created problems…

    I noticed that accessing booking site with https, changing month works ok. Accessing site with port http(80) and not logged in to wordpress, also works ok. But logged in to wordpress, changing month using http, changing month fails as I pointed out in first mail.
    Don’t ask me why, but this is what I experience.

    I’m really not sure if this is self created problems. When using https, the calender showing in transparent view when selecting check in/out Date.

    Some goooood news,
    Using [select your-country data:countries] did the trick. Do you have something similar for selecting Language?

    I have tried to read your documentation very carefully, wich is very good, still I may have overseen something.

    Thanks again for your quick reply and effort to help:-)

    regards
    grindstr

    Plugin Contributor Jan Maat

    (@jan-maat)

    Hi Grindstr

    Your explanation makes it clear that the problem is a http/https problem.
    The change of the month is an Ajax call to the server. The url of this call is generated by 'ajaxurl' => admin_url('admin-ajax.php'),
    So in some cases the wp function admin_url generates the wrong http or https.
    I am not that familiar with the server setup to be able give advise how to solve this.

    For the Langauge selection I do not have a Listo trick for you.

    Regards,

    Jan

    Thread Starter grindstr

    (@grindstr)

    Hi Jan!

    Seems your latest update corrected the problem of changing month. It’s now working fine:-).
    But I discoved another problem when booking “One or more weeks”:
    Booking only one week, the total price is zero (0). When booking two weeks the total price for 2 weeks is showing correctly.
    Is there any settings I missed?

    Ragards
    grindstr

    Plugin Contributor Jan Maat

    (@jan-maat)

    Hi Grindstr,

    Can you give me the dates of the prices in the price list and the dates of the weeks booked.

    Regards,

    Jan

    Thread Starter grindstr

    (@grindstr)

    Hi Jan!

    All prices in pricelist is dated 2016-01-23.
    One booking in “Bookings” is dated from 2016-03-07 to 2016-03-13.
    Total amount and tax is zero.

    This count only for week booking, all the other booking type is working acording to showing correct prices.

    The problem is the same if a choose to use the booking form or available calender check widgets. So this problem is showing before sending request and store i database.

    When testing this, I also noted that the check widgets don’t check on already booked days/week/weekends? Using booking form you get the information “No room available for these dates or number of persons”

    Just tell me if you need some more details.

    regards
    grindstr

    Plugin Contributor Jan Maat

    (@jan-maat)

    Hi grindstr,

    Both the widget and the booking form using the same code to check the already booked days/week/weekends. Are you on the latest release 1.6.1.8?

    Which week do you try to book with a total amount and tax 0?

    Can you give the price info present in the price list?

    regards,

    Jan

    Thread Starter grindstr

    (@grindstr)

    Hi Jan!
    Strange, I was on 1.6.1.4, but installed 1.6.1.8 and tested again with same resault.
    It doesn’t matter which week I book in future, I get the same result anyway.

    Here is the list, not sure if you manage to get something out of this?

    room1
    Edit | Delete
    2016-01-23 € 35,00 € 245,00 € 105,00 € 175,00 € 10,00

    room2
    Edit | Delete
    2016-01-23 € 40,00 € 280,00 € 120,00 € 200,00 € 15,00

    room3
    Edit | Delete
    2016-01-23 € 40,00 € 280,00 € 120,00 € 200,00 € 15,00

    room4
    Edit | Delete
    2016-01-23 € 65,00 € 455,00 € 195,00 € 325,00 € 20,00

    regards
    grindstr

    Plugin Contributor Jan Maat

    (@jan-maat)

    Hi grindstone,

    What are the week checkin and checkout days?
    What is the first day of the week?

    Regards,

    Jan

    Thread Starter grindstr

    (@grindstr)

    Hi Jan,

    I have week checkin day to “Mo” and week checkout day to “Su”.
    Where do I set first day of the week?

    regards
    grindstr

    Plugin Contributor Jan Maat

    (@jan-maat)

    Hi,

    That is the wp setting or look at the calendar. Starts it with Monday or Sunday.

    Regards,

    Jan

    Thread Starter grindstr

    (@grindstr)

    Hi Jan,

    The week starts on monday.

    regards
    grindstr

    Thread Starter grindstr

    (@grindstr)

    Hi Jan,
    I was wrong about the check with form and widgets, the result is the same.
    I forgot that the widgets checks all rooms. Sorry about that.

    But week (one week) booking give the same results and returns zero. Checking more that one week everything works normal.

    regards
    grindstr

    Plugin Contributor Jan Maat

    (@jan-maat)

    Hi grindstone,

    I found the bug and probably a solution. I need to test this carefully and release it as soon as possible.

    Regards,
    Jan

    Plugin Contributor Jan Maat

    (@jan-maat)

    Hi,

    I solved the issue in version 1.6.1.9

    Regards,

    Jan

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Not able to change month in calendar’ is closed to new replies.