Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter ABuiza

    (@abuiza)

    Yes Kasia, I tested as you say but I have a provider for morning hours and another for afternoon. The exception days are different morning/afternoon. If I set an exception working day for “No specific provider” it greys the whole day but if i set a exception working day for the morning or afternoon provider (even two providers) the hours still renders available so the “No specific provider” is enabled.

    Do you know what i’m trying to explain?

    I am thinking to solve the situation rendering two calendar for the two providers on the same page, like this:

    [app_schedule worker="2"][app_schedule worker="3" title="" logged=""]
    [app_pagination]
    [app_login]
    [app_confirmation]

    It works having “No specific provider” disabled.
    But, is there any solution to make all providers availability on one single calendar?

    Thread Starter ABuiza

    (@abuiza)

    Hi Kasia, thanks for your support.

    I think is not problem with default working hours named as “No specific provider”.
    I am sure it is when a service is attended by 2 (or more) providers.
    Let me explain.

    With “disabled” working hours for “No specific provider”:
    – If I have a service (calendar) attended for 1 unique provider all works fine.
    – If I add a second provider to it, all renders greyed.

    I discovered yesterday so I have configured my shortcodes pages the calendar appears grey so it is awaiting for a previous provicer selection.

    If I add the sortcode [app_service_providers] like this:

    [app_service_providers]
    [app_schedule]
    [app_pagination]
    [app_login]
    [app_confirmation]

    The calendar renders well when I make a dropdown selection but is not possible to select all the providers by default.
    I would like to show the service whole week with all enabled hours instead of filtering by provider.

    Is it possible?

    Thanks a lot!

    • This reply was modified 9 years, 3 months ago by ABuiza.
    Thread Starter ABuiza

    (@abuiza)

    Hi again!
    I’ve checked the issue in a clean WP installation over a free-host and after setting the preferences as I like the problem arrived.

    My settings are:
    – Create 2 users (morning and afternoon)
    – Create 1 service (Capacity=0, Duration=30, Price=0, DescPage=None)
    – Assign the 2 users to the unique service
    – Set the working hours as follow:
    – Disable all days for “No specific provider”
    – Enable Monday-Friday 8am-1pm for morning user
    – Enable Monday-Friday 4pm-8pm for afternoon user
    – Create a page with the shortcodes as follow:

    [app_schedule]
    [app_pagination]
    [app_login]
    [app_confirmation]

    I load the page and all the calendar is greyed/disabled.
    If I delete one of the two providers the calendar is rendered well and the exceptions set are rendered also well. But when I re-assign the second provider it is disabled all again.

    Is that a bug or a missconfiguration?

    Thanks a lot!

    Thread Starter ABuiza

    (@abuiza)

    Thanks again Nastia,
    Providers have not the “Dummy” check.
    I put the DEBUG lines on wp-config.php and made 3 log files, it is:

    Selecting provider log:

    [11-Jan-2017 13:22:56 UTC] PHP Strict Standards:  Redefining already defined constructor for class Appointments in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-content\plugins\appointments\appointments.php on line 43
    [11-Jan-2017 13:22:56 UTC] PHP Notice:  ¡El método de llamada al constructor WP_Widget en Appointments_Widget_Services está <strong>obsoleto</strong> desde la versión 4.3.0! Utiliza <pre>__construct()</pre> en su lugar. in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-includes\functions.php on line 3718
    [11-Jan-2017 13:22:56 UTC] PHP Notice:  ¡El método de llamada al constructor WP_Widget en Appointments_Widget_Service_Providers está <strong>obsoleto</strong> desde la versión 4.3.0! Utiliza <pre>__construct()</pre> en su lugar. in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-includes\functions.php on line 3718
    [11-Jan-2017 13:22:56 UTC] PHP Notice:  ¡El método de llamada al constructor WP_Widget en Appointments_Widget_Monthly_Calendar está <strong>obsoleto</strong> desde la versión 4.3.0! Utiliza <pre>__construct()</pre> en su lugar. in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-includes\functions.php on line 3718
    [11-Jan-2017 13:22:56 UTC] PHP Notice:  ¡El método de llamada al constructor WP_Widget en wdgtcstmzr está <strong>obsoleto</strong> desde la versión 4.3.0! Utiliza <pre>__construct()</pre> en su lugar. in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-includes\functions.php on line 3718
    [11-Jan-2017 13:22:56 UTC] PHP Strict Standards:  Redefining already defined constructor for class AppointmentsGcal in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-content\plugins\appointments\includes\class.gcal.php on line 26
    [11-Jan-2017 13:22:57 UTC] PHP Notice:  has_cap fue llamado con un argumento que está <strong>obsoleto</strong> desde la versión 2.0! El uso de niveles de usuarios por plugins y temas está obsoleto. Usa los perfiles y capacidades en su lugar. in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-includes\functions.php on line 3842
    [11-Jan-2017 13:22:57 UTC] PHP Warning:  file_exists(): open_basedir restriction in effect. File(D:\HTTPD\PROVESWP.RIPOLLET.CAT/wp-content/plugins/http://proveswp.ripollet.cat/wp-admin/admin.php) is not within the allowed path(s): (D:\HTTPD;C:\WINDOWS\TEMP\) in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-admin\menu-header.php on line 150
    [11-Jan-2017 13:22:57 UTC] PHP Warning:  file_exists(): open_basedir restriction in effect. File(D:\HTTPD\PROVESWP.RIPOLLET.CAT/wp-content/plugins/http://proveswp.ripollet.cat/wp-admin/admin.php) is not within the allowed path(s): (D:\HTTPD;C:\WINDOWS\TEMP\) in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-admin\menu-header.php on line 219
    [11-Jan-2017 13:22:57 UTC] PHP Warning:  file_exists(): open_basedir restriction in effect. File(D:\HTTPD\PROVESWP.RIPOLLET.CAT/wp-content/plugins/http://proveswp.ripollet.cat/wp-admin/post-new.php) is not within the allowed path(s): (D:\HTTPD;C:\WINDOWS\TEMP\) in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-admin\menu-header.php on line 219
    [11-Jan-2017 13:22:57 UTC] PHP Notice:  has_cap fue llamado con un argumento que está <strong>obsoleto</strong> desde la versión 2.0! El uso de niveles de usuarios por plugins y temas está obsoleto. Usa los perfiles y capacidades en su lugar. in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-includes\functions.php on line 3842
    

    Setting exceptions log:

    [11-Jan-2017 13:23:38 UTC] PHP Strict Standards:  Redefining already defined constructor for class Appointments in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-content\plugins\appointments\appointments.php on line 43
    [11-Jan-2017 13:23:39 UTC] PHP Notice:  ¡El método de llamada al constructor WP_Widget en Appointments_Widget_Services está <strong>obsoleto</strong> desde la versión 4.3.0! Utiliza <pre>__construct()</pre> en su lugar. in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-includes\functions.php on line 3718
    [11-Jan-2017 13:23:39 UTC] PHP Notice:  ¡El método de llamada al constructor WP_Widget en Appointments_Widget_Service_Providers está <strong>obsoleto</strong> desde la versión 4.3.0! Utiliza <pre>__construct()</pre> en su lugar. in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-includes\functions.php on line 3718
    [11-Jan-2017 13:23:39 UTC] PHP Notice:  ¡El método de llamada al constructor WP_Widget en Appointments_Widget_Monthly_Calendar está <strong>obsoleto</strong> desde la versión 4.3.0! Utiliza <pre>__construct()</pre> en su lugar. in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-includes\functions.php on line 3718
    [11-Jan-2017 13:23:39 UTC] PHP Notice:  ¡El método de llamada al constructor WP_Widget en wdgtcstmzr está <strong>obsoleto</strong> desde la versión 4.3.0! Utiliza <pre>__construct()</pre> en su lugar. in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-includes\functions.php on line 3718
    [11-Jan-2017 13:23:39 UTC] PHP Strict Standards:  Redefining already defined constructor for class AppointmentsGcal in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-content\plugins\appointments\includes\class.gcal.php on line 26
    [11-Jan-2017 13:23:39 UTC] PHP Notice:  has_cap fue llamado con un argumento que está <strong>obsoleto</strong> desde la versión 2.0! El uso de niveles de usuarios por plugins y temas está obsoleto. Usa los perfiles y capacidades en su lugar. in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-includes\functions.php on line 3842
    [11-Jan-2017 13:23:39 UTC] PHP Warning:  file_exists(): open_basedir restriction in effect. File(D:\HTTPD\PROVESWP.RIPOLLET.CAT/wp-content/plugins/http://proveswp.ripollet.cat/wp-admin/admin.php) is not within the allowed path(s): (D:\HTTPD;C:\WINDOWS\TEMP\) in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-admin\menu-header.php on line 150
    [11-Jan-2017 13:23:39 UTC] PHP Warning:  file_exists(): open_basedir restriction in effect. File(D:\HTTPD\PROVESWP.RIPOLLET.CAT/wp-content/plugins/http://proveswp.ripollet.cat/wp-admin/admin.php) is not within the allowed path(s): (D:\HTTPD;C:\WINDOWS\TEMP\) in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-admin\menu-header.php on line 219
    [11-Jan-2017 13:23:39 UTC] PHP Warning:  file_exists(): open_basedir restriction in effect. File(D:\HTTPD\PROVESWP.RIPOLLET.CAT/wp-content/plugins/http://proveswp.ripollet.cat/wp-admin/post-new.php) is not within the allowed path(s): (D:\HTTPD;C:\WINDOWS\TEMP\) in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-admin\menu-header.php on line 219
    [11-Jan-2017 13:23:39 UTC] PHP Notice:  has_cap fue llamado con un argumento que está <strong>obsoleto</strong> desde la versión 2.0! El uso de niveles de usuarios por plugins y temas está obsoleto. Usa los perfiles y capacidades en su lugar. in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-includes\functions.php on line 3842
    

    Reloading appointments page log:

    [11-Jan-2017 13:24:04 UTC] PHP Strict Standards:  Redefining already defined constructor for class Appointments in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-content\plugins\appointments\appointments.php on line 43
    [11-Jan-2017 13:24:04 UTC] PHP Notice:  wp_register_style was called <strong>incorrectly</strong>. Scripts and styles should not be registered or enqueued until the <code>wp_enqueue_scripts</code>, <code>admin_enqueue_scripts</code>, or <code>login_enqueue_scripts</code> hooks. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.3.) in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-includes\functions.php on line 3897
    [11-Jan-2017 13:24:04 UTC] PHP Notice:  wp_enqueue_style was called <strong>incorrectly</strong>. Scripts and styles should not be registered or enqueued until the <code>wp_enqueue_scripts</code>, <code>admin_enqueue_scripts</code>, or <code>login_enqueue_scripts</code> hooks. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.3.) in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-includes\functions.php on line 3897
    [11-Jan-2017 13:24:04 UTC] PHP Notice:  ¡El método de llamada al constructor WP_Widget en Appointments_Widget_Services está <strong>obsoleto</strong> desde la versión 4.3.0! Utiliza <pre>__construct()</pre> en su lugar. in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-includes\functions.php on line 3718
    [11-Jan-2017 13:24:04 UTC] PHP Notice:  ¡El método de llamada al constructor WP_Widget en Appointments_Widget_Service_Providers está <strong>obsoleto</strong> desde la versión 4.3.0! Utiliza <pre>__construct()</pre> en su lugar. in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-includes\functions.php on line 3718
    [11-Jan-2017 13:24:04 UTC] PHP Notice:  ¡El método de llamada al constructor WP_Widget en Appointments_Widget_Monthly_Calendar está <strong>obsoleto</strong> desde la versión 4.3.0! Utiliza <pre>__construct()</pre> en su lugar. in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-includes\functions.php on line 3718
    [11-Jan-2017 13:24:04 UTC] PHP Notice:  ¡El método de llamada al constructor WP_Widget en wdgtcstmzr está <strong>obsoleto</strong> desde la versión 4.3.0! Utiliza <pre>__construct()</pre> en su lugar. in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-includes\functions.php on line 3718
    [11-Jan-2017 13:24:04 UTC] PHP Strict Standards:  Redefining already defined constructor for class AppointmentsGcal in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-content\plugins\appointments\includes\class.gcal.php on line 26
    [11-Jan-2017 13:24:05 UTC] PHP Notice:  Undefined variable: header_image in D:\HTTPD\PROVESWP.RIPOLLET.CAT\wp-content\themes\twentyeleven\header.php on line 86
    

    Thanks again!

    Thread Starter ABuiza

    (@abuiza)

    Thanks Nastia for your quick answer.

    I’ve set the plugin on a test 4.7 WP and creating 1 service and 2 providers (morning/afternoon) with specific working hours (9-13:30h-Morning, and 16-19:30h-Afternoon), assigned the providers to the service and:

    – If I set the Exception->Exceptional NON working days for the “No specific provider” it works and days become grey and not available.
    – Otherwise if I set it for one specific provider (even all) it fails and days continue available.

    So the issue persists despite changing the WP installation.

    Thanks a lot in advance!

    Hello I am experiencing same issue. Strange behaviors setting exception dates.

    How could I fix it?
    Thanks a lot in advance!

Viewing 6 replies - 1 through 6 (of 6 total)