Support » Plugin: WebLibrarian » “Request” button does not work

  • I’ve created a user account and assigned a Patron ID to it. Using that account, I could see the Request button beside the books, when holdbutton value is set to true.

    But I can seem to make it work. When I click it, nothing happens. The book doesn’t go Hold in the Dashboard. Any idea what’s wrong?

    Also, while inspecting the Resources, there was an error. It said: “ReferenceError: Can’t find variable: jQuery” and it referred to the line 40 in Scripts/front.js. Hope this clears anything for you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Robert Heller

    (@robertpheller)

    What web browser are you using?

    Is the search page on a page other then your home page? If so, what is your permalink setting?

    What version of Php is your *server* running?

    What O/S is your *server* running? What version?

    What web server is your *server* running? What version?

    What db server is your *server* running? What version?

    I’m using using both Safari and Firefox, latest updates of them both.

    I only have one page on the site, which is set as the home page. It’s only content is:
    [weblib_searchform]
    [weblib_itemlist holdbutton='true' inlinemoreinfo='true']

    PHP Version: 5.5.31

    OS: linux (version not specified)

    Apache Version: 2.4.18

    MySQL Version: 5.6.39

    • This reply was modified 1 year, 5 months ago by chevindu.
    Plugin Author Robert Heller

    (@robertpheller)

    OK, my only thought is either JavaScript is disabled in your web browsers or there is a problem with the AJAX callbacks (maybe some Apache setting is wrong).

    Just checked, both my browsers have JavaScript enabled. :/

    If it is because of AJAX callbacks, how might I be able to find a remedy? I’m mostly clueless on this stuff.

    Thanks for the quick replies, though.

    Plugin Author Robert Heller

    (@robertpheller)

    Check with your hosting provider. There might be a clue in the Apache log file.

    It might also be caused by some sort of firewall or proxy setting.

    I could find the log file related to my account with the aid of hosting provider. It has a number of errors, but I’ll only paste below what I think is relevant.

    [01-Jun-2018 03:54:18 UTC] PHP Fatal error: Call to a member function show_errors() on a non-object in /home/weerasek/public_html/wp-content/plugins/weblibrarian/includes/database_code.php on line 929
    [01-Jun-2018 03:57:41 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/weerasek/public_html/wp-content/plugins/weblibrarian/includes/WEBLIB_Statistics_Admin.php on line 145
    [01-Jun-2018 03:57:41 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/weerasek/public_html/wp-content/plugins/weblibrarian/includes/WEBLIB_Statistics_Admin.php on line 145
    [01-Jun-2018 04:04:30 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/weerasek/public_html/wp-content/plugins/weblibrarian/includes/WEBLIB_Statistics_Admin.php on line 145
    [01-Jun-2018 04:04:30 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/weerasek/public_html/wp-content/plugins/weblibrarian/includes/WEBLIB_Statistics_Admin.php on line 145
    [01-Jun-2018 04:07:51 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/weerasek/public_html/wp-content/plugins/weblibrarian/includes/WEBLIB_Statistics_Admin.php on line 145
    [01-Jun-2018 04:07:51 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/weerasek/public_html/wp-content/plugins/weblibrarian/includes/WEBLIB_Statistics_Admin.php on line 145
    [01-Jun-2018 04:09:27 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/weerasek/public_html/wp-content/plugins/weblibrarian/includes/WEBLIB_Statistics_Admin.php on line 145
    [01-Jun-2018 04:09:27 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/weerasek/public_html/wp-content/plugins/weblibrarian/includes/WEBLIB_Statistics_Admin.php on line 145

    Pasting these screenshots, if it makes your life any easier.

    imgur links.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘“Request” button does not work’ is closed to new replies.