Projekt

Allgemein

Profil

Aktionen

GX-Bug #68501

geschlossen

Warning 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

Von Moritz Bunjes vor etwa 3 Jahren hinzugefügt. Vor mehr als 2 Jahren aktualisiert.

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:

  1. set the value of $expectedHtaccessVersion in the file version_info/htaccessVersion.php to a higher value
  2. open the Gambio Admin: a message appears, that the .htaccess file is not up to date
  3. 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

Auch abrufbar als: Atom PDF