I have a new installation of 7.1.2-max on a WAMP system. WHen I click on “Document” I have the following errors:
Notice: Undefined property: Document::$file_ext in C:\wamp\www\suitecrm-7.1.2-max\include\SugarObjects\templates\file\File.php on line 81
Notice: Undefined property: Document::$file_ext in C:\wamp\www\suitecrm-7.1.2-max\include\SugarObjects\templates\file\File.php on line 82
Notice: Undefined property: Document::$file_ext in C:\wamp\www\suitecrm-7.1.2-max\include\SugarObjects\templates\file\File.php on line 83
Try putting one of these at the start of your index.php file
<?php
// Report simple running errors
error_reporting(E_ERROR | E_WARNING | E_PARSE);
// Reporting E_NOTICE can be good too (to report uninitialized
// variables or catch variable name misspellings ...)
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
// Report all errors except E_NOTICE
// This is the default value set in php.ini
error_reporting(E_ALL ^ E_NOTICE);
// Report all PHP errors (see changelog)
error_reporting(E_ALL);
// Report all PHP errors
error_reporting(-1);
// Same as error_reporting(E_ALL);
ini_set('error_reporting', E_ALL);
?>
Or to turn off all errors
<?php
// Turn off all error reporting
error_reporting(0);
?>
I have the same issue with that, but in my index.php I placed the code that you gave us and the report does not come out. — Very well!
Buuuut my issue is not that report, my issue is that the Documents is not save in the page (SuiteCRM), when I try find the file (or document that I uploaded) this file is not displayed or uploaded.