Support » Fixing WordPress » Update Failed: Page not found –

  • charlsouma

    (@charlsouma)


    Hi

    I haven’t found an exact example of the problem i am having reported in any forums. The problem is as follows : when I update my plugins I get and error :

    Update Failed: <!DOCTYPE html> Page not found –

    I also get this error when some plugins are called to export content, for example a PDF export of an order.

    I checked my server logs and found this :

    [Wed May 15 13:52:31.968524 2019] [access_compat:error] [pid 41200:tid 47273692022528] [client 100.100.100.100:50379] AH01797: client denied by server configuration: /home/maurtenf/public_html/wp-admin/admin-ajax.php, referer: https://maurtenfuel.co.za/wp-admin/plugins.php
    [Wed May 15 13:50:30.308048 2019] [access_compat:error] [pid 41200:tid 47273784411904] [client 100.100.100.100:50372] AH01797: client denied by server configuration: /home/maurtenf/public_html/wp-admin/admin-ajax.php, referer: https://maurtenfuel.co.za/wp-admin/plugins.php
    [Wed May 15 13:48:29.646352 2019] [access_compat:error] [pid 41200:tid 47273773905664] [client 100.100.100.100:50327] AH01797: client denied by server configuration: /home/maurtenf/public_html/wp-admin/admin-ajax.php, referer: https://maurtenfuel.co.za/wp-admin/plugins.php
    [Wed May 15 13:47:25.473301 2019] [access_compat:error] [pid 41158:tid 47273780209408] [client 100.100.100.100:50317] AH01797: client denied by server configuration: /home/maurtenf/public_html/wp-admin/admin-ajax.php, referer: https://maurtenfuel.co.za/wp-admin/plugins.php

    My wordpress 5.2 Update is still pending. I don’t have healthcheck installed. I have checked the permission on my folders and they are all writeable.
    Thanks

    • This topic was modified 5 months ago by  Steve Stern.
Viewing 4 replies - 1 through 4 (of 4 total)
  • AddWeb Solution Pvt. Ltd.

    (@addweb-solution-pvt-ltd)

    Might be solution for your query mentioned in this blog(i.e. https://bobcares.com/blog/client-denied-by-server-configuration-wordpress/)

    Hope it will helps you.

    andraganescu

    (@andraganescu)

    These errors in your log look like a misconfiguration of Apache. Searching the Internet for:

    > AH01797: client denied by server configuration

    yielded some results explaining that this is usually because of a DENY ALL directive in a .htaccess file.

    A solution would be:
    a. Connect to the server via SSH/FTP
    b. Open file /home/maurtenf/public_html/wp-admin/.htaccess or /home/maurtenf/public_html/.htaccess in text editor;
    c. Add the “#” sign before the directive Deny from all.

    charlsouma

    (@charlsouma)

    Thank you for the suggestions. I don’t have a deny all in the .htaccess. I have removed everything I could from the .htaccess and still same errors. I have also disabled the plugins which seem most suspicious and checked the permalinks.

    What I have found while doing this that I can update plugins from the WordPress Updates section, which puts the site into maintenance mode temporarily. But from the Plugins section the same plugins don’t update. This isn’t the solution i needed though as it hasn’t resolved the main issue. I am still unable to export PDF orders. The PDF creator fails the same way completing orders from the woocommerce orders page fails. The page is redirected and loads into an error page.

    Oops! That page can’t be found.

    I also cannot search for woocommerce customers from the new order page.

    The server log shows the error corresponds with the plugins attempt to do the job, in this case export a PDF.

    https://maurtenfuel.co.za/wp-admin/admin-ajax.php?action=generate_wpo_wcpdf&document_type=invoice&order_ids=1789&_wpnonce=348bt32l8

    Woocommerce and WordPress now both updated to the latest versions.

    charlsouma

    (@charlsouma)

    Other features of my site which aren’t working are searching for new plugins. Deleting inactive plugins. Searching for customers in Woocommerce, but searching for users in wordpress works.

    So the common thread seems to be admin mode functions as all front end facing parts are still working, and core worpress functions are still working, only plugins are affected by the errors.

    Any ideas? Any rules I can add to forcfully allow my server to allow these folders to access the site?

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.