Missing opcode cache throws warning (instead of notice) and triggers mail
If you run TYPO3 on a system without opcode cache (as in many shared hosting environments, e.g. Mittwald), the install tool registers this and shows a warning.
I'd say while APC is certainly a very good addon and everyone should try to use it with TYPO3 because of performance, sadly not everyone can use it. The system runs fine without. Nothing to really "warn" about.
Also, if you have a cronjob running each night, triggering the scheduler running a "report" task, you will get a mail with (by the way 2) failed tests/warnings each night.
It is only a tiny change neccesary:
$status = new WarningStatus();
$status = new NoticeStatus();
[BUGFIX] Change notification level for missing opcode cache
Now the notification level is set to notice instead of warning.
Therefore no email notification will be send if the user has not
set his cache or his cache has only medium performance
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
#2 Updated by Alexander Opitz over 5 years ago
- Complexity deleted (
I would like to discuss this issue here, as #55252 addresses a very different problem.
At first I'd like to know, what is the difference between error and warning, beside the fact that they have different colors in the install and report tool.
So I have 3 solutions in my mind:
1) Only report Error in the mail (to get a difference in handling for error/warning).
2) Add functionality to acknowledge Errors/Warnings, so they don't get mailed every time (and maybe show them in another style in install/report).
3) Change opcode cache check from Warning to Notice, but get more attention on notices in installer.
1) and 3) would be easy but 2) would be perfect also for other errors/warnings.
Any more solutions around?