• Resolved siamnaulak

    (@siamnaulak)


    Whenever I upload images from the frontend I got an “Error #-200: HTTP Error” message.

    In one of your reply, I saw this

    —-
    Please increase the max file size max_file_size limit from the following file of WP User Frontend plugin.
    /wp-user-frontend/assets/js/frontend-form.js
    Line: 704
    —-

    But, when I checked the file in Line 704, I didn’t see anywhere to change the file size – https://prnt.sc/1m2jope. Can you please point me again where can I change this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @siamnaulak

    Whenever I upload images from the frontend I got an “Error #-200: HTTP Error” message.

    This error mostly occurs in server-side file upload limitations. So I would recommend you troubleshoot the issue by following this article.

    Noteworthy, if these values are configured as a minimum from the hosting panel side, and the above article’s tips are not working, you need to contact your hosting provider to increase the upload limit value and confirm with them about the limitation of the MAX file size uploading.

    But, when I checked the file in Line 704, I didn’t see anywhere to change the file size – https://prnt.sc/1m2jope. Can you please point me again where can I change this?

    → We have updated the method & code-base so that reply was helpful, but now if you have the MAX file size and other respected values are increased, it should work fine.

    Thanks!

    Thread Starter siamnaulak

    (@siamnaulak)

    Thank you so much Aurangajeb. This one works perfectly

    @ini_set( 'upload_max_filesize' , '128M' );
    @ini_set( 'post_max_size', '128M');
    @ini_set( 'memory_limit', '256M' );
    @ini_set( 'max_execution_time', '300' );
    @ini_set( 'max_input_time', '300' );
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error #-200: HTTP Error when uploading image’ is closed to new replies.