11-08-2010, 02:35 PM
I think I have found the problem. Look in udf_functions.php and find the function called udf_add_file_insert($fileId). In the UPDATE query string change the the SET column reference quote marks to the 'slash' looking quote marks. It is the one that is on the tilde key, below the tilde.
Like this:
Before:
$query = "UPDATE {$GLOBALS['CONFIG']['db_prefix']}data SET '{$row['0']}' = '{$_REQUEST[$row['0']]}' WHERE id = '$fileId'";
After:
$query = "UPDATE {$GLOBALS['CONFIG']['db_prefix']}data SET `{$row['0']}` = '{$_REQUEST[$row['0']]}' WHERE id = '$fileId'";
Cheers.
Like this:
Before:
$query = "UPDATE {$GLOBALS['CONFIG']['db_prefix']}data SET '{$row['0']}' = '{$_REQUEST[$row['0']]}' WHERE id = '$fileId'";
After:
$query = "UPDATE {$GLOBALS['CONFIG']['db_prefix']}data SET `{$row['0']}` = '{$_REQUEST[$row['0']]}' WHERE id = '$fileId'";
Cheers.