• Resolved guydudeman

    (@guydudeman)


    Hi,
    After a vendor lists a product and then goes back to edit it, there is an error at the bottom of the page and the footer doesnt show which make it impossible to save the edits, but instead it shows there was an critical error and in the cpanel error logs it says “client was denied by server configuration in /woocommerce-uploads. please advise.

    • This topic was modified 4 years, 1 month ago by guydudeman. Reason: tags
    • This topic was modified 4 years, 1 month ago by guydudeman.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter guydudeman

    (@guydudeman)

    In cpanel one of the error logs is: AH01797 client denied by server configuration from uploads/woocommerce_uploads

    here is a picture of what the problem looks like https://imgur.com/KxSWBiI

    Please advise, thanks!

    Hello @guydudeman ,

    Thanks for the details.

    Can you please try these and let me know the update?

    1. Deactivate all plugins except Dokan & WooCommerce then check if the issue is there.
    2. Switch to a default theme then check the issue.

    If this is a plugin or theme conflict you are advised to use an alternative instead.

    Regards,
    Rashed

    Thread Starter guydudeman

    (@guydudeman)

    Hi,
    I have tried steps 1 and 2 but the problem still exists, and my permalink structures are correct. Please advise, thanks in advance

    Thread Starter guydudeman

    (@guydudeman)

    I have also tried changing the .htaccess file in the directoy of uploads/woocommerce_uploads to include Order allow,deny and Allow from all but to no success. What next?

    Thread Starter guydudeman

    (@guydudeman)

    Actually, i found the problem is my theme, which is unicase, but this is a supported theme of dokan on your website. So what should I do ? i want to use this theme and it is supposed to be supported

    Thread Starter guydudeman

    (@guydudeman)

    is there a way to override the product edit through the child as described here?

    i added a folder to my child theme folder dokan-pro/templates/products with the product-edit.php and other files inside. is this heading in the right direction?

    Thread Starter guydudeman

    (@guydudeman)

    This is the php error report when the problem occurs:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function Dokan_Template_Products::load_inventory_template(), 1 passed in public_html/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in public_html/wp-content/plugins/dokan-master/classes/template-products.php:82 Stack trace: #0 public_html/wp-includes/class-wp-hook.php(286): Dokan_Template_Products::load_inventory_template(”) #1 public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #2 public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 public_html/wp-content/themes/unicase/dokan/products/new-product-single.php(416): do_action(‘dokan_product_e…’) #4 public_html/wp-includes/template-loader.php(78): include(‘/home/user…’) #5 public_html/wp-blog-header.php(19): require_once(‘/home/user…’) #6 public_html/index.php(28): require(‘/home/user. in public_html/wp-content/plugins/dokan-master/classes/template-products.php

    Hello @guydudeman ,

    Thanks for all the debugging.

    I got your problem. Your theme is using an older version of the product edit template as a result it is showing the issues.

    The themes are made compatible by the theme developers so you can simply contact their support and ask them to replace the old new-product-single.php with the new one.

    The correct path to replace this file will be child-theme/dokan/products/new-product-single.php

    If you are one of our Pro users then you can contact us & we will replace the necessary code to fix the problem otherwise your theme developer should help you as well because you have bought from them.

    Thank you ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Vendor Cannot Edit Existing Product’ is closed to new replies.