-
SYSTEMPATH/Database/BaseConnection.php : 646 — CodeIgniter\Database\BaseConnection->initialize ()
639 * 640 * @return BaseResult|Query|false 641 */ 642 public function query(string $sql, $binds = null, bool $setEscapeFlags = true, string $queryClass = 'CodeIgniter\\Database\\Query') 643 { 644 if (empty($this->connID)) 645 { 646 $this->initialize(); 647 } 648 649 $resultClass = str_replace('Connection', 'Result', get_class($this)); 650 /** 651 * @var Query $query 652 */ 653 $query = new $queryClass($this);
-
SYSTEMPATH/Database/BaseBuilder.php : 1860 — CodeIgniter\Database\BaseConnection->query ( arguments )
$sql
SELECT * FROM `configuracao` WHERE `configuracao`.`id` = :configuracao.id:
$binds
Array ( [configuracao.id] => Array ( [0] => 1 [1] => 1 ) )
$setEscapeFlags
1853 if (! is_null($limit)) 1854 { 1855 $this->limit($limit, $offset); 1856 } 1857 1858 $result = $this->testMode 1859 ? $this->getCompiledSelect($reset) 1860 : $this->db->query($this->compileSelect(), $this->binds, false); 1861 1862 if ($reset === true) 1863 { 1864 $this->resetSelect(); 1865 1866 // Clear our binds so we don't eat up memory 1867 $this->binds = [];
-
SYSTEMPATH/Model.php : 398 — CodeIgniter\Database\BaseBuilder->get ()
391 $row = $builder->whereIn($this->table . '.' . $this->primaryKey, $id) 392 ->get(); 393 $row = $row->getResult($this->tempReturnType); 394 } 395 elseif (is_numeric($id) || is_string($id)) 396 { 397 $row = $builder->where($this->table . '.' . $this->primaryKey, $id) 398 ->get(); 399 400 $row = $row->getFirstRow($this->tempReturnType); 401 } 402 else 403 { 404 $row = $builder->get(); 405
-
APPPATH/Models/ConfiguracaoModel.php : 16 — CodeIgniter\Model->find ( arguments )
$id
1
9 protected $primaryKey = 'id'; 10 11 protected $returnType = 'object'; 12 13 public static function getDefault() 14 { 15 $config = new \App\Models\ConfiguracaoModel; 16 $config = $config->find(1); 17 return $config; 18 } 19 20 public static function GetSeoConfig() 21 { 22 $config = new ConfiguracaoModel(); 23 $config = $config->find(1);
-
APPPATH/Controllers/BaseController.php : 52 — app\Models\ConfiguracaoModel::getDefault ()
45 // Preload any models, libraries, etc, here. 46 //-------------------------------------------------------------------- 47 // E.g.: 48 $this->session = \Config\Services::session(); 49 50 if (!$this->session->has('config')) 51 { 52 $this->config = ConfiguracaoModel::getDefault(); 53 $this->session->set('config', $this->config); 54 } 55 56 57 $this->config = $this->session->get('config'); 58 59 define('SITE_TITULO', $this->config->titulo);
-
SYSTEMPATH/CodeIgniter.php : 891 — App\Controllers\BaseController->initController ( arguments )
$request
CodeIgniter\HTTP\IncomingRequest Object ( [enableCSRF:protected] => [uri] => CodeIgniter\HTTP\URI Object ( [uriString:protected] => [segments:protected] => Array ( [0] => produtos [1] => pendente-viva-bella-ilumina%C3%A7ao-sq006 ) [scheme:protected] => https [user:protected] => [password:protected] => [host:protected] => foccoiluminacaoms.com.br [port:protected] => [path:protected] => produtos/pendente-viva-bella-ilumina%C3%A7ao-sq006 [fragment:protected] => [query:protected] => Array ( ) [defaultPorts:protected] => Array ( [http] => 80 [https] => 443 [ftp] => 21 [sftp] => 22 ) [showPassword:protected] => [silent:protected] => ) [files:protected] => [negotiator:protected] => [defaultLocale:protected] => pt-BR [locale:protected] => pt-BR [validLocales:protected] => Array ( [0] => en [1] => pt-BR ) [config] => Config\App Object ( [baseURL] => https://foccoiluminacaoms.com.br/ [indexPage] => [uriProtocol] => REQUEST_URI [defaultLocale] => pt-BR [negotiateLocale] => [supportedLocales] => Array ( [0] => en [1] => pt-BR ) [appTimezone] => America/Campo_Grande [charset] => UTF-8 [forceGlobalSecureRequests] => [sessionDriver] => CodeIgniter\Session\Handlers\FileHandler [sessionCookieName] => ci_session [sessionExpiration] => 7200 [sessionSavePath] => /var/www/html/foccoiluminacaoms.com.br/site/writable/session [sessionMatchIP] => [sessionTimeToUpdate] => 300 [sessionRegenerateDestroy] => [cookiePrefix] => [cookieDomain] => [cookiePath] => / [cookieSecure] => [cookieHTTPOnly] => [proxyIPs] => [CSRFTokenName] => csrf_test_name [CSRFHeaderName] => X-CSRF-TOKEN [CSRFCookieName] => csrf_cookie_name [CSRFExpire] => 7200 [CSRFRegenerate] => 1 [CSRFRedirect] => 1 [CSPEnabled] => ) [oldInput:protected] => Array ( ) [userAgent:protected] => CodeIgniter\HTTP\UserAgent Object ( [agent:protected] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) [isBrowser:protected] => 1 [isRobot:protected] => [isMobile:protected] => [config:protected] => Config\UserAgents Object ( [platforms] => Array ( [windows nt 10.0] => Windows 10 [windows nt 6.3] => Windows 8.1 [windows nt 6.2] => Windows 8 [windows nt 6.1] => Windows 7 [windows nt 6.0] => Windows Vista [windows nt 5.2] => Windows 2003 [windows nt 5.1] => Windows XP [windows nt 5.0] => Windows 2000 [windows nt 4.0] => Windows NT 4.0 [winnt4.0] => Windows NT 4.0 [winnt 4.0] => Windows NT [winnt] => Windows NT [windows 98] => Windows 98 [win98] => Windows 98 [windows 95] => Windows 95 [win95] => Windows 95 [windows phone] => Windows Phone [windows] => Unknown Windows OS [android] => Android [blackberry] => BlackBerry [iphone] => iOS [ipad] => iOS [ipod] => iOS [os x] => Mac OS X [ppc mac] => Power PC Mac [freebsd] => FreeBSD [ppc] => Macintosh [linux] => Linux [debian] => Debian [sunos] => Sun Solaris [beos] => BeOS [apachebench] => ApacheBench [aix] => AIX [irix] => Irix [osf] => DEC OSF [hp-ux] => HP-UX [netbsd] => NetBSD [bsdi] => BSDi [openbsd] => OpenBSD [gnu] => GNU/Linux [unix] => Unknown Unix OS [symbian] => Symbian OS ) [browsers] => Array ( [OPR] => Opera [Flock] => Flock [Edge] => Spartan [Chrome] => Chrome [Opera.*?Version] => Opera [Opera] => Opera [MSIE] => Internet Explorer [Internet Explorer] => Internet Explorer [Trident.* rv] => Internet Explorer [Shiira] => Shiira [Firefox] => Firefox [Chimera] => Chimera [Phoenix] => Phoenix [Firebird] => Firebird [Camino] => Camino [Netscape] => Netscape [OmniWeb] => OmniWeb [Safari] => Safari [Mozilla] => Mozilla [Konqueror] => Konqueror [icab] => iCab [Lynx] => Lynx [Links] => Links [hotjava] => HotJava [amaya] => Amaya [IBrowse] => IBrowse [Maxthon] => Maxthon [Ubuntu] => Ubuntu Web Browser [Vivaldi] => Vivaldi ) [mobiles] => Array ( [mobileexplorer] => Mobile Explorer [palmsource] => Palm [palmscape] => Palmscape [motorola] => Motorola [nokia] => Nokia [palm] => Palm [iphone] => Apple iPhone [ipad] => iPad [ipod] => Apple iPod Touch [sony] => Sony Ericsson [ericsson] => Sony Ericsson [blackberry] => BlackBerry [cocoon] => O2 Cocoon [blazer] => Treo [lg] => LG [amoi] => Amoi [xda] => XDA [mda] => MDA [vario] => Vario [htc] => HTC [samsung] => Samsung [sharp] => Sharp [sie-] => Siemens [alcatel] => Alcatel [benq] => BenQ [ipaq] => HP iPaq [mot-] => Motorola [playstation portable] => PlayStation Portable [playstation 3] => PlayStation 3 [playstation vita] => PlayStation Vita [hiptop] => Danger Hiptop [nec-] => NEC [panasonic] => Panasonic [philips] => Philips [sagem] => Sagem [sanyo] => Sanyo [spv] => SPV [zte] => ZTE [sendo] => Sendo [nintendo dsi] => Nintendo DSi [nintendo ds] => Nintendo DS [nintendo 3ds] => Nintendo 3DS [wii] => Nintendo Wii [open web] => Open Web [openweb] => OpenWeb [android] => Android [symbian] => Symbian [SymbianOS] => SymbianOS [elaine] => Palm [series60] => Symbian S60 [windows ce] => Windows CE [obigo] => Obigo [netfront] => Netfront Browser [openwave] => Openwave Browser [mobilexplorer] => Mobile Explorer [operamini] => Opera Mini [opera mini] => Opera Mini [opera mobi] => Opera Mobile [fennec] => Firefox Mobile [digital paths] => Digital Paths [avantgo] => AvantGo [xiino] => Xiino [novarra] => Novarra Transcoder [vodafone] => Vodafone [docomo] => NTT DoCoMo [o2] => O2 [mobile] => Generic Mobile [wireless] => Generic Mobile [j2me] => Generic Mobile [midp] => Generic Mobile [cldc] => Generic Mobile [up.link] => Generic Mobile [up.browser] => Generic Mobile [smartphone] => Generic Mobile [cellphone] => Generic Mobile ) [robots] => Array ( [googlebot] => Googlebot [msnbot] => MSNBot [baiduspider] => Baiduspider [bingbot] => Bing [slurp] => Inktomi Slurp [yahoo] => Yahoo [ask jeeves] => Ask Jeeves [fastcrawler] => FastCrawler [infoseek] => InfoSeek Robot 1.0 [lycos] => Lycos [yandex] => YandexBot [mediapartners-google] => MediaPartners Google [CRAZYWEBCRAWLER] => Crazy Webcrawler [adsbot-google] => AdsBot Google [feedfetcher-google] => Feedfetcher Google [curious george] => Curious George [ia_archiver] => Alexa Crawler [MJ12bot] => Majestic-12 [Uptimebot] => Uptimebot ) ) [platform:protected] => Unknown Platform [browser:protected] => Mozilla [version:protected] => 5.0 [mobile:protected] => [robot:protected] => [referrer:protected] => ) [ipAddress:protected] => 3.141.14.210 [proxyIPs:protected] => [method:protected] => GET [globals:protected] => Array ( [server] => Array ( [REDIRECT_SCRIPT_URL] => /produtos/pendente-viva-bella-iluminaçao-sq006 [REDIRECT_SCRIPT_URI] => http://foccoiluminacaoms.com.br/produtos/pendente-viva-bella-iluminaçao-sq006 [REDIRECT_STATUS] => 200 [SCRIPT_URL] => /produtos/pendente-viva-bella-iluminaçao-sq006 [SCRIPT_URI] => http://foccoiluminacaoms.com.br/produtos/pendente-viva-bella-iluminaçao-sq006 [HTTP_CONNECTION] => upgrade [HTTP_HOST] => foccoiluminacaoms.com.br [HTTP_X_REAL_IP] => 10.129.12.154 [HTTP_X_FORWARDED_PROTO] => https [HTTP_PRAGMA] => no-cache [HTTP_CACHE_CONTROL] => no-cache [HTTP_SEC_CH_UA] => "HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129" [HTTP_SEC_CH_UA_MOBILE] => ?0 [HTTP_SEC_CH_UA_PLATFORM] => "Windows" [HTTP_UPGRADE_INSECURE_REQUESTS] => 1 [HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7 [HTTP_SEC_FETCH_SITE] => none [HTTP_SEC_FETCH_MODE] => navigate [HTTP_SEC_FETCH_USER] => ?1 [HTTP_SEC_FETCH_DEST] => document [HTTP_ACCEPT_ENCODING] => gzip, deflate, br, zstd [HTTP_X_REALHOST] => foccoiluminacaoms.com.br [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [SERVER_SIGNATURE] => [SERVER_SOFTWARE] => Apache [SERVER_NAME] => foccoiluminacaoms.com.br [SERVER_ADDR] => 10.1.222.5 [SERVER_PORT] => 80 [REMOTE_ADDR] => 3.141.14.210 [DOCUMENT_ROOT] => /var/www/html/foccoiluminacaoms.com.br/web [REQUEST_SCHEME] => http [CONTEXT_PREFIX] => [CONTEXT_DOCUMENT_ROOT] => / [SERVER_ADMIN] => webmaster@localhost [SCRIPT_FILENAME] => /var/www/html/foccoiluminacaoms.com.br/web/index.php [REMOTE_PORT] => 64084 [REDIRECT_URL] => /produtos/pendente-viva-bella-iluminaçao-sq006 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => GET [QUERY_STRING] => [REQUEST_URI] => /produtos/pendente-viva-bella-ilumina%C3%A7ao-sq006 [SCRIPT_NAME] => /var/www/html/foccoiluminacaoms.com.br/web/index.php [PATH_INFO] => /produtos/pendente-viva-bella-iluminaçao-sq006 [PATH_TRANSLATED] => redirect:/var/www/html/foccoiluminacaoms.com.br/web/index.php/produtos/pendente-viva-bella-iluminaçao-sq006/pendente-viva-bella-iluminaçao-sq006 [PHP_SELF] => /var/www/html/foccoiluminacaoms.com.br/web/index.php/produtos/pendente-viva-bella-iluminaçao-sq006 [REQUEST_TIME_FLOAT] => 1744198213.633 [REQUEST_TIME] => 1744198213 [CI_ENVIRONMENT] => development [app.baseURL] => https://foccoiluminacaoms.com.br/ [database.default.hostname] => facco-db.mysql.uhserver.com [database.default.database] => focco_site_db [database.default.username] => foccosite [database.default.password] => 357@JdQmv [database.default.DBDriver] => MySQLi [recaptcha2.key] => 6LcUq2MaAAAAAD5IG8JdYRUA0cBktq81MnslCuqQ [recaptcha2.secret] => 6LcUq2MaAAAAAAOtFF0ZC4xhEq4zS8GyHLOwJsFl [recaptcha3.key] => 6LeOq2MaAAAAAOGQfynojsMhu1nTwRavP0e2ffco [recaptcha3.secret] => 6LeOq2MaAAAAAEscYpxBzSQdPl3oGVeTGa9qatjb [recaptcha3.scoreThreshold] => 0.5 [instagram.token] => IGQVJWekI4Y2ZAmRTdSUXd0b3E5MnlrZA1djRFN4UXNHb0R5T1dCSHBpbEc3RnQ2MjVHNmJYeFJUbU5wVVBhOUNYZAWFCbjRqbV9XUW9ialY3dGI0MVFZAQkd5RndvckhDbWVwdGh0OWpiSHJOTzQxMFpVNwZDZD ) [get] => Array ( ) ) [headers:protected] => Array ( [Connection] => CodeIgniter\HTTP\Header Object ( [name:protected] => Connection [value:protected] => upgrade ) [Host] => CodeIgniter\HTTP\Header Object ( [name:protected] => Host [value:protected] => foccoiluminacaoms.com.br ) [X-Real-Ip] => CodeIgniter\HTTP\Header Object ( [name:protected] => X-Real-Ip [value:protected] => 10.129.12.154 ) [X-Forwarded-Proto] => CodeIgniter\HTTP\Header Object ( [name:protected] => X-Forwarded-Proto [value:protected] => https ) [Pragma] => CodeIgniter\HTTP\Header Object ( [name:protected] => Pragma [value:protected] => no-cache ) [Cache-Control] => CodeIgniter\HTTP\Header Object ( [name:protected] => Cache-Control [value:protected] => no-cache ) [Sec-Ch-Ua] => CodeIgniter\HTTP\Header Object ( [name:protected] => Sec-Ch-Ua [value:protected] => "HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129" ) [Sec-Ch-Ua-Mobile] => CodeIgniter\HTTP\Header Object ( [name:protected] => Sec-Ch-Ua-Mobile [value:protected] => ?0 ) [Sec-Ch-Ua-Platform] => CodeIgniter\HTTP\Header Object ( [name:protected] => Sec-Ch-Ua-Platform [value:protected] => "Windows" ) [Upgrade-Insecure-Requests] => CodeIgniter\HTTP\Header Object ( [name:protected] => Upgrade-Insecure-Requests [value:protected] => 1 ) [User-Agent] => CodeIgniter\HTTP\Header Object ( [name:protected] => User-Agent [value:protected] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) ) [Accept] => CodeIgniter\HTTP\Header Object ( [name:protected] => Accept [value:protected] => text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7 ) [Sec-Fetch-Site] => CodeIgniter\HTTP\Header Object ( [name:protected] => Sec-Fetch-Site [value:protected] => none ) [Sec-Fetch-Mode] => CodeIgniter\HTTP\Header Object ( [name:protected] => Sec-Fetch-Mode [value:protected] => navigate ) [Sec-Fetch-User] => CodeIgniter\HTTP\Header Object ( [name:protected] => Sec-Fetch-User [value:protected] => ?1 ) [Sec-Fetch-Dest] => CodeIgniter\HTTP\Header Object ( [name:protected] => Sec-Fetch-Dest [value:protected] => document ) [Accept-Encoding] => CodeIgniter\HTTP\Header Object ( [name:protected] => Accept-Encoding [value:protected] => gzip, deflate, br, zstd ) [X-Realhost] => CodeIgniter\HTTP\Header Object ( [name:protected] => X-Realhost [value:protected] => foccoiluminacaoms.com.br ) ) [headerMap:protected] => Array ( [connection] => Connection [host] => Host [x-real-ip] => X-Real-Ip [x-forwarded-proto] => X-Forwarded-Proto [pragma] => Pragma [cache-control] => Cache-Control [sec-ch-ua] => Sec-Ch-Ua [sec-ch-ua-mobile] => Sec-Ch-Ua-Mobile [sec-ch-ua-platform] => Sec-Ch-Ua-Platform [upgrade-insecure-requests] => Upgrade-Insecure-Requests [user-agent] => User-Agent [accept] => Accept [sec-fetch-site] => Sec-Fetch-Site [sec-fetch-mode] => Sec-Fetch-Mode [sec-fetch-user] => Sec-Fetch-User [sec-fetch-dest] => Sec-Fetch-Dest [accept-encoding] => Accept-Encoding [x-realhost] => X-Realhost ) [protocolVersion:protected] => 1.1 [validProtocolVersions:protected] => Array ( [0] => 1.0 [1] => 1.1 [2] => 2 ) [body:protected] => )
$response
CodeIgniter\HTTP\Response Object ( [reason:protected] => Internal Server Error [statusCode:protected] => 500 [CSPEnabled:protected] => [CSP] => CodeIgniter\HTTP\ContentSecurityPolicy Object ( [baseURI:protected] => [childSrc:protected] => self [connectSrc:protected] => self [defaultSrc:protected] => [fontSrc:protected] => [formAction:protected] => self [frameAncestors:protected] => [imageSrc:protected] => self [mediaSrc:protected] => [objectSrc:protected] => self [pluginTypes:protected] => [reportURI:protected] => [sandbox:protected] => [scriptSrc:protected] => self [styleSrc:protected] => self [manifestSrc:protected] => [upgradeInsecureRequests:protected] => [reportOnly:protected] => [validSources:protected] => Array ( [0] => self [1] => none [2] => unsafe-inline [3] => unsafe-eval ) [nonces:protected] => Array ( ) [tempHeaders:protected] => Array ( ) [reportOnlyHeaders:protected] => Array ( ) ) [cookiePrefix:protected] => [cookieDomain:protected] => [cookiePath:protected] => / [cookieSecure:protected] => [cookieHTTPOnly:protected] => [cookies:protected] => Array ( ) [pretend:protected] => [bodyFormat:protected] => html [headers:protected] => Array ( [Cache-control] => CodeIgniter\HTTP\Header Object ( [name:protected] => Cache-control [value:protected] => Array ( [0] => no-store [1] => max-age=0 [2] => no-cache ) ) [Content-Type] => CodeIgniter\HTTP\Header Object ( [name:protected] => Content-Type [value:protected] => text/html; charset=UTF-8 ) ) [headerMap:protected] => Array ( [cache-control] => Cache-control [content-type] => Content-Type ) [protocolVersion:protected] => 1.1 [validProtocolVersions:protected] => Array ( [0] => 1.0 [1] => 1.1 [2] => 2 ) [body:protected] => )
$logger
CodeIgniter\Log\Logger Object ( [logLevels:protected] => Array ( [emergency] => 1 [alert] => 2 [critical] => 3 [error] => 4 [warning] => 5 [notice] => 6 [info] => 7 [debug] => 8 ) [loggableLevels:protected] => Array ( [0] => emergency [1] => alert [2] => critical ) [filePermissions:protected] => 420 [dateFormat:protected] => Y-m-d H:i:s [fileExt:protected] => [handlers:protected] => Array ( [CodeIgniter\Log\Handlers\FileHandler] => CodeIgniter\Log\Handlers\FileHandler Object ( [path:protected] => /var/www/html/foccoiluminacaoms.com.br/site/writable/logs/ [fileExtension:protected] => log [filePermissions:protected] => 420 [handles:protected] => Array ( [0] => critical [1] => alert [2] => emergency [3] => debug [4] => error [5] => info [6] => notice [7] => warning ) [dateFormat:protected] => Y-m-d H:i:s ) ) [handlerConfig:protected] => Array ( [CodeIgniter\Log\Handlers\FileHandler] => Array ( [handles] => Array ( [0] => critical [1] => alert [2] => emergency [3] => debug [4] => error [5] => info [6] => notice [7] => warning ) [fileExtension] => [filePermissions] => 420 [path] => ) ) [logCache] => Array ( [0] => Array ( [level] => critical [msg] => Unable to connect to the database. #0 /var/www/html/foccoiluminacaoms.com.br/site/vendor/codeigniter4/framework/system/Database/BaseConnection.php(646): CodeIgniter\Database\BaseConnection->initialize() #1 /var/www/html/foccoiluminacaoms.com.br/site/vendor/codeigniter4/framework/system/Database/BaseBuilder.php(1860): CodeIgniter\Database\BaseConnection->query('SELECT *\nFROM `...', Array, false) #2 /var/www/html/foccoiluminacaoms.com.br/site/vendor/codeigniter4/framework/system/Model.php(398): CodeIgniter\Database\BaseBuilder->get() #3 /var/www/html/foccoiluminacaoms.com.br/site/app/Models/ConfiguracaoModel.php(16): CodeIgniter\Model->find(1) #4 /var/www/html/foccoiluminacaoms.com.br/site/app/Controllers/BaseController.php(52): app\Models\ConfiguracaoModel::getDefault() #5 /var/www/html/foccoiluminacaoms.com.br/site/vendor/codeigniter4/framework/system/CodeIgniter.php(891): App\Controllers\BaseController->initController(Object(CodeIgniter\HTTP\IncomingRequest), Object(CodeIgniter\HTTP\Response), Object(CodeIgniter\Log\Logger)) #6 /var/www/html/foccoiluminacaoms.com.br/site/vendor/codeigniter4/framework/system/CodeIgniter.php(399): CodeIgniter\CodeIgniter->createController() #7 /var/www/html/foccoiluminacaoms.com.br/site/vendor/codeigniter4/framework/system/CodeIgniter.php(312): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false) #8 /var/www/html/foccoiluminacaoms.com.br/web/index.php(47): CodeIgniter\CodeIgniter->run() #9 {main} ) ) [cacheLogs:protected] => 1 )
884 * Instantiates the controller class. 885 * 886 * @return mixed 887 */ 888 protected function createController() 889 { 890 $class = new $this->controller(); 891 $class->initController($this->request, $this->response, Services::logger()); 892 893 $this->benchmark->stop('controller_constructor'); 894 895 return $class; 896 } 897 898 //--------------------------------------------------------------------
-
SYSTEMPATH/CodeIgniter.php : 399 — CodeIgniter\CodeIgniter->createController ()
392 } 393 394 $returned = $this->startController(); 395 396 // Closure controller has run in startController(). 397 if (! is_callable($this->controller)) 398 { 399 $controller = $this->createController(); 400 401 // Is there a "post_controller_constructor" event? 402 Events::trigger('post_controller_constructor'); 403 404 $returned = $this->runController($controller); 405 } 406 else
-
SYSTEMPATH/CodeIgniter.php : 312 — CodeIgniter\CodeIgniter->handleRequest ( arguments )
$routes
$cacheConfig
Config\Cache Object ( [handler] => file [backupHandler] => dummy [storePath] => /var/www/html/foccoiluminacaoms.com.br/site/writable/cache/ [cacheQueryString] => [prefix] => [memcached] => Array ( [host] => 127.0.0.1 [port] => 11211 [weight] => 1 [raw] => ) [redis] => Array ( [host] => 127.0.0.1 [password] => [port] => 6379 [timeout] => 0 [database] => 0 ) [validHandlers] => Array ( [dummy] => CodeIgniter\Cache\Handlers\DummyHandler [file] => CodeIgniter\Cache\Handlers\FileHandler [memcached] => CodeIgniter\Cache\Handlers\MemcachedHandler [predis] => CodeIgniter\Cache\Handlers\PredisHandler [redis] => CodeIgniter\Cache\Handlers\RedisHandler [wincache] => CodeIgniter\Cache\Handlers\WincacheHandler ) )
$returnResponse
305 306 $this->response->pretend($this->useSafeOutput)->send(); 307 $this->callExit(EXIT_SUCCESS); 308 } 309 310 try 311 { 312 return $this->handleRequest($routes, $cacheConfig, $returnResponse); 313 } 314 catch (RedirectException $e) 315 { 316 $logger = Services::logger(); 317 $logger->info('REDIRECTED ROUTE at ' . $e->getMessage()); 318 319 // If the route is a 'redirect' route, it throws
-
FCPATH/index.php : 47 — CodeIgniter\CodeIgniter->run ()
40 *--------------------------------------------------------------- 41 * LAUNCH THE APPLICATION 42 *--------------------------------------------------------------- 43 * Now that everything is setup, it's time to actually fire 44 * up the engines and make this app do its thang. 45 */ 46 47 $app->run();