Notifications
Retirer tout
Ask questions
3
Posts
2
Utilisateurs
0
Reactions
2,188
Vu
Début du sujet
After upgrade to V9.2.2 while creating ticket by specific user ('abc') an error occurs:
This writes to the log:
2021-08-30 14:36:58.351 ===== TRACE ===== NEW CONNECTED USER 'abc' (using remember me feature) 2021-08-30 14:38:13.745 ** ERROR ** [V9.2.2] ERROR ** 2021-08-30 14:38:13.745 ** ERROR ** [V9.2.2] on file '/var/www/html/projeqtor/tool/html.php' at line (2432) 2021-08-30 14:38:13.745 ** ERROR ** [V9.2.2] cause = Undefined variable: title 2021-08-30 14:38:34.452 ===== TRACE ===== sendMailIfMailable : Mails without dest 2021-08-30 14:39:22.652 ** ERROR ** [V9.2.2] ERROR ** 2021-08-30 14:39:22.652 ** ERROR ** [V9.2.2] on file '/var/www/html/projeqtor/tool/html.php' at line (2432) 2021-08-30 14:39:22.652 ** ERROR ** [V9.2.2] cause = Undefined variable: title 2021-08-30 14:39:23.106 ** ERROR ** [V9.2.2] ERROR ** 2021-08-30 14:39:23.106 ** ERROR ** [V9.2.2] on file '/var/www/html/projeqtor/tool/html.php' at line (2432) 2021-08-30 14:39:23.106 ** ERROR ** [V9.2.2] cause = Undefined variable: title 2021-08-30 14:39:23.107 ** ERROR ** [V9.2.2] Undefined variable: title in html.php at line 2432 2021-08-30 14:39:23.107 ** ERROR ** [V9.2.2] Error while executing CRON script : fix the source issue and manually restart the CRON Process 2021-08-30 14:39:23.109 ** ERROR ** [V9.2.2] ERROR ** 2021-08-30 14:39:23.109 ** ERROR ** [V9.2.2] on file '/var/www/html/projeqtor/tool/html.php' at line (2432) 2021-08-30 14:39:23.109 ** ERROR ** [V9.2.2] cause = Undefined variable: title 2021-08-30 14:39:23.109 ** ERROR ** [V9.2.2] Undefined variable: title in html.php at line 2432 2021-08-30 14:39:23.109 ** ERROR ** [V9.2.2] Error while executing CRON script : fix the source issue and manually restart the CRON Process
Please tell me what is the possible reason and how to fix the error?
Posté : 30 Août PM 14:088
Just add 1 line before line 2433 in projeqtor/tool/html.php, from
function ($matches) {
return '<img onClick="showImage('Note',''.$matches[1].'',''.basename($matches[1]).'');" src="'.$matches[1].'" style="cursor:pointer;" '.$title;
},
to
function ($matches) {
$title='title="'.i18n("msgClickToEnlarge").'"';
return '<img onClick="showImage('Note',''.$matches[1].'',''.basename($matches[1]).'');" src="'.$matches[1].'" style="cursor:pointer;" '.$title;
},
Posté : 1 Sep AM 10:099
Début du sujet
Thank you for response
Posté : 1 Sep PM 12:099
