• Hello and thank you for this plugin.

    I have a message that says “Ajax error : forbidden” when I click on the “Request” button on the front side on one of the items. I think I have done everything considering Patron ID, created one and associated it with my WordPress user account. So, it seems I have the right to do this request ?

    I have the same message on the library circulation desk when clicking on “Place Hold” while on the back office.

    Thank you.

    Best regards,
    Antoine.

    https://ww.wp.xz.cn/plugins/weblibrarian/

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

    (@robertpheller)

    This is *possibly* a server configuration issue or a browser problem. I don’t know which. It *could* be a bug, but I am unable to reproduce it with my test site.

    Is this on a public facing site? If so can you give me a user login and a patron id, so that I can test it using Firebug and see what is going on?

    In the meanwhile, what browser(s) have you tried? And do you know what operating system your server is running?

    Thread Starter scrimeadmin

    (@scrimeadmin)

    Now when I try to add a patron ID to a user, I have the same message again… So I can’t give you a user and patron ID account.

    It seems I’ve managed to do this action whith my account and I can’t remember how.

    It might be a server configuration issue, it’s not the first time I’m not allowed to do something on it. I might ask to the server admin.

    I’ve tried with Firefox 37.0.1 and Safari 6.2.4. I don’t know the OS of the server.

    Thread Starter scrimeadmin

    (@scrimeadmin)

    Hi,

    I’ve asked to the computer service where I work, and here are the logs they have found corresponding to the probem I have apparantly :

    `[Thu Apr 09 15:56:27.583683 2015] [:error] [pid 27014:tid 2957986624] [client 147.210.110.80:53340] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘ot_create_media_post’ not found or invalid function name in /net/html/vhosts/scrime.labri.fr/wp-includes/plugin.php on line 496, referer: http://scrime.labri.fr/extranet/bibliotheque/
    [Thu Apr 09 15:56:27.606082 2015] [:error] [pid 27014:tid 2957986624] [client 147.210.110.80:53340] PHP Fatal error: Call to undefined function ot_register_meta_box() in /net/html/vhosts/scrime.labri.fr/wp-content/themes/avatar-wp/framework/theme-options/meta-boxes.php on line 73, referer: http://scrime.labri.fr/extranet/bibliotheque/
    ..
    Thu Apr 09 16:47:57.369111 2015] [:error] [pid 28554:tid 3025128256] [client 147.210.110.80:53911] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘ot_create_media_post’ not found or invalid function name in /net/html/vhosts/scrime.labri.fr/wp-includes/plugin.php on line 496, referer: http://scrime.labri.fr/extranet/bibliotheque/?searchby=author&searchbox=delalande&weblib_orderby=barcode&weblib_order=ASC
    [Thu Apr 09 16:47:57.384087 2015] [:error] [pid 28554:tid 3025128256] [client 147.210.110.80:53911] PHP Fatal error: Call to undefined function ot_register_meta_box() in /net/html/vhosts/scrime.labri.fr/wp-content/themes/avatar-wp/framework/theme-options/meta-boxes.php on line 73, referer: http://scrime.labri.fr/extranet/bibliotheque/?searchby=author&searchbox=delalande&weblib_orderby=barcode&weblib_order=ASC

    Thank you.

    Plugin Author Robert Heller

    (@robertpheller)

    It looks like a problem with the theme you are using. My code does not call a function named ot_register_meta_box…

    Plugin Author Robert Heller

    (@robertpheller)

    What happens when you go to the URL (be sure to be logged in first):

    http://scrime.labri.fr/wp-content/plugins/weblibrarian/PlaceHoldOnItem.php

    Thread Starter scrimeadmin

    (@scrimeadmin)

    I have this :

    Forbidden

    You don’t have permission to access /wp-content/plugins/weblibrarian/PlaceHoldOnItem.php on this server.

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

    Plugin Author Robert Heller

    (@robertpheller)

    OK, there is probably something wrong with the owner/permissions of the directory or files under wp-content/plugins/weblibrarian or there is something in the webserver setup or something weird going on with .htaccess file(s). Probably some misconfiguration due to over zealious security reasons.

    What operating system is the *server* running? What version of Apache?

    What is the owner and permissions under wp-content/plugins/ (eg what does ‘ls -lR wp-content/plugins/’ look like)?

    Are there any .htaccess files? What is in them? What does the Apache configuration for the website look like?

    (These are mostly going to be questions you need sit down with your server admin and ask and then figure out what is wrong based on the answers — you don’t need to send the answers to me.)

    Thread Starter scrimeadmin

    (@scrimeadmin)

    Thank you Robert I will contact the server admin again.

    I’ll keep you inform.

    Regards.

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

The topic ‘Ajax error : Forbidden’ is closed to new replies.