dev.findcoachhere.vinaweber.com
Open in
urlscan Pro
103.82.39.11
Public Scan
Submitted URL: http://dev.findcoachhere.vinaweber.com/
Effective URL: https://dev.findcoachhere.vinaweber.com/
Submission: On May 12 via api from IN — Scanned from DE
Effective URL: https://dev.findcoachhere.vinaweber.com/
Submission: On May 12 via api from IN — Scanned from DE
Form analysis
0 forms found in the DOMText Content
CODEIGNITER\DATABASE\EXCEPTIONS\DATABASEEXCEPTION #8 Unable to connect to the database. search → SYSTEMPATH/Database/BaseConnection.php at line 395 388 } 389 } 390 } 391 392 // We still don't have a connection? 393 if (! $this->connID) 394 { 395 throw new DatabaseException('Unable to connect to the database.'); 396 } 397 } 398 399 $this->connectDuration = microtime(true) - $this->connectTime; 400 } 401 402 //-------------------------------------------------------------------- * Backtrace * Server * Request * Response * Files * Memory 1. SYSTEMPATH/Database/BaseConnection.php : 620 — CodeIgniter\Database\BaseConnection->initialize () 613 */ 614 public function query(string $sql, $binds = null, bool $setEscapeFlags = true, string $queryClass = '') 615 { 616 $queryClass = $queryClass ?: $this->queryClass; 617 618 if (empty($this->connID)) 619 { 620 $this->initialize(); 621 } 622 623 $resultClass = str_replace('Connection', 'Result', get_class($this)); 624 /** 625 * @var Query $query 626 */ 627 $query = new $queryClass($this); 2. SYSTEMPATH/Database/BaseBuilder.php : 1866 — CodeIgniter\Database\BaseConnection->query () 1859 if (! is_null($limit)) 1860 { 1861 $this->limit($limit, $offset); 1862 } 1863 1864 $result = $this->testMode 1865 ? $this->getCompiledSelect($reset) 1866 : $this->db->query($this->compileSelect(), $this->binds, false); 1867 1868 if ($reset === true) 1869 { 1870 $this->resetSelect(); 1871 1872 // Clear our binds so we don't eat up memory 1873 $this->binds = []; 3. SYSTEMPATH/Model.php : 247 — CodeIgniter\Database\BaseBuilder->get () 240 // Some databases, like PostgreSQL, need order 241 // information to consistently return correct results. 242 if ($builder->QBGroupBy && empty($builder->QBOrderBy) && $this->primaryKey) 243 { 244 $builder->orderBy($this->table . '.' . $this->primaryKey, 'asc'); 245 } 246 247 return $builder->limit(1, 0)->get()->getFirstRow($this->tempReturnType); 248 } 249 250 /** 251 * Inserts data into the current table. 252 * This methods works only with dbCalls 253 * 254 * @param array $data Data 4. SYSTEMPATH/BaseModel.php : 624 — CodeIgniter\Model->doFirst () 617 if (! empty($eventData['returnData'])) 618 { 619 return $eventData['data']; 620 } 621 } 622 623 $eventData = [ 624 'data' => $this->doFirst(), 625 'method' => 'first', 626 'singleton' => true, 627 ]; 628 629 if ($this->tempAllowCallbacks) 630 { 631 $eventData = $this->trigger('afterFind', $eventData); 5. APPPATH/Models/SettingModel.php : 21 — CodeIgniter\BaseModel->first () 14 public function getSetting($settingGroup,$setting_key,$languageId){ 15 $this->where('setting_key',$setting_key); 16 $this->where('settingGroup',$settingGroup) 17 ->groupStart() 18 ->where('languageId', $languageId) 19 ->orWhere('languageId', 0) 20 ->groupEnd(); 21 return $this->first(); 22 } 23 24 public function setSetting($group, $key,$settingValue){ 25 $entity = new \App\Entities\Setting(); 26 $setting = $this->where('settingGroup',$group) 27 ->where('setting_key', $key) 28 ->first(); 6. APPPATH/Libraries/Setting.php : 36 — App\Models\SettingModel->getSetting () 29 30 //check key exists in data 31 if(isset($this->data[$settingGroup][$settingKey])){ 32 return $this->data[$settingGroup][$settingKey]; 33 } 34 35 // query get setting data 36 $data = $this->model->getSetting($settingGroup,$settingKey,$languageId); 37 $value = ''; 38 if($data){ 39 $value = $data->setting_value; 40 } 41 42 //set value to data to keep 43 $this->data[$settingGroup][$settingKey] = $value; 7. APPPATH/Common.php : 332 — App\Libraries\Setting->get () 325 if (!function_exists('getSetting')) { 326 function getSetting($settingGroup,$settingKey){ 327 328 if($cache = service('cacheManager')->get('setting_'.$settingGroup.$settingKey)){ 329 return $cache; 330 } 331 332 $data = service('setting')->get($settingGroup,$settingKey); 333 334 $cacheStatus = service('setting')->get('cache','cache'); 335 336 if($cacheStatus){ 337 service('cacheManager')->set('setting',$settingGroup.'_'.$settingKey,$data,['setting']); 338 } 339 8. APPPATH/Libraries/Asset.php : 41 — getSetting() 9. APPPATH/Config/Services.php : 49 — App\Libraries\Asset->__construct () 42 public static function asset($getShared = true) 43 { 44 if ($getShared) 45 { 46 return static::getSharedInstance('asset'); 47 } 48 49 return new \App\Libraries\Asset(); 50 } 51 52 public static function commonOption($getShared = true) 53 { 54 if ($getShared) 55 { 56 return static::getSharedInstance('commonOption'); 10. SYSTEMPATH/Config/BaseService.php : 100 — Config\Services::asset () 93 } 94 95 if (! isset(static::$instances[$key])) 96 { 97 // Make sure $getShared is false 98 array_push($params, false); 99 100 static::$instances[$key] = static::$key(...$params); 101 } 102 103 return static::$instances[$key]; 104 } 105 106 /** 107 * The Autoloader class is the central class that handles our 11. APPPATH/Config/Services.php : 46 — CodeIgniter\Config\BaseService::getSharedInstance () 39 return new CustomCodeIgniter($config); 40 } 41 42 public static function asset($getShared = true) 43 { 44 if ($getShared) 45 { 46 return static::getSharedInstance('asset'); 47 } 48 49 return new \App\Libraries\Asset(); 50 } 51 52 public static function commonOption($getShared = true) 53 { 12. APPPATH/Core/WebController.php : 79 — Config\Services::asset () 72 echo json_encode(['code'=>$code,'data'=>$data]); 73 exit(); 74 } 75 76 protected function loadAsset(){ 77 78 79 $this->view->setVar('asset', \Config\Services::asset()); 80 81 } 82 83 84 85 protected function setMessage($message,$type='info'){ 86 $this->message[] = [ 13. APPPATH/Core/WebController.php : 63 — App\Core\WebController->loadAsset () 56 57 //-------------------------------------------------------------------- 58 // Preload any models, libraries, etc, here. 59 //-------------------------------------------------------------------- 60 // E.g.: 61 // $this->session = \Config\Services::session(); 62 $this->view = \Config\Services::renderer(); 63 $this->loadAsset(); 64 65 $this->sendMessage(); 66 helper('common'); 67 helper('text'); 68 } 69 70 14. SYSTEMPATH/CodeIgniter.php : 908 — App\Core\WebController->initController () 901 * Instantiates the controller class. 902 * 903 * @return mixed 904 */ 905 protected function createController() 906 { 907 $class = new $this->controller(); // @phpstan-ignore-line 908 $class->initController($this->request, $this->response, Services::logger()); 909 910 $this->benchmark->stop('controller_constructor'); 911 912 return $class; 913 } 914 915 //-------------------------------------------------------------------- 15. SYSTEMPATH/CodeIgniter.php : 421 — CodeIgniter\CodeIgniter->createController () 414 } 415 416 $returned = $this->startController(); 417 418 // Closure controller has run in startController(). 419 if (! is_callable($this->controller)) 420 { 421 $controller = $this->createController(); 422 423 if (! method_exists($controller, '_remap') && ! is_callable([$controller, $this->method], false)) 424 { 425 throw PageNotFoundException::forMethodNotFound($this->method); 426 } 427 428 // Is there a "post_controller_constructor" event? 16. SYSTEMPATH/CodeIgniter.php : 332 — CodeIgniter\CodeIgniter->handleRequest () 325 326 $this->response->pretend($this->useSafeOutput)->send(); 327 $this->callExit(EXIT_SUCCESS); 328 } 329 330 try 331 { 332 return $this->handleRequest($routes, $cacheConfig, $returnResponse); 333 } 334 catch (RedirectException $e) 335 { 336 $logger = Services::logger(); 337 $logger->info('REDIRECTED ROUTE at ' . $e->getMessage()); 338 339 // If the route is a 'redirect' route, it throws 17. FCPATH/index.php : 56 — CodeIgniter\CodeIgniter->run () 49 /* 50 *--------------------------------------------------------------- 51 * LAUNCH THE APPLICATION 52 *--------------------------------------------------------------- 53 * Now that everything is setup, it's time to actually fire 54 * up the engines and make this app do its thang. 55 */ 56 $app->run(); 57 $_SERVER Key Value PATH /bin:/usr/bin 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_ACCEPT_ENCODING gzip, deflate, br, zstd HTTP_ACCEPT_LANGUAGE de-DE,de;q=0.9;q=0.9 HTTP_HOST dev.findcoachhere.vinaweber.com HTTP_USER_AGENT Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 HTTP_UPGRADE_INSECURE_REQUESTS 1 HTTP_SEC_CH_UA "Google Chrome";v="124", "Not:A-Brand";v="8", "Chromium";v="124" HTTP_SEC_CH_UA_MOBILE ?0 HTTP_SEC_CH_UA_PLATFORM "Win32" HTTP_SEC_FETCH_SITE none HTTP_SEC_FETCH_MODE navigate HTTP_SEC_FETCH_USER ?1 HTTP_SEC_FETCH_DEST document HTTP_PRIORITY u=0, i DOCUMENT_ROOT /home/dev.findcoachhere.vinaweber.com/public_html REMOTE_ADDR 217.114.218.22 REMOTE_PORT 60436 SERVER_ADDR 103.82.39.11 SERVER_NAME dev.findcoachhere.vinaweber.com SERVER_ADMIN ngocluantdt@gmail.com SERVER_PORT 443 REQUEST_URI / REDIRECT_URL / HTTPS on REDIRECT_STATUS 200 X_SPDY HTTP2 SSL_PROTOCOL TLSv1.3 SSL_CIPHER TLS_AES_128_GCM_SHA256 SSL_CIPHER_USEKEYSIZE 128 SSL_CIPHER_ALGKEYSIZE 128 LSWS_EDITION Openlitespeed 1.7.16 X-LSCACHE on,crawler SCRIPT_FILENAME /home/dev.findcoachhere.vinaweber.com/public_html/public/index.php QUERY_STRING SCRIPT_NAME /public/index.php SERVER_PROTOCOL HTTP/1.1 SERVER_SOFTWARE LiteSpeed REQUEST_METHOD GET PHP_SELF /public/index.php REQUEST_TIME_FLOAT 1715536213.5477 REQUEST_TIME 1715536213 CI_ENVIRONMENT development app.baseURL http://aia.local/ database.default.hostname localhost database.default.database projects_aia database.default.username root database.default.password database.default.DBDriver MySQLi $_SESSION Key Value __ci_last_regenerate 1715536213 language 1 CONSTANTS Key Value FCPATH /home/dev.findcoachhere.vinaweber.com/public_html/public/ APPPATH /home/dev.findcoachhere.vinaweber.com/public_html/app/ ROOTPATH /home/dev.findcoachhere.vinaweber.com/public_html/ SYSTEMPATH /home/dev.findcoachhere.vinaweber.com/public_html/vendor/codeigniter4/framework/system/ WRITEPATH /home/dev.findcoachhere.vinaweber.com/public_html/writable/ TESTPATH / APP_NAMESPACE App COMPOSER_PATH /home/dev.findcoachhere.vinaweber.com/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 PASSWORĐ_SALT ngocluantdt@gmail.com NO_IMAGE images/no-image.jpg FILE_ROOT_PATH uploads/files/ DEFAULT_DATE 0000-00-00 AREA_LIST ["Qu\u1ea3n l\u00fd chung","Qu\u1ea3n l\u00fd website","Qu\u1ea3n l\u00fd chi nh\u00e1nh"] FILE_MANAGER_KEY bed369152c6b429480bc41adebd517c6 DEVELOPER_ACCOUNT developer DEVELOPER_EMAIL ngocluantdt@gmail.com LOGIN_MAX_ATTEMPT_NUMBER 5 LOGIN_BLOCKED_TIME 1 HTMLPURIFIER_PREFIX /home/dev.findcoachhere.vinaweber.com/public_html/vendor/ezyang/htmlpurifier/library KINT_DIR /home/dev.findcoachhere.vinaweber.com/public_html/vendor/kint-php/kint KINT_WIN KINT_PHP56 1 KINT_PHP70 1 KINT_PHP72 1 KINT_PHP73 1 KINT_PHP74 1 VENDORPATH /home/dev.findcoachhere.vinaweber.com/public_html/vendor/ ENVIRONMENT development SHOW_DEBUG_BACKTRACE 1 CI_DEBUG 1 EVENT_PRIORITY_LOW 200 EVENT_PRIORITY_NORMAL 100 EVENT_PRIORITY_HIGH 10 Path http://aia.local/ HTTP Method GET IP Address 217.114.218.22 Is AJAX Request? no Is CLI Request? no Is Secure Request? yes User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 No $_GET, $_POST, or $_COOKIE Information to show. HEADERS Header Value 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 Accept-Encoding gzip, deflate, br, zstd Accept-Language de-DE,de;q=0.9;q=0.9 Host dev.findcoachhere.vinaweber.com User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Upgrade-Insecure-Requests 1 Sec-Ch-Ua "Google Chrome";v="124", "Not:A-Brand";v="8", "Chromium";v="124" Sec-Ch-Ua-Mobile ?0 Sec-Ch-Ua-Platform "Win32" Sec-Fetch-Site none Sec-Fetch-Mode navigate Sec-Fetch-User ?1 Sec-Fetch-Dest document Priority u=0, i Response Status 500 - Internal Server Error 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/Config/Constants.php 5. APPPATH/Common.php 6. SYSTEMPATH/Common.php 7. SYSTEMPATH/Config/AutoloadConfig.php 8. APPPATH/Config/Autoload.php 9. SYSTEMPATH/Modules/Modules.php 10. APPPATH/Config/Modules.php 11. SYSTEMPATH/Autoloader/Autoloader.php 12. SYSTEMPATH/Config/BaseService.php 13. SYSTEMPATH/Config/Services.php 14. APPPATH/Config/Services.php 15. VENDORPATH/autoload.php 16. VENDORPATH/composer/autoload_real.php 17. VENDORPATH/composer/platform_check.php 18. VENDORPATH/composer/ClassLoader.php 19. VENDORPATH/composer/autoload_static.php 20. VENDORPATH/laminas/laminas-zendframework-bridge/src/autoload.php 21. VENDORPATH/laminas/laminas-zendframework-bridge/src/Autoloader.php 22. VENDORPATH/laminas/laminas-zendframework-bridge/src/RewriteRules.php 23. VENDORPATH/symfony/deprecation-contracts/function.php 24. VENDORPATH/symfony/polyfill-mbstring/bootstrap.php 25. VENDORPATH/ezyang/htmlpurifier/library/HTMLPurifier.composer.php 26. VENDORPATH/kint-php/kint/init.php 27. VENDORPATH/kint-php/kint/src/Kint.php 28. VENDORPATH/kint-php/kint/src/Utils.php 29. VENDORPATH/kint-php/kint/init_helpers.php 30. VENDORPATH/myclabs/deep-copy/src/DeepCopy/deep_copy.php 31. SYSTEMPATH/Config/DotEnv.php 32. SYSTEMPATH/Autoloader/FileLocator.php 33. SYSTEMPATH/Helpers/url_helper.php 34. SYSTEMPATH/CodeIgniter.php 35. APPPATH/Config/App.php 36. SYSTEMPATH/Config/BaseConfig.php 37. SYSTEMPATH/Config/Factories.php 38. SYSTEMPATH/Config/Factory.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/HTTP/ContentSecurityPolicy.php 56. APPPATH/Config/ContentSecurityPolicy.php 57. SYSTEMPATH/Debug/Exceptions.php 58. SYSTEMPATH/API/ResponseTrait.php 59. APPPATH/Config/Kint.php 60. VENDORPATH/kint-php/kint/src/Renderer/Renderer.php 61. VENDORPATH/kint-php/kint/src/Renderer/RichRenderer.php 62. VENDORPATH/kint-php/kint/src/Renderer/CliRenderer.php 63. VENDORPATH/kint-php/kint/src/Renderer/TextRenderer.php 64. SYSTEMPATH/Debug/Timer.php 65. SYSTEMPATH/Events/Events.php 66. APPPATH/Config/Events.php 67. APPPATH/Config/Toolbar.php 68. SYSTEMPATH/Debug/Toolbar.php 69. SYSTEMPATH/Debug/Toolbar/Collectors/Timers.php 70. SYSTEMPATH/Debug/Toolbar/Collectors/BaseCollector.php 71. SYSTEMPATH/Debug/Toolbar/Collectors/Database.php 72. APPPATH/Config/Database.php 73. SYSTEMPATH/Database/Config.php 74. SYSTEMPATH/Debug/Toolbar/Collectors/Logs.php 75. SYSTEMPATH/Debug/Toolbar/Collectors/Views.php 76. APPPATH/Config/View.php 77. SYSTEMPATH/Config/View.php 78. SYSTEMPATH/View/View.php 79. SYSTEMPATH/View/RendererInterface.php 80. SYSTEMPATH/Log/Logger.php 81. SYSTEMPATH/ThirdParty/PSR/Log/LoggerInterface.php 82. APPPATH/Config/Logger.php 83. SYSTEMPATH/Debug/Toolbar/Collectors/Files.php 84. SYSTEMPATH/Debug/Toolbar/Collectors/Routes.php 85. SYSTEMPATH/Debug/Toolbar/Collectors/Events.php 86. APPPATH/Config/Cache.php 87. SYSTEMPATH/Cache/CacheFactory.php 88. SYSTEMPATH/Cache/Handlers/FileHandler.php 89. SYSTEMPATH/Cache/Handlers/BaseHandler.php 90. SYSTEMPATH/Cache/CacheInterface.php 91. APPPATH/Config/Routes.php 92. SYSTEMPATH/Router/RouteCollection.php 93. SYSTEMPATH/Router/RouteCollectionInterface.php 94. SYSTEMPATH/Config/Routes.php 95. APPPATH/Helpers/common_helper.php 96. APPPATH/Core/Routers/WebRouter.php 97. APPPATH/Core/Routers/BaseRouter.php 98. APPPATH/Core/Routers/InterfaceRouter.php 99. APPPATH/Web/Router.php 100. APPPATH/Config/WebRouter.php 101. APPPATH/Config/Language.php 102. SYSTEMPATH/Router/Router.php 103. SYSTEMPATH/Router/RouterInterface.php 104. APPPATH/Config/Filters.php 105. SYSTEMPATH/Filters/Filters.php 106. APPPATH/Filters/Authenticate.php 107. SYSTEMPATH/Filters/FilterInterface.php 108. APPPATH/Filters/Permission.php 109. SYSTEMPATH/Helpers/inflector_helper.php 110. APPPATH/Web/Controllers/Site/HomeController.php 111. APPPATH/Core/WebController.php 112. SYSTEMPATH/Controller.php 113. APPPATH/Models/StructionDetailModel.php 114. APPPATH/Models/BaseModel.php 115. SYSTEMPATH/Model.php 116. SYSTEMPATH/BaseModel.php 117. APPPATH/Config/Validation.php 118. SYSTEMPATH/Validation/Validation.php 119. SYSTEMPATH/Validation/ValidationInterface.php 120. SYSTEMPATH/Database/Database.php 121. SYSTEMPATH/Database/MySQLi/Connection.php 122. SYSTEMPATH/Database/BaseConnection.php 123. SYSTEMPATH/Database/ConnectionInterface.php 124. SYSTEMPATH/Session/Handlers/FileHandler.php 125. SYSTEMPATH/Session/Handlers/BaseHandler.php 126. SYSTEMPATH/ThirdParty/PSR/Log/LoggerAwareTrait.php 127. SYSTEMPATH/Validation/FormatRules.php 128. SYSTEMPATH/Session/Session.php 129. SYSTEMPATH/Session/SessionInterface.php 130. SYSTEMPATH/Helpers/array_helper.php 131. APPPATH/Helpers/util_helper.php 132. APPPATH/Libraries/Asset.php 133. APPPATH/Libraries/CacheManager.php 134. APPPATH/Libraries/Setting.php 135. APPPATH/Models/SettingModel.php 136. SYSTEMPATH/Database/MySQLi/Builder.php 137. SYSTEMPATH/Database/BaseBuilder.php 138. SYSTEMPATH/Database/Exceptions/DatabaseException.php 139. SYSTEMPATH/Database/Exceptions/ExceptionInterface.php 140. SYSTEMPATH/Exceptions/ExceptionInterface.php 141. SYSTEMPATH/Log/Handlers/FileHandler.php 142. SYSTEMPATH/Log/Handlers/BaseHandler.php 143. SYSTEMPATH/Log/Handlers/HandlerInterface.php 144. APPPATH/Views/errors/html/error_exception.php 145. SYSTEMPATH/ThirdParty/Escaper/Escaper.php Memory Usage 4MB Peak Memory Usage: 4MB Memory Limit: 128M Displayed at 00:50:13am — PHP: 7.4.30 — CodeIgniter: 4.0.5