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: archive/global.php
Linia: 44 - Kod:
41. }
42.
43. // 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
44. if((DIRECTORY_SEPARATOR == '\\' && stripos($_SERVER['SERVER_SOFTWARE'], 'apache') == false) || stripos(SAPI_NAME, 'cgi') !== false || defined("ARCHIVE_QUERY_STRINGS"))
45. {
46. $url = $_SERVER['QUERY_STRING'];
47. $base_url = $mybb->settings['bburl']."/archive/index.php?";- Fragment kodu:
Plik Linia Funkcja /inc/class_error.php 206 errorHandler->output_error /archive/global.php 44 errorHandler->error /archive/index.php 15 require_once