Busca el siguiente código:
Código PHP:
Ver original// Append number values on the end of the file name
// if the file already exists
while(file_exists(CC_FB_UPLOADS_DIRECTORY
. "/$basename" . CC_FB_UPLOADS_EXTENSION . "$i$extension"))
{
$i++;
}
// Reemplázalo con esto:
// Eliminar archivo si ya existe
$i = ''; // Esto es necesario para evitar errores o advertencias
$file = CC_FB_UPLOADS_DIRECTORY . "/$basename" . CC_FB_UPLOADS_EXTENSION . $extension;
}