Support » Plugin: Booking Calendar » 500 error with directory separated WP

  • Resolved kazkun


    I got 500 error when I have try to delete the sample booking on the admin console
    just after installation.

    I checked your FAQ and forum messages … but found no problems.

    Then, I checked your source code and found a suspicious mistake in a function
    print_js_css(). It outputs Javascript, initializing the wpdev_bk_plugin_url variable
    with get_home_url(). it should be something WPDEV_BK_PLUGIN_URL !

    The plugin may works on the environment WP works on the document root, but I could not
    move it because of the system limitation.

    Could you inspect the problem ?

    I have plan to get retail version, but I also feel unease for quarity …

Viewing 1 replies (of 1 total)
  • Plugin Author wpdevelop


    Please try to make this fix.

    Please open this file:


    find this code:

    var wpdev_bk_plugin_url     = '<?php echo get_home_url(null, '/wp-content/plugins/'.WPDEV_BK_PLUGIN_DIRNAME ); ?>';

    and replace it to this code:

    var wpdev_bk_plugin_url     = '<?php echo get_site_url(null, '/wp-content/plugins/'.WPDEV_BK_PLUGIN_DIRNAME ); ?>';

    Then test it again.

    PS. Its known inssue in the last update and we will reupdate the plugin soon, relative to this issue.

Viewing 1 replies (of 1 total)
  • The topic ‘500 error with directory separated WP’ is closed to new replies.