Ich habe noch veraltete Nachrichten in der Dev -Protokolldatei erhaltenPhp

PHP-Programmierer chatten hier
Anonymous
 Ich habe noch veraltete Nachrichten in der Dev -Protokolldatei erhalten

Post by Anonymous »

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.>

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post