Ich habe noch veraltete Nachrichten in der Dev -Protokolldatei erhalten

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Ich habe noch veraltete Nachrichten in der Dev -Protokolldatei erhalten

by Anonymous » 13 Apr 2025, 12:08

Prestashop 8.2 < /li>
PHP 8.3 < /li>
< /ul>
In meinen defines.inc.php < /code> Ich habe: < /p>
">"> ">"> ">"> ">"> ">"> ">

Code: Select all

define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false);

/* Compatibility warning */
if (!defined('_PS_DISPLAY_COMPATIBILITY_WARNING_')) {
define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false);
}
if (_PS_MODE_DEV_ === true) {
$errorReportingLevel = E_ALL | E_STRICT;
// if (_PS_DISPLAY_COMPATIBILITY_WARNING_ === false) {
$errorReportingLevel = $errorReportingLevel & ~E_DEPRECATED & ~E_USER_DEPRECATED;
//  }
@ini_set('display_errors', 'on');
@error_reporting($errorReportingLevel);
define('_PS_DEBUG_SQL_', true);

@error_reporting(E_ERROR | E_WARNING | E_PARSE);

} else {
@ini_set('display_errors', 'off');
define('_PS_DEBUG_SQL_', false);
}
, aber ich erhalte immer noch viele veraltete Nachrichten in der VAR/Protokolls Dev-Datei
Dann die __Construct -Methode meines Moduls Ich fügte hinzu:
">"> ">"> ">"> ">"> ">

Code: Select all

error_log('[NICO] error_reporting = ' . error_reporting());
< /code>
Dann habe ich in meinem Apache -Protokoll: < /p>
[NICO] error_reporting = -1,
, was bedeutet, dass die iRR -_REPORTING in defines.inc.php nicht definiert ist.>

Top