• Resolved echofong

    (@echofong)


    Hi support team,
    I am using ver 2.2.1 of PeproDev WooCommerce Receipt Uploader. After I upload image, it shows “unknown server occured! try again” but in order page it was upload successfully.
    img:
    https://ibb.co/V3cCXLP

Viewing 11 replies - 1 through 11 (of 11 total)
  • Please check the image above for your reference. If there’s need upload permission, may I know which files I need to edit or how can I fix it?

    I have checked the permission on wp-content folder & wp-content/uploads folder. They have already set to 755. I have also pretty sure the file_uploads is ON since I have checked on info.php.

    • This reply was modified 2 years, 2 months ago by wenlu.
    • This reply was modified 2 years, 2 months ago by wenlu.
    Plugin Author Pepro Dev. Group

    (@peprodev)

    Hello friends, could you please turn on your debug mode and check if there is any error in debug.log?

    @wenlu As you can see when you upload there is an Error HTTP-500 which is concerned with server.

    Thank you,.

    Hi @peprodev ,

    Thank you for your response.

    I have set

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    define( 'WP_DEBUG_LOG', true );

    in wp-config but no debug.log is generated in wp-content folder.

    • This reply was modified 2 years, 2 months ago by wenlu.
    Plugin Author Pepro Dev. Group

    (@peprodev)

    I suppose this is a problem with your hosting, you can do two tests to specify if your host or plugins are problematic.

    1. Have all plugins disabled, active WooCommerce and Upload Receipt, then test again.
    2. Check with a clean-new installation of an Empty WordPress site on another host, and do the test again.

    If the error persist, please let us know.

    Thank you for your collaboration,
    Have a nice day.

    Hi @peprodev,

    I have tried the method you mentioned above

    1. After deactivated all the plugins, the problem is still there. So, the problem is not come from the other plugins.
    2. I have test on the other hosting and it works.

    So, we can conclude that it is most likely come from the server side but I still don’t know where’s the problem come from since the permission on the related folder is set to 755.

    Thanks

    Plugin Author Pepro Dev. Group

    (@peprodev)

    So, you can tell the Hosting support.
    and also check with the debugging enabled:

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', true);
    @ini_set('display_errors', 1);
    error_reporting(E_ERROR|E_WARNING);

    Hi @peprodev,

    All right. I will tell the hosting support for this issue. Thanks for your help !

    Best Regards,

    Wenlu

    Same issue here @peprodev

    i have a dedicated server with WHM, so any suggestion?

    https://i.snipboard.io/lFA9RT.jpg

    Plugin Author Pepro Dev. Group

    (@peprodev)

    Hi @rasho098, I hope you are doing great.
    The Error-500 on Admin-Ajax.php is due to a server problem.
    You can always check if there’s anything wrong with plugins using Debugging mode which could be activated by adding the following lines in your wp-config.php file:
    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', true);
    @ini_set('display_errors', 1);
    error_reporting(E_ERROR|E_WARNING);

    Please check the errors printed in debug.log file and see if there’s anything related to our plugin. I would personally fix the problem and release a new version.

    Thank you so much for your collaboration.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Show Error Message But upload success’ is closed to new replies.