Aktionen
GX-Bug #68501
geschlossenWarning message in Gambio Admin about old .htaccess file creates notice message in error log | Warnmeldung im Gambio Admin zu alter .htaccess-Datei erzeugt Hinweis-Meldung im Log
Status:
Erledigt
Priorität:
Normal
Zugewiesen an:
Ahmed Hamouda
Kategorie:
Adminbereich
Zielversion:
% erledigt:
0%
Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.4.0.0
Release Notes Langtext:
Warnmeldung im Gambio Admin zu alter .htaccess-Datei erzeugt keine Hinweis-Meldung mehr im error-Log
Beschreibung
Steps to reproduce:
- set the value of $expectedHtaccessVersion in the file version_info/htaccessVersion.php to a higher value
- open the Gambio Admin: a message appears, that the .htaccess file is not up to date
- open Gambio Admin > Toolbox > Show logs
Expected result:
No log entry in the error log.
Actual result:
A log entry can be found:
WARNING: Use of undefined constant TEXT_HTACCESS_VERSION_WARNING - assumed 'TEXT_HTACCESS_VERSION_WARNING' (this will throw an Error in a future version of PHP) context: message: Use of undefined constant TEXT_HTACCESS_VERSION_WARNING - assumed 'TEXT_HTACCESS_VERSION_WARNING' (this will throw an Error in a future version of PHP) code: 2 file: /var/www/tt/stable/system/classes/security/SecurityCheck.inc.php line: 223 context: ... extra:
Aktionen