A simple form, with a longblob image field and a string field.
If you try to modify an existing record the operation fails with the following error:
PHP Fatal error: Uncaught Error: Object of class form_DOC_commesse_formulari_smaltimento_ini could not be converted to string
This happens only in production env. In development env everything seems to go right.
In order to work-around the problem, I have deleted a line in the code generated by scriptcase in the apl.php. The line contains the following instruction:
$_SESSION[âscriptcaseâ][âsc_sql_ult_comandoâ] = âUpdateBlob($this->Ini->nm_tabela, âfile_contentâ, ââ, âID = $this->idâ)â;
Without this instruction the app seems to work fine.
Any suggestion?
TIA