Booking Calendar
[resolved] 500 error with directory separated WP (2 posts)

  1. kazkun
    Posted 3 years ago #

    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 ...


  2. wpdevelop
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Booking Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.