Important!!! Check actual Support Forum, if you need to ask a Questions.
Hey, I'm getting the error "Error! Email had not sent. Some error occuered. Could not instantiate mail function." every time I send a booking on my test site. It works if I write a mail from the same domain but that's not how it should be. How can I fix this? I can send the "test mail" from admin panel.
Hello.
Its seems like some security restriction at your serve configuration.
Sometimes mail servers block emails, if the address "From" different from the domain of website, from where this email was sending. Its not really depend from the Booking Calendar. So please open the Booking > Settings > Emails page and recheck that field "From", its have to the same as your website domain. For example: info@your-server.com and not like this your_email@gmail.com
Otherwise you will need to check error.log and mail.log files in your server configuration relative to searching about the reason of not sending emails. If you can not find such files in your server configuration please contact support of your hosting company.
Kind Regards.
Hi, thank you for replying. The from mail is a mail adress from the same website domain. The test button works successfully, I'm getting the test email but the booking form does not work. I activated debug mode and tried sending a mail and this is what I found under debug.log. I looked it up but I don't quite understand. can you help me?
[07-Feb-2017 08:51:37 UTC] PHP Strict Standards: Only variables should be passed by reference in /wp-content/plugins/booking/core/admin/page-email-new-admin.php on line 1105
[07-Feb-2017 08:51:37 UTC] PHP Strict Standards: Only variables should be passed by reference in /wp-content/plugins/booking/core/admin/page-email-new-visitor.php on line 1030
Hello.
This warning because of using error_reporting(E_STRICT); in your theme or server configuration.
To fix this issue, you will be need to make some customization.
Please open this file /wp-content/plugins/booking/core/admin/page-email-new-visitor.php
/wp-content/plugins/booking/core/admin/page-email-new-admin.php
/wp-content/plugins/booking/core/admin/page-email-trash.php
/wp-content/plugins/booking/core/admin/page-email-deny.php
/wp-content/plugins/booking/core/admin/page-email-deleted.php
/wp-content/plugins/booking/core/admin/page-email-approved.php If you are using Booking Calendar Personal or higher versions:
/wp-content/plugins/booking/inc/_ps/admin/page-email-edit.php If you are using Booking Calendar Business Small or higher versions:
/wp-content/plugins/booking/inc/_bs/admin/page-email-payment.php
Kind Regards.
Hello. Thank you for your plugin. I seem to get a conflict with the theme Activello that causes the dropdown-menu to not display any sub-menu items in small screens (narrower than 750 pixels wide). Do you know if that would be a conflict with the menu - it uses Bootstrap and navwalker.php
Thanks
Kitka
Hello.
Probably you are having some JavaScript error. Or its can be because of conflict with Bootstrap library. Booking Calendar is using Bootstrap library 3.3.5
Please note in Booking Calendar you can set loading of JavaScript files of Booking Calendar only on specificpage(s) where you inserted the booking form(s), so in this case plugin will not load own JS files at all pages and only on specific, andits can resolve your conflict issue.
But probably issue still will be at the page(s) with booking form(s).
Here is description how to configure it.
Please open the Booking > Settings General page and in Advanced section click on "Show advanced settings of JavaScript loading" then make activated this option "Load JS and CSS files only on specific pages" after this in textarea "Relative URLs of pages, where to load plugin CSS and JS files" enter relative url of your pages with booking form, where you need to load the Booking Calendar JavaScript files.
For example: /booking-form/
if you have booking form at the page: https://your-website.com/booking-form/
Kind Regards.
Thanks for the tip. Will give it a go.
Your page shows the field EMAIL as * required, but in our installation it isn't a required field and we can't change it. It is the only field where the choice isn't available.
admin.php?page=wpbc-settings
Hello.
Its known issue. Its will be fixed in next update 7.0.1 of plugin.
I was sent to you new pre-release version update 7.0.1.
Please check spam folder, if you do not see it in inbox.
What is the best way to update the plugin? I have just purchased BM 7.0 and previous installed version is BM 4.0.2. I don't want to lose all settings and current bookings. I notice that if I just upload the new plugin files via FTP they don't overwrite the old because the folder has a different name.
What's the best way to do this without losing all my previous data and settings?
You can customize the height of your select-boxes by making this customization.
Please open this file ../{Booking Calendar Folder}/css/client.css
( you can check how to edit files in WordPress menu in this article https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/ )
then add to the bottom of this file code like this:
.booking_form_div select {
height:32px !important;
}
.booking_form_div select[multiple],
.booking_form_div select[size]{
height:100px !important;
}
Please do not forget to clear browser cache before testing these changes.
The height there of course can be different depend from your needs.
Kind Regards.
Hi Since updating to 7.0 I'm not getting this error message when trying to enter bookings Error during inserting into BD - Dates
[F:/wpbc-booking-new.php| L:348|V:9.Business.Small.SingleSite.7.0| DB:Duplicate entry 286-2017-03-01 00:00:00 for key booking_id_dates::INSERT INTO wp_bookingdates (booking_id, booking_date, approved) VALUES (286, 2017-03-01 00:00:00, 0 ), (286, 2017-03-01 00:00:00, 0 )]
Hello.
Its seems like you are having the wrong configuration of times fields in the booking form at the Booking > Settings > Fields page.
Probably you was used 2 same values for check in and check our times. Please recheck it.
You can reset your booking form to one predefined booking form template (by selecting template at the toolbar at the Booking > Settings > Fields page and clicking on "Both" button) and then Save changes. After this make a testing with new bookings.
After this you can configure additionally your form fields at the Booking > Settings > Fields page. Please use shortcode generator at the right side of the Booking > Settings > Fields page for the fast and correct creation of booking form fields.
Kind Regards.
Since update to version 7 Large Business, will not auto-fill the booking form. Tried to disable and re-enable the auto-fill option, still does not auto-fill.
Please be sure that your active user (that you logged in) have some predefined data for First Name and Second name at the user profile.
Additionally Booking Calendar is auto fill these form fields:
<p>First Name (required):<br />[text* name] </p>
<p>Last Name (required):<br />[text* secondname] </p>
<p>Email (required):<br />[email* email] </p>
Kind Regards.
Hello,
I would like to set the resource costs and the deposit amount rounded to the nearest whole.
As you told me before, I'd modified the code $summ = round($summ,2);
in inc/_bs/biz_s.php
to $summ = round($summ,0);
but it doesn't do the job because for example:
in this reservation : Total cost: 225.00€ /deposit: 67.50€, balance: 157.50€/
In the deposit field (bottom left of the information), the amount is 68.00€ but the real payment from the bank is 67.50€.
the real payment from the bank should be 68.00€
Is there anything else to set to calcul the costs rounded to the nearest whole?
Thank you
Hello.
Please recheck inside of this file in inc/_bs/biz_s.php replacing of this code $summ = round($summ,2);
to $summ = round($summ,0);
several times. That code in that file exist 6 times.
Additionally (because your issue relative to the deposit cost), please make this fix.
Please open this file ../{Booking Calendar Folder}/inc/_bm/biz_m.php
Thanks, it seems to work now. But I set the time for update to 1 hour in the settings, but it syncronices much less (take much longner time) Why is this?
Hello.
The initializing of auto import process is start working (checking about possibility to "auto cancel booking" or "import some bookings from Google Calendar", etc...) during moments, when some visitor is visit your website.
If nobody visit website during "1 hour" (or other period of time), so system just does not start script for initializing checking about import (auto cancellation, etc... ) some bookings. In this case, you need to configure CRON script at your server. Currently its working with pseudo-cron functionality:
WordPress Cron is what many people refer to as a “pseudo-cron system.” The difference is in how UNIX cron and WordPress Cron take action. A typical UNIX cron system runs in this order:
A time tied to an action occurs.
Cron runs the action tied to that time.
With WordPress Cron, it works a little differently:
A visitor comes to any page on your WordPress website.
WordPress Cron checks each cron event to see whether the scheduled time has passed.
If the scheduled time for that event has passed, then WordPress Cron executes any actions tied to that event.
Kind Regards.
Hello, I have purchased the small business version.
I was wondering how I would make different time slots available for weekdays and weekend, and also how to add extra charges such as - set rate for room, additional charges if somebody wants to rent specific equipment on certain days?
Pleas reply to email address
Hello.
1) The ability to define the different timeslots for the different week days possible in the Booking Calendar Business Medium or higher versions. Please read more about this feature here: https://wpbookingcalendar.com/overview/#times-week-days
2) The ability to define the additional cost for the booking, if visitor select some options in your booking form, also possible in the Booking Calendar Business Medium or higher versions. Check more about this feature here: https://wpbookingcalendar.com/overview/#additional-cost
You can make upgrade to the higher version of Booking Calendar from your exist version of plugin by clicking on the "Upgrade" menu item at the top right side of General Booking Settings page in your admin panel.
Hey, I'm getting the error "Error! Email had not sent. Some error occuered. Could not instantiate mail function." every time I send a booking on my test site. It works if I write a mail from the same domain but that's not how it should be. How can I fix this? I can send the "test mail" from admin panel.
Hello.
Its seems like some security restriction at your serve configuration.
Sometimes mail servers block emails, if the address "From" different from the domain of website, from where this email was sending. Its not really depend from the Booking Calendar. So please open the Booking > Settings > Emails page and recheck that field "From", its have to the same as your website domain. For example: info@your-server.com and not like this your_email@gmail.com
Otherwise you will need to check error.log and mail.log files in your server configuration relative to searching about the reason of not sending emails. If you can not find such files in your server configuration please contact support of your hosting company.
Kind Regards.
Hi, thank you for replying. The from mail is a mail adress from the same website domain. The test button works successfully, I'm getting the test email but the booking form does not work. I activated debug mode and tried sending a mail and this is what I found under debug.log. I looked it up but I don't quite understand. can you help me?
[07-Feb-2017 08:51:37 UTC] PHP Strict Standards: Only variables should be passed by reference in /wp-content/plugins/booking/core/admin/page-email-new-admin.php on line 1105
[07-Feb-2017 08:51:37 UTC] PHP Strict Standards: Only variables should be passed by reference in /wp-content/plugins/booking/core/admin/page-email-new-visitor.php on line 1030
Hello.
This warning because of using error_reporting(E_STRICT); in your theme or server configuration.
To fix this issue, you will be need to make some customization.
Please open this file /wp-content/plugins/booking/core/admin/page-email-new-visitor.php
( you can check how to edit files in WordPress menu in this article https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/ )
then find this code (its exist 2 times in this file, so repeat it 2 times):
$init_fields_values = array_shift( array_values( $init_fields_values ) );
and replace it to this code:
$init_fields_values_temp = array_values( $init_fields_values ); // FixIn: 7.0.1.32 $init_fields_values = array_shift( $init_fields_values_temp );
Please make the same fix in other files like:
/wp-content/plugins/booking/core/admin/page-email-new-admin.php
/wp-content/plugins/booking/core/admin/page-email-trash.php
/wp-content/plugins/booking/core/admin/page-email-deny.php
/wp-content/plugins/booking/core/admin/page-email-deleted.php
/wp-content/plugins/booking/core/admin/page-email-approved.php
If you are using Booking Calendar Personal or higher versions:
/wp-content/plugins/booking/inc/_ps/admin/page-email-edit.php
If you are using Booking Calendar Business Small or higher versions:
/wp-content/plugins/booking/inc/_bs/admin/page-email-payment.php
Kind Regards.
Hello. Thank you for your plugin. I seem to get a conflict with the theme Activello that causes the dropdown-menu to not display any sub-menu items in small screens (narrower than 750 pixels wide). Do you know if that would be a conflict with the menu - it uses Bootstrap and navwalker.php
Thanks
Kitka
Hello.
Probably you are having some JavaScript error. Or its can be because of conflict with Bootstrap library. Booking Calendar is using Bootstrap library 3.3.5
Please note in Booking Calendar you can set loading of JavaScript files of Booking Calendar only on specificpage(s) where you inserted the booking form(s), so in this case plugin will not load own JS files at all pages and only on specific, andits can resolve your conflict issue.
But probably issue still will be at the page(s) with booking form(s).
Here is description how to configure it.
Please open the Booking > Settings General page and in Advanced section click on "Show advanced settings of JavaScript loading" then make activated this option "Load JS and CSS files only on specific pages" after this in textarea "Relative URLs of pages, where to load plugin CSS and JS files" enter relative url of your pages with booking form, where you need to load the Booking Calendar JavaScript files.
For example: /booking-form/
if you have booking form at the page: https://your-website.com/booking-form/
Kind Regards.
Thanks for the tip. Will give it a go.
Your page shows the field EMAIL as * required, but in our installation it isn't a required field and we can't change it. It is the only field where the choice isn't available.
admin.php?page=wpbc-settings
Hello.
Its known issue. Its will be fixed in next update 7.0.1 of plugin.
I was sent to you new pre-release version update 7.0.1.
Please check spam folder, if you do not see it in inbox.
You can check how to make update here: https://wpbookingcalendar.com/help/upgrade-from-free-to-paid-version/
Kind Regards.
What is the best way to update the plugin? I have just purchased BM 7.0 and previous installed version is BM 4.0.2. I don't want to lose all settings and current bookings. I notice that if I just upload the new plugin files via FTP they don't overwrite the old because the folder has a different name.
What's the best way to do this without losing all my previous data and settings?
Hello.
Please check this instruction how to make update of plugin to be sure in saving previous bookings and settings in your admin panel: https://wpbookingcalendar.com/help/update-older-to-newer-paid-version/
Kind Regards.
Hi
I have a problem with the Drop Down field. The height of the field varies. Is it posible to sett the height manually?
https://villalappa.com/wp-content/uploads/2017/02/skjerm.jpg
Hello.
You can customize the height of your select-boxes by making this customization.
Please open this file ../{Booking Calendar Folder}/css/client.css
( you can check how to edit files in WordPress menu in this article https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/ )
then add to the bottom of this file code like this:
.booking_form_div select { height:32px !important; } .booking_form_div select[multiple], .booking_form_div select[size]{ height:100px !important; }
Please do not forget to clear browser cache before testing these changes.
The height there of course can be different depend from your needs.
Kind Regards.
Hi Since updating to 7.0 I'm not getting this error message when trying to enter bookings Error during inserting into BD - Dates
[F:/wpbc-booking-new.php| L:348|V:9.Business.Small.SingleSite.7.0| DB:Duplicate entry 286-2017-03-01 00:00:00 for key booking_id_dates::INSERT INTO wp_bookingdates (booking_id, booking_date, approved) VALUES (286, 2017-03-01 00:00:00, 0 ), (286, 2017-03-01 00:00:00, 0 )]
Hello.
Its seems like you are having the wrong configuration of times fields in the booking form at the Booking > Settings > Fields page.
Probably you was used 2 same values for check in and check our times. Please recheck it.
You can reset your booking form to one predefined booking form template (by selecting template at the toolbar at the Booking > Settings > Fields page and clicking on "Both" button) and then Save changes. After this make a testing with new bookings.
After this you can configure additionally your form fields at the Booking > Settings > Fields page.
Please use shortcode generator at the right side of the Booking > Settings > Fields page for the fast and correct creation of booking form fields.
Kind Regards.
Since update to version 7 Large Business, will not auto-fill the booking form. Tried to disable and re-enable the auto-fill option, still does not auto-fill.
Any idea to fix this?
Thanks
Hello.
Just checked and its have to work fine. You can test it here https://bl.wpbookingcalendar.com
Please be sure that your active user (that you logged in) have some predefined data for First Name and Second name at the user profile.
Additionally Booking Calendar is auto fill these form fields:
<p>First Name (required):<br />[text* name] </p> <p>Last Name (required):<br />[text* secondname] </p> <p>Email (required):<br />[email* email] </p>
Kind Regards.
Hello,
I would like to set the resource costs and the deposit amount rounded to the nearest whole.
As you told me before, I'd modified the code $summ = round($summ,2);
in inc/_bs/biz_s.php
to $summ = round($summ,0);
but it doesn't do the job because for example:
in this reservation : Total cost: 225.00€ /deposit: 67.50€, balance: 157.50€/
In the deposit field (bottom left of the information), the amount is 68.00€ but the real payment from the bank is 67.50€.
the real payment from the bank should be 68.00€
Is there anything else to set to calcul the costs rounded to the nearest whole?
Thank you
Hello.
Please recheck inside of this file in inc/_bs/biz_s.php replacing of this code
$summ = round($summ,2);
to
$summ = round($summ,0);
several times. That code in that file exist 6 times.
Additionally (because your issue relative to the deposit cost), please make this fix.
Please open this file ../{Booking Calendar Folder}/inc/_bm/biz_m.php
( you can check how to edit files in WordPress menu in this article https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/ )
then find this code:
if ($resource_deposit_is_active == 'On') { if ($resource_deposit_amount_apply_to == '%') $summ = $summ * $resource_deposit_amount / 100 ; else $summ = $resource_deposit_amount; }
and replace it to this code:
if ($resource_deposit_is_active == 'On') { if ($resource_deposit_amount_apply_to == '%') $summ = $summ * $resource_deposit_amount / 100 ; else $summ = $resource_deposit_amount; $summ = round($summ,0); }
Kind Regards.
Thanks, it seems to work now. But I set the time for update to 1 hour in the settings, but it syncronices much less (take much longner time) Why is this?
Hello.
The initializing of auto import process is start working (checking about possibility to "auto cancel booking" or "import some bookings from Google Calendar", etc...) during moments, when some visitor is visit your website.
If nobody visit website during "1 hour" (or other period of time), so system just does not start script for initializing checking about import (auto cancellation, etc... ) some bookings. In this case, you need to configure CRON script at your server. Currently its working with pseudo-cron functionality:
WordPress Cron is what many people refer to as a “pseudo-cron system.” The difference is in how UNIX cron and WordPress Cron take action. A typical UNIX cron system runs in this order:
A time tied to an action occurs.
Cron runs the action tied to that time.
With WordPress Cron, it works a little differently:
A visitor comes to any page on your WordPress website.
WordPress Cron checks each cron event to see whether the scheduled time has passed.
If the scheduled time for that event has passed, then WordPress Cron executes any actions tied to that event.
Kind Regards.
Hello, I have purchased the small business version.
I was wondering how I would make different time slots available for weekdays and weekend, and also how to add extra charges such as - set rate for room, additional charges if somebody wants to rent specific equipment on certain days?
Pleas reply to email address
Hello.
1) The ability to define the different timeslots for the different week days possible in the Booking Calendar Business Medium or higher versions. Please read more about this feature here: https://wpbookingcalendar.com/overview/#times-week-days
2) The ability to define the additional cost for the booking, if visitor select some options in your booking form, also possible in the Booking Calendar Business Medium or higher versions. Check more about this feature here: https://wpbookingcalendar.com/overview/#additional-cost
You can make upgrade to the higher version of Booking Calendar from your exist version of plugin by clicking on the "Upgrade" menu item at the top right side of General Booking Settings page in your admin panel.
Kind Regards.