Wewnętrzny błąd MyBB
MyBB napotkało błąd wewnętrzny i nie może kontynuować.
- Typ błędu:
- Ostrzeżenie (2)
- Treść błędu:
- Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP)
- Lokalizacja:
- Plik: inc/functions.php
Linia: 3340 - Kod:
3337. global $mybb;
3338.
3339. // If the server OS is not Windows and not Apache or the PHP is running as a CGI or we have defined ARCHIVE_QUERY_STRINGS, use query strings - DIRECTORY_SEPARATOR checks if running windows
3340. if((DIRECTORY_SEPARATOR == '\\' && is_numeric(stripos($_SERVER['SERVER_SOFTWARE'], "apache")) == false) || is_numeric(stripos(SAPI_NAME, "cgi")) !== false || defined("ARCHIVE_QUERY_STRINGS"))
3341. {
3342. $base_url = $mybb->settings['bburl']."/archive/index.php?";
3343. }- Fragment kodu:
Plik Linia Funkcja /inc/class_error.php 206 errorHandler->output_error /inc/functions.php 3340 errorHandler->error /showthread.php 114 build_archive_link