Andrey i had send a message before a few months and the ray team had corrected this by changing the insert "order" in init case like this:
if(!convert($sId))
{
deleteTempFiles($sId);
break;
}
//echo "after convert";
$sAutoApprove = getSettingValue($sModule, "autoApprove");
getResult("INSERT INTO `" . MODULE_DB_PREFIX . "Files`(`CategoryId`, `Title`, `Tags`, `Description`, `Date`, `Owner`, `Approved`) VALUES ('" . $sCategory see more . "', '" . $sTitle . "', '" . $sTags . "', '" . $sDesc . "', '" . time() . "', '" . $sId . "', '" . $sAutoApprove . "')");
$sFileId = getLastInsertId();
...
but this is creating problems during the convertion of the files in directory files... I would appreciate very much any other suggestion.. for me this is a headache, because my members have many difficulties in uploading files (movie, music, profile music, profile video).
if(!convert($sId))
{
deleteTempFiles($sId);
break;
}
//echo "after convert";
$sAutoApprove = getSettingValue($sModule, "autoApprove");
getResult("INSERT INTO `" . MODULE_DB_PREFIX . "Files`(`CategoryId`, `Title`, `Tags`, `Description`, `Date`, `Owner`, `Approved`) VALUES ('" . $sCategory see more