Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Hey, Upload size limit issues please help!

OK i fixed the error myself by removing these lines from sub-upload-http.php , but also effectively getting rid of the size cap altogether.

if ( $_FILES > BP_AVATAR_ORIGINAL_MAX_FILESIZE ) {
$feedback_message[] = sprintf( __( ‘The file you uploaded is too big. Please upload a file under %s’, ‘buddypress’), size_format(CORE_MAX_FILE_SIZE) );
$error_flag = true;
}

can upload every file now! Should I just replace BP_AVATAR_ORIGINAL_MAX_FILESIZE with a integer filesize within the PHP file instead? And If so how?

Also, when the plugin updates, I’d have to re-edit this file , correct?

Skip to toolbar