SQLSTATE[HY000] [2002] No such file or directory

PDOException / Database.php:34

Source

PDOException Thrown from /var/www/playertube.org/app/vendor/slim/pdo/src/PDO/Database.php at line 34.

Trace

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

file_put_contents(/var/www/playertube.org/app/errors.log): failed to open stream: Permission denied

ErrorException / error.php:36

Source

ErrorException Thrown from /var/www/playertube.org/app/config/error.php at line 36.

Trace

  #0 [internal function]: Oishy\Core\ExceptionHandler::native(2, 'file_put_conten...', '/var/www/player...', 36, Array)
#1 /var/www/playertube.org/app/config/error.php(36): file_put_contents('/var/www/player...', 'Environment: de...', 10)
#2 [internal function]: Oishy\Core\Config::{closure}(Object(PDOException))
#3 /var/www/playertube.org/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(/var/www/playertube.org/app/errors.log): failed to open stream: Permission denied in /var/www/playertube.org/app/config/error.php on line 36

file_put_contents(/var/www/playertube.org/app/errors.log): failed to open stream: Permission denied

ErrorException / error.php:36

Source

ErrorException Thrown from /var/www/playertube.org/app/config/error.php at line 36.

Trace

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

file_put_contents(/var/www/playertube.org/app/errors.log): failed to open stream: Permission denied

ErrorException / error.php:36

Source

ErrorException Thrown from /var/www/playertube.org/app/config/error.php at line 36.

Trace

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

Warning: file_put_contents(/var/www/playertube.org/app/errors.log): failed to open stream: Permission denied in /var/www/playertube.org/app/config/error.php on line 36