• My site shows this when i try to reinstall woocmmerce on my e-store: “There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.:

    Please has anyone had similar experience and how can i resolve it

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • The reason for the critical error should be visible in the error log. You can find it in your hosting area. If necessary, the support of your hosting can help you.

    Alternatively, you can also enable debugging in WordPress to gather more information. To do this, add a few specific lines to your wp-config.php file. For full guidance and step-by-step instructions on enabling the debug log, refer to the WordPress developer documentation: Debugging in WordPress.  

    In both cases you should be able to see what the cause is in the logfile.

    Thread Starter tobechi12

    (@tobechi12)

    Oh, thank you so much Lina. I Just looked at my error log and this is what I found. Do you think you can decipher what can be wrong or how to fix it?:

    [Wed Nov 27 07:40:06.833677 2024] [access_compat:error] [pid 186671:tid 186834] [client 192.185.236.183:0] AH01797: client denied by server configuration: /home1/spineng/foodieng.com/wp-content/uploads/woocommerce_uploads/
    [Wed Nov 27 03:16:30.207325 2024] [autoindex:error] [pid 183920:tid 184154] [client 52.236.32.54:0] AH01276: Cannot serve directory /home1/spineng/foodieng.com/wp-includes/: No matching DirectoryIndex (index.html.var,index.htm,index.html,index.shtml,index.xhtml,index.wml,index.perl,index.pl,index.plx,index.ppl,index.cgi,index.jsp,index.js,index.jp,index.php4,index.php3,index.php,index.phtml,default.htm,default.html,home.htm,index.php5,Default.html,Default.htm,home.html) found, and server-generated directory index forbidden by Options directive

    We have two errors to address. The first one is: “client denied by server configuration,” which means your server is blocking access to the /wp-content/uploads/woocommerce_uploads/ directory. Start by checking the permissions for this directory. Ensure that folders are set to 755 and files to 644. If these permissions are correct, I recommend reaching out to your hosting provider for further assistance.

    The second error is a bit trickier: “Cannot serve directory /wp-includes/: No matching DirectoryIndex.” This indicates that the server is attempting to access domain.com/wp-includes/, but it shouldn’t return anything. Instead, there should be a default file present, which is causing the error since no default file exists. You should consult your hosting provider to determine what is attempting to access domain.com/wp-includes/. It could be a theme, plugin, or even a malicious request.

    Thread Starter tobechi12

    (@tobechi12)

    thanks a lot Lina. let me look at your recommendation and revert right away

    Moderator threadi

    (@threadi)

    Both lines from the log are not fatal errors. Take another closer look at the log, there should be other entries that are more relevant.

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

The topic ‘help troubleshooting woocommerce error’ is closed to new replies.