SQLSTATE[HY000] [2002] Connection refused

PDOException / Database.php:34

Source

PDOException Thrown from /home/applianc/domains/craftys.tk/public_html/app/vendor/slim/pdo/src/PDO/Database.php at line 34.

Trace

  #0 /home/applianc/domains/craftys.tk/public_html/app/vendor/slim/pdo/src/PDO/Database.php(34): PDO->__construct('mysql:host=loca...', 'applianc_cr4fty...', 'G4Kasxp9dQmtkqz...', Array)
#1 /home/applianc/domains/craftys.tk/public_html/system/core/Db.php(72): Slim\PDO\Database->__construct('mysql:host=loca...', 'applianc_cr4fty...', 'G4Kasxp9dQmtkqz...', Array)
#2 /home/applianc/domains/craftys.tk/public_html/system/core/Db.php(89): Oishy\Core\Db::getConn()
#3 /home/applianc/domains/craftys.tk/public_html/app/models/OptionModel.php(106): Oishy\Core\Db::__callStatic('select', Array)
#4 /home/applianc/domains/craftys.tk/public_html/app/models/OptionModel.php(20): Oishy\Model\OptionModel::autoLoadOptions()
#5 /home/applianc/domains/craftys.tk/public_html/app/helpers/template_helper.php(203): Oishy\Model\OptionModel::get('theme_desktop', false)
#6 /home/applianc/domains/craftys.tk/public_html/app/helpers/template_helper.php(643): get_option('theme_desktop')
#7 /home/applianc/domains/craftys.tk/public_html/app/helpers/template_helper.php(649): get_active_theme()
#8 /home/applianc/domains/craftys.tk/public_html/app/helpers/boot_helper.php(25): get_theme_dir_path()
#9 /home/applianc/domains/craftys.tk/public_html/system/boot.php(82): require_once('/home/applianc/...')
#10 /home/applianc/domains/craftys.tk/public_html/index.php(21): require('/home/applianc/...')
#11 {main}

file_put_contents(/home/applianc/domains/craftys.tk/public_html/app/errors.log): failed to open stream: Read-only file system

ErrorException / error.php:36

Source

ErrorException Thrown from /home/applianc/domains/craftys.tk/public_html/app/config/error.php at line 36.

Trace

  #0 [internal function]: Oishy\Core\ExceptionHandler::native(2, 'file_put_conten...', '/home/applianc/...', 36, Array)
#1 /home/applianc/domains/craftys.tk/public_html/app/config/error.php(36): file_put_contents('/home/applianc/...', 'Environment: de...', 10)
#2 [internal function]: Oishy\Core\Config::{closure}(Object(PDOException))
#3 /home/applianc/domains/craftys.tk/public_html/system/core/ExceptionHandler.php(71): call_user_func(Object(Closure), Object(PDOException))
#4 [internal function]: Oishy\Core\ExceptionHandler::register(Object(PDOException))
#5 {main}

Warning: file_put_contents(/home/applianc/domains/craftys.tk/public_html/app/errors.log): failed to open stream: Read-only file system in /home/applianc/domains/craftys.tk/public_html/app/config/error.php on line 36

file_put_contents(/home/applianc/domains/craftys.tk/public_html/app/errors.log): failed to open stream: Read-only file system

ErrorException / error.php:36

Source

ErrorException Thrown from /home/applianc/domains/craftys.tk/public_html/app/config/error.php at line 36.

Trace

  #0 [internal function]: Oishy\Core\ExceptionHandler::shutdown()
#1 {main}

file_put_contents(/home/applianc/domains/craftys.tk/public_html/app/errors.log): failed to open stream: Read-only file system

ErrorException / error.php:36

Source

ErrorException Thrown from /home/applianc/domains/craftys.tk/public_html/app/config/error.php at line 36.

Trace

  #0 [internal function]: Oishy\Core\ExceptionHandler::native(2, 'file_put_conten...', '/home/applianc/...', 36, Array)
#1 /home/applianc/domains/craftys.tk/public_html/app/config/error.php(36): file_put_contents('/home/applianc/...', 'Environment: de...', 10)
#2 [internal function]: Oishy\Core\Config::{closure}(Object(ErrorException))
#3 /home/applianc/domains/craftys.tk/public_html/system/core/ExceptionHandler.php(71): call_user_func(Object(Closure), Object(ErrorException))
#4 /home/applianc/domains/craftys.tk/public_html/system/core/ExceptionHandler.php(85): Oishy\Core\ExceptionHandler::register(Object(ErrorException))
#5 [internal function]: Oishy\Core\ExceptionHandler::shutdown()
#6 {main}

Warning: file_put_contents(/home/applianc/domains/craftys.tk/public_html/app/errors.log): failed to open stream: Read-only file system in /home/applianc/domains/craftys.tk/public_html/app/config/error.php on line 36