Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Saravana Kumar K

    (@mycholan)

    Hi, You should provide values for Allowed File Types option. eg. pdf,docx,jpg,png like that.

    Thread Starter NikHardwarePal

    (@nikhardwarepal)

    I have provided those

    Here is the image for the settings I use

    View post on imgur.com

    and here is the product link

    http://lenshour.com/product/carrera-ca6637-frame/

    You can see that it causes an error

    None of the fields are required

    Plugin Author Saravana Kumar K

    (@mycholan)

    That’s strange, but I am not able replicate that issue with my installation.

    Is there any chance for you to view error_log .?

    Thread Starter NikHardwarePal

    (@nikhardwarepal)

    Yes I have the errors logs is it ok to post here or should I send it to you ?

    Plugin Author Saravana Kumar K

    (@mycholan)

    Hi, for now use this filter to by pass file validation.

    add_filter( 'wccpf/upload/validate', 'override_file_validation', 99, 3 );
    function override_file_validation( $uploadedfile, $file_types, $mandatory ) {
    	return true;
    }
    Thread Starter NikHardwarePal

    (@nikhardwarepal)

    I tried this but it seems that I do not get the file.

    This is the error log:

    “edited:

    Plugin Author Saravana Kumar K

    (@mycholan)

    Hi, it doesn’t look like plugin issue.

    Are you using managed hosting ( cpanel ).? or un managed ( VPS cloud ).?
    error log contains lot Out Of Memory exceptions. does your server has enough memory.?

    1. Try to allocate more memory for PHP. ( can be configured with php.ini )
    2. Check whether you have proper file permission for your upload directory.

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

The topic ‘File Upload Problem’ is closed to new replies.