ErrorException

ini_set(): Session ini settings cannot be changed after headers have already been sent search →

SYSTEMPATH/Session/Session.php at line 286

279      * Handle input binds and configuration defaults.
280      */
281     protected function configure()
282     {
283         if (empty($this->sessionCookieName)) {
284             $this->sessionCookieName ini_get('session.name');
285         } else {
286             ini_set('session.name', $this->sessionCookieName);
287         }
288 
289         $sameSite $this->cookie->getSameSite() ?: ucfirst(Cookie::SAMESITE_LAX);
290 
291         $params = [
292             'lifetime' => $this->sessionExpiration,
293             'path'     => $this->cookie->getPath(),
  1. {PHP internal code}   —  CodeIgniter\Debug\Exceptions->errorHandler ()

  2. SYSTEMPATH/Session/Session.php : 286   —   ini_set()

  3. SYSTEMPATH/Session/Session.php : 224   —  CodeIgniter\Session\Session->configure ()

    217 
    218         if (session_status() === PHP_SESSION_ACTIVE) {
    219             $this->logger->warning('Session: Sessions is enabled, and one exists.Please don\'t $session->start();');
    220 
    221             return;
    222         }
    223 
    224         $this->configure();
    225         $this->setSaveHandler();
    226 
    227         // Sanitize the cookie, because apparently PHP doesn't do that for userspace handlers
    228         if (isset($_COOKIE[$this->sessionCookieName])
    229             && (! is_string($_COOKIE[$this->sessionCookieName]) || ! preg_match('#\A' $this->sidRegexp '\z#'$_COOKIE[$this->sessionCookieName]))
    230         ) {
    231             unset($_COOKIE[$this->sessionCookieName]);
    
  4. SYSTEMPATH/Config/Services.php : 665   —  CodeIgniter\Session\Session->start ()

    658         $driver = new $driverName($configAppServices::request()->getIPAddress());
    659         $driver->setLogger($logger);
    660 
    661         $session = new Session($driver$config);
    662         $session->setLogger($logger);
    663 
    664         if (session_status() === PHP_SESSION_NONE) {
    665             $session->start();
    666         }
    667 
    668         return $session;
    669     }
    670 
    671     /**
    672      * The Throttler class provides a simple method for implementing
    
  5. SYSTEMPATH/Config/BaseService.php : 253   —  CodeIgniter\Config\Services::session ()

    246     {
    247         $service = static::serviceExists($name);
    248 
    249         if ($service === null) {
    250             return null;
    251         }
    252 
    253         return $service::$name(...$arguments);
    254     }
    255 
    256     /**
    257      * Check if the requested service is defined and return the declaring
    258      * class. Return null if not found.
    259      */
    260     public static function serviceExists(string $name): ?string
    
  6. SYSTEMPATH/Config/BaseService.php : 194   —  CodeIgniter\Config\BaseService::__callStatic ()

    187             return static::$mocks[$key];
    188         }
    189 
    190         if (! isset(static::$instances[$key])) {
    191             // Make sure $getShared is false
    192             $params[] = false;
    193 
    194             static::$instances[$key] = AppServices::$key(...$params);
    195         }
    196 
    197         return static::$instances[$key];
    198     }
    199 
    200     /**
    201      * The Autoloader class is the central class that handles our
    
  7. SYSTEMPATH/Config/Services.php : 637   —  CodeIgniter\Config\BaseService::getSharedInstance ()

    630      * Return the session manager.
    631      *
    632      * @return Session
    633      */
    634     public static function session(?App $config nullbool $getShared true)
    635     {
    636         if ($getShared) {
    637             return static::getSharedInstance('session', $config);
    638         }
    639 
    640         $config ??= config('App');
    641         $logger AppServices::logger();
    642 
    643         $driverName $config->sessionDriver;
    644 
    
  8. SYSTEMPATH/Config/BaseService.php : 253   —  CodeIgniter\Config\Services::session ()

    246     {
    247         $service = static::serviceExists($name);
    248 
    249         if ($service === null) {
    250             return null;
    251         }
    252 
    253         return $service::$name(...$arguments);
    254     }
    255 
    256     /**
    257      * Check if the requested service is defined and return the declaring
    258      * class. Return null if not found.
    259      */
    260     public static function serviceExists(string $name): ?string
    
  9. APPPATH/Config/Globals.php : 28   —  CodeIgniter\Config\BaseService::__callStatic ()

    21     public static $langBaseUrl "";
    22     public static $authCheck false;
    23     public static $authUser null;
    24 
    25     public static function setGlobals()
    26     {
    27         self::$db \Config\Database::connect();
    28         $session = \Config\Services::session();
    29         //set themes
    30         self::$themes self::$db->table('themes')->get()->getResult();
    31         //set general settings
    32         self::$generalSettings self::$db->table('general_settings')->where('id'1)->get()->getRow();
    33         //set routes
    34         self::$customRoutes self::$db->table('routes')->get()->getRow();
    35         //set languages
    
  10. APPPATH/Config/Globals.php : 111   —  Config\Globals::setGlobals ()

    104 
    105     public static function updateLangBaseURL($shortForm)
    106     {
    107         self::$langBaseUrl base_url($shortForm);
    108     }
    109 }
    110 
    111 Globals::setGlobals();
    112 
    
  11. include_once SYSTEMPATH/Autoloader/Autoloader.php   —   include_once()

  12. SYSTEMPATH/Autoloader/Autoloader.php : 259   —  CodeIgniter\Autoloader\Autoloader->includeFile ()

    252 
    253         foreach ($this->prefixes as $namespace => $directories) {
    254             foreach ($directories as $directory) {
    255                 $directory rtrim($directory'\\/');
    256 
    257                 if (strpos($class$namespace) === 0) {
    258                     $filePath $directory str_replace('\\'DIRECTORY_SEPARATORsubstr($classstrlen($namespace))) . '.php';
    259                     $filename = $this->includeFile($filePath);
    260 
    261                     if ($filename) {
    262                         return $filename;
    263                     }
    264                 }
    265             }
    266         }
    
  13. SYSTEMPATH/Autoloader/Autoloader.php : 237   —  CodeIgniter\Autoloader\Autoloader->loadInNamespace ()

    230      *                      on failure.
    231      */
    232     public function loadClass(string $class)
    233     {
    234         $class trim($class'\\');
    235         $class str_ireplace('.php'''$class);
    236 
    237         return $this->loadInNamespace($class);
    238     }
    239 
    240     /**
    241      * Loads the class file for a given class name.
    242      *
    243      * @param string $class The fully-qualified class name
    244      *
    
  14. APPPATH/Config/Routes.php : 7   —  CodeIgniter\Autoloader\Autoloader->loadClass ()

     1 <?php
     2 
     3 namespace Config;
     4 
     5 // Create a new instance of our RouteCollection class.
     6 $routes Services::routes();
     7 $languages = Globals::$languages;
     8 $generalSettings Globals::$generalSettings;
     9 $customRoutes Globals::$customRoutes;
    10 
    11 // Load the system's routing file first, so that the app and ENVIRONMENT
    12 // can override as needed.
    13 if (file_exists(SYSTEMPATH 'Config/Routes.php')) {
    14     require SYSTEMPATH 'Config/Routes.php';
    15 }
    
  15. require SYSTEMPATH/CodeIgniter.php   —   require()

  16. SYSTEMPATH/CodeIgniter.php : 430   —  CodeIgniter\CodeIgniter->tryToRouteIt ()

    423      *
    424      * @deprecated $returnResponse is deprecated.
    425      */
    426     protected function handleRequest(?RouteCollectionInterface $routesCache $cacheConfigbool $returnResponse false)
    427     {
    428         $this->returnResponse $returnResponse;
    429 
    430         $routeFilter = $this->tryToRouteIt($routes);
    431 
    432         $uri $this->determinePath();
    433 
    434         // Start up the filters
    435         $filters Services::filters();
    436 
    437         // If any filters were specified within the routes file,
    
  17. SYSTEMPATH/CodeIgniter.php : 351   —  CodeIgniter\CodeIgniter->handleRequest ()

    344 
    345         // spark command has nothing to do with HTTP redirect and 404
    346         if ($this->isSparked()) {
    347             return $this->handleRequest($routes$cacheConfig$returnResponse);
    348         }
    349 
    350         try {
    351             return $this->handleRequest($routes, $cacheConfig, $returnResponse);
    352         } catch (RedirectException $e) {
    353             $logger Services::logger();
    354             $logger->info('REDIRECTED ROUTE at ' $e->getMessage());
    355 
    356             // If the route is a 'redirect' route, it throws
    357             // the exception with the $to as the message
    358             $this->response->redirect(base_url($e->getMessage()), 'auto'$e->getCode());
    
  18. FCPATH/index.php : 80   —  CodeIgniter\CodeIgniter->run ()

    73  *---------------------------------------------------------------
    74  * LAUNCH THE APPLICATION
    75  *---------------------------------------------------------------
    76  * Now that everything is setup, it's time to actually fire
    77  * up the engines and make this app do its thang.
    78  */
    79 
    80 $app->run();
    81 
    

$_SERVER

Key Value
PATH /usr/local/bin:/bin:/usr/bin
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING br,gzip
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_HOST alwatanskynews.com
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_IF_MODIFIED_SINCE Wed, 24 Jul 2024 19:11:23 GMT
DOCUMENT_ROOT /home/skynews/public_html
REMOTE_ADDR 18.97.9.171
REMOTE_PORT 45068
SERVER_ADDR 66.7.221.175
SERVER_NAME alwatanskynews.com
SERVER_ADMIN webmaster@alwatanskynews.com
SERVER_PORT 443
REQUEST_SCHEME https
REQUEST_URI /%D8%A7%D8%AE%D8%A8%D8%A7%D8%B1-%D9%85%D8%AD%D9%84%D9%8A%D8%A9?page=2
REDIRECT_URL /اخبار-محلية
REDIRECT_QUERY_STRING page=2
REDIRECT_REQUEST_METHOD GET
HTTPS on
REDIRECT_STATUS 200
X_SPDY HTTP2
SSL_PROTOCOL TLSv1.3
SSL_CIPHER TLS_AES_256_GCM_SHA384
SSL_CIPHER_USEKEYSIZE 256
SSL_CIPHER_ALGKEYSIZE 256
SCRIPT_FILENAME /home/skynews/public_html/index.php
QUERY_STRING page=2
SCRIPT_URI https://alwatanskynews.com/اخبار-محلية
SCRIPT_URL /اخبار-محلية
SCRIPT_NAME /index.php
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE LiteSpeed
REQUEST_METHOD GET
X-LSCACHE on
PHP_SELF /index.php
REQUEST_TIME_FLOAT
1733980326.0853
REQUEST_TIME
1733980326
CI_ENVIRONMENT development
app.baseURL https://alwatanskynews.com
PURCHASE_CODE
LICENSE_KEY alwatansskynews
cookie.prefix vr

Constants

Key Value
FCPATH /home/skynews/public_html/
APPPATH /home/skynews/public_html/app/
ROOTPATH /home/skynews/public_html/
SYSTEMPATH /home/skynews/public_html/system/
WRITEPATH /home/skynews/public_html/writable/
TESTPATH /
VR_DOMAIN alwatanskynews.com
APP_NAMESPACE App
COMPOSER_PATH /home/skynews/public_html/vendor/autoload.php
SECOND
1
MINUTE
60
HOUR
3600
DAY
86400
WEEK
604800
MONTH
2592000
YEAR
31536000
DECADE
315360000
EXIT_SUCCESS
0
EXIT_ERROR
1
EXIT_CONFIG
3
EXIT_UNKNOWN_FILE
4
EXIT_UNKNOWN_CLASS
5
EXIT_UNKNOWN_METHOD
6
EXIT_USER_INPUT
7
EXIT_DATABASE
8
EXIT__AUTO_MIN
9
EXIT__AUTO_MAX
125
EVENT_PRIORITY_LOW
200
EVENT_PRIORITY_NORMAL
100
EVENT_PRIORITY_HIGH
10
VARIENT_VERSION 2.1.1
IMG_PATH_BG_LG assets/img/img_bg_lg.png
IMG_PATH_BG_MD assets/img/img_bg_md.png
IMG_BASE64_1x1 data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==
IMG_BASE64_283x217 data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARsAAADZAQMAAAAqtAZpAAAAA1BMVEVHcEyC+tLSAAAAAXRSTlMAQObYZgAAAB5JREFUGBntwYEAAAAAw6D7U8/gBNUAAAAAAAAAgC8fXQABZRtuDQAAAABJRU5ErkJggg==
IMG_BASE64_360x215 data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWgAAADXAQMAAAANwFmCAAAAA1BMVEVHcEyC+tLSAAAAAXRSTlMAQObYZgAAACBJREFUGBntwTEBAAAAwiD7p14KP2AAAAAAAAAAAABwESaiAAGA8Fz0AAAAAElFTkSuQmCC
IMG_BASE64_380x226 data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXwAAADiAQMAAAB3Mu4OAAAAA1BMVEVHcEyC+tLSAAAAAXRSTlMAQObYZgAAACBJREFUGBntwQEBAAAAgqD+r3ZIwAAAAAAAAAAAAADgSitCAAFPZQyzAAAAAElFTkSuQmCC
IMG_BASE64_450x280 data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcIAAAEYAQMAAAD1c2RPAAAAA1BMVEUAAACnej3aAAAAAXRSTlMAQObYZgAAACVJREFUaN7twQEBAAAAgqD+r26IwAAAAAAAAAAAAAAAAAAAACDoP3AAASZRMyIAAAAASUVORK5CYII=
IMG_BASE64_600x460 data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAHMAQMAAAAzt0RXAAAAA1BMVEVHcEyC+tLSAAAAAXRSTlMAQObYZgAAADhJREFUGBntwTEBAAAAwiD7p14MH2AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAXYiQAAEBSA5gAAAAAElFTkSuQmCC
IMG_BASE64_750x500 data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAu4AAAH0AQMAAABYdjrpAAAAA1BMVEVHcEyC+tLSAAAAAXRSTlMAQObYZgAAAERJREFUGBntwIEAAAAAwrD8qTM4wTYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAcLmMAAGcrU8TAAAAAElFTkSuQmCC
POST_NUM_LOAD_MORE
12
COMMENT_LIMIT
5
ENVIRONMENT development
SHOW_DEBUG_BACKTRACE
1
CI_DEBUG
1
KINT_DIR /home/skynews/public_html/system/ThirdParty/Kint
KINT_WIN

																	
KINT_PHP70
1
KINT_PHP71
1
KINT_PHP72
1
KINT_PHP73
1
KINT_PHP74
1
KINT_PHP80
1
KINT_PHP81

																	
Path https://alwatanskynews.com/%D8%A7%D8%AE%D8%A8%D8%A7%D8%B1-%D9%85%D8%AD%D9%84%D9%8A%D8%A9?page=2
HTTP Method GET
IP Address 18.97.9.171
Is AJAX Request? no
Is CLI Request? no
Is Secure Request? yes
User Agent CCBot/2.0 (https://commoncrawl.org/faq/)

$_GET

Key Value
page 2

Headers

Header Value
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding br,gzip
Accept-Language en-US,en;q=0.5
Host alwatanskynews.com
User-Agent CCBot/2.0 (https://commoncrawl.org/faq/)
If-Modified-Since Wed, 24 Jul 2024 19:11:23 GMT
Response Status 200 - OK

Headers

Header Value
Cache-control no-store, max-age=0, no-cache
Content-Type text/html; charset=UTF-8
  1. FCPATH/index.php
  2. APPPATH/Config/Paths.php
  3. SYSTEMPATH/bootstrap.php
  4. APPPATH/ThirdParty/domain-parser/autoload.php
  5. APPPATH/ThirdParty/domain-parser/composer/autoload_real.php
  6. APPPATH/ThirdParty/domain-parser/composer/ClassLoader.php
  7. APPPATH/ThirdParty/domain-parser/composer/autoload_static.php
  8. APPPATH/ThirdParty/domain-parser/symfony/polyfill-mbstring/bootstrap.php
  9. APPPATH/ThirdParty/domain-parser/layershifter/tld-extract/src/static.php
  10. APPPATH/ThirdParty/domain-parser/layershifter/tld-extract/src/Extract.php
  11. APPPATH/ThirdParty/domain-parser/layershifter/tld-extract/src/IDN.php
  12. APPPATH/ThirdParty/domain-parser/true/punycode/src/Punycode.php
  13. APPPATH/ThirdParty/domain-parser/layershifter/tld-database/src/Store.php
  14. APPPATH/ThirdParty/domain-parser/layershifter/tld-database/resources/database.php
  15. APPPATH/ThirdParty/domain-parser/layershifter/tld-support/src/Helpers/Str.php
  16. APPPATH/ThirdParty/domain-parser/layershifter/tld-support/src/Helpers/Arr.php
  17. APPPATH/ThirdParty/domain-parser/layershifter/tld-support/src/Helpers/IP.php
  18. APPPATH/ThirdParty/domain-parser/layershifter/tld-extract/src/Result.php
  19. APPPATH/ThirdParty/domain-parser/layershifter/tld-extract/src/ResultInterface.php
  20. APPPATH/Config/Constants.php
  21. APPPATH/Common.php
  22. SYSTEMPATH/Common.php
  23. SYSTEMPATH/Config/AutoloadConfig.php
  24. APPPATH/Config/Autoload.php
  25. SYSTEMPATH/Modules/Modules.php
  26. APPPATH/Config/Modules.php
  27. SYSTEMPATH/Autoloader/Autoloader.php
  28. SYSTEMPATH/Config/BaseService.php
  29. SYSTEMPATH/Config/Services.php
  30. APPPATH/Config/Services.php
  31. SYSTEMPATH/Autoloader/FileLocator.php
  32. SYSTEMPATH/Helpers/url_helper.php
  33. SYSTEMPATH/Config/DotEnv.php
  34. SYSTEMPATH/Config/Factories.php
  35. SYSTEMPATH/Config/Factory.php
  36. SYSTEMPATH/Config/BaseConfig.php
  37. APPPATH/Config/App.php
  38. SYSTEMPATH/CodeIgniter.php
  39. APPPATH/Config/Boot/development.php
  40. APPPATH/Config/Exceptions.php
  41. SYSTEMPATH/HTTP/IncomingRequest.php
  42. SYSTEMPATH/HTTP/Request.php
  43. SYSTEMPATH/HTTP/Message.php
  44. SYSTEMPATH/HTTP/MessageInterface.php
  45. SYSTEMPATH/HTTP/MessageTrait.php
  46. SYSTEMPATH/HTTP/RequestInterface.php
  47. SYSTEMPATH/HTTP/RequestTrait.php
  48. SYSTEMPATH/HTTP/URI.php
  49. SYSTEMPATH/HTTP/UserAgent.php
  50. APPPATH/Config/UserAgents.php
  51. SYSTEMPATH/HTTP/Header.php
  52. SYSTEMPATH/HTTP/Response.php
  53. SYSTEMPATH/HTTP/ResponseInterface.php
  54. SYSTEMPATH/HTTP/ResponseTrait.php
  55. SYSTEMPATH/Cookie/Cookie.php
  56. SYSTEMPATH/Cookie/CloneableCookieInterface.php
  57. SYSTEMPATH/Cookie/CookieInterface.php
  58. APPPATH/Config/ContentSecurityPolicy.php
  59. SYSTEMPATH/HTTP/ContentSecurityPolicy.php
  60. SYSTEMPATH/Cookie/CookieStore.php
  61. APPPATH/Config/Cookie.php
  62. SYSTEMPATH/Debug/Exceptions.php
  63. SYSTEMPATH/API/ResponseTrait.php
  64. SYSTEMPATH/ThirdParty/Kint/init.php
  65. SYSTEMPATH/ThirdParty/Kint/Kint.php
  66. SYSTEMPATH/ThirdParty/Kint/Utils.php
  67. SYSTEMPATH/ThirdParty/Kint/init_helpers.php
  68. APPPATH/Config/Kint.php
  69. SYSTEMPATH/ThirdParty/Kint/Renderer/Renderer.php
  70. SYSTEMPATH/ThirdParty/Kint/Renderer/RichRenderer.php
  71. SYSTEMPATH/ThirdParty/Kint/Renderer/CliRenderer.php
  72. SYSTEMPATH/ThirdParty/Kint/Renderer/TextRenderer.php
  73. APPPATH/Config/Database.php
  74. SYSTEMPATH/Database/Config.php
  75. SYSTEMPATH/Debug/Timer.php
  76. SYSTEMPATH/Events/Events.php
  77. APPPATH/Config/Events.php
  78. APPPATH/Config/Toolbar.php
  79. SYSTEMPATH/Debug/Toolbar.php
  80. SYSTEMPATH/Debug/Toolbar/Collectors/Timers.php
  81. SYSTEMPATH/Debug/Toolbar/Collectors/BaseCollector.php
  82. SYSTEMPATH/Debug/Toolbar/Collectors/Database.php
  83. SYSTEMPATH/Debug/Toolbar/Collectors/Logs.php
  84. SYSTEMPATH/Debug/Toolbar/Collectors/Views.php
  85. APPPATH/Config/View.php
  86. SYSTEMPATH/Config/View.php
  87. SYSTEMPATH/View/View.php
  88. SYSTEMPATH/View/RendererInterface.php
  89. SYSTEMPATH/View/ViewDecoratorTrait.php
  90. SYSTEMPATH/Log/Logger.php
  91. SYSTEMPATH/ThirdParty/PSR/Log/LoggerInterface.php
  92. APPPATH/Config/Logger.php
  93. SYSTEMPATH/Debug/Toolbar/Collectors/Files.php
  94. SYSTEMPATH/Debug/Toolbar/Collectors/Routes.php
  95. SYSTEMPATH/Debug/Toolbar/Collectors/Events.php
  96. APPPATH/Config/Cache.php
  97. SYSTEMPATH/Cache/CacheFactory.php
  98. SYSTEMPATH/Cache/Handlers/FileHandler.php
  99. SYSTEMPATH/Cache/Handlers/BaseHandler.php
  100. SYSTEMPATH/Cache/CacheInterface.php
  101. APPPATH/Config/Routes.php
  102. SYSTEMPATH/Router/RouteCollection.php
  103. SYSTEMPATH/Router/RouteCollectionInterface.php
  104. APPPATH/Config/Globals.php
  105. SYSTEMPATH/Database/Database.php
  106. SYSTEMPATH/Database/MySQLi/Connection.php
  107. SYSTEMPATH/Database/BaseConnection.php
  108. SYSTEMPATH/Database/ConnectionInterface.php
  109. SYSTEMPATH/Session/Handlers/Database/MySQLiHandler.php
  110. SYSTEMPATH/Session/Handlers/DatabaseHandler.php
  111. SYSTEMPATH/Session/Handlers/BaseHandler.php
  112. SYSTEMPATH/ThirdParty/PSR/Log/LoggerAwareTrait.php
  113. SYSTEMPATH/Validation/FormatRules.php
  114. SYSTEMPATH/Session/Session.php
  115. SYSTEMPATH/Session/SessionInterface.php
  116. SYSTEMPATH/Helpers/array_helper.php
  117. SYSTEMPATH/Log/Handlers/FileHandler.php
  118. SYSTEMPATH/Log/Handlers/BaseHandler.php
  119. SYSTEMPATH/Log/Handlers/HandlerInterface.php
  120. APPPATH/Views/errors/html/error_exception.php
  121. SYSTEMPATH/ThirdParty/Escaper/Escaper.php
Memory Usage 8MB
Peak Memory Usage: 8MB
Memory Limit: 128M