You are not logged in.
Users can not attach file in follow-up (rich text)
In Debug mod show me
PHP Notice: Undefined index: dropZone in /var/www/html/glpi/inc/html.class.php at line 4749
PHP Notice: Undefined index: showfilesize in /var/www/html/glpi/inc/html.class.php at line 4754
Code:
//display file controls
//$display .= __('Attach file by drag & drop or copy & paste in editor or ').
//"<p><a href='' id='upload_link$rand'>".__('selecting them')."</a>".
//"<input id='upload_rich_text$rand' class='upload_rich_text' type='file' />";
$display .= "<div id='{$p['dropZone']}'>";
$display .= "<span class='b'>".__('Drag and drop your file here, or').'</span><br>';
$display .= "<input id='fileupload{$p['rand']}' type='file' name='".$p['name']."[]'
data-url='".$CFG_GLPI["root_doc"]."/ajax/fileupload.php'
data-form-data='{\"name\": \"".$p['name']."\",
\"showfilesize\": \"".$p['showfilesize']."\"}'".($p['multiple']?" multiple='multiple'":"").">";
$display .= "<div id='progress{$p['rand']}' style='display:none'>".
"<div class='uploadbar' style='width: 0%;'></div></div>";
$display .= "</div>";
$display .= "</div>"; //fim
Offline
PHP notice is not an error.
Thjis part of code change in 9.2.2. So update your version to correct your issue
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
Thanks! I will update!
Offline