Here is what i get whenever attaching a large file "No forum specified. If you followed a valid link, please notify the webmaster"
my my.cnf configuration
set-variables = max_allowed_packet=2400000M
my php.ini
; Maximum allowed size for uploaded files.
upload_max_filesize = 2000000000M
i also did
In functions.php, replace this:
code:-------------------------------------------------------------------------------- if ($maxattachsize!=0 and $filesize>$maxattachsize) {
// too big!
eval("standarderror(\"".gettemplate("error_attacht oobig")."\");");
exit;
}
if ($filesize!=$attachment_size) {--------------------------------------------------------------------------------
with this:
code:-------------------------------------------------------------------------------- if ($maxattachsize!=0 and $filesize>$maxattachsize and $bbuserinfo[usergroupid]!=6) {
// too big!
eval("standarderror(\"".gettemplate("error_attacht oobig")."\");");
exit;
}
if ($filesize!=$attachment_size and $bbuserinfo[usergroupid]!=6) {--------------------------------------------------------------------------------
can someone help please???
Thanks in advance
|