noumo / easyii

Easy yii2 cms powered by Yii framework 2
http://easyiicms.com
593 stars 272 forks source link

Unable to load Dynamic Library #186

Open muitosefala opened 7 years ago

muitosefala commented 7 years ago

I need some help. I installed easyii with Mysql, why do i get this error on bottom of admin, its a clean install dev branch. Any clue? Also, by this situation maybe:

PHP Core Warning – yii\base\ErrorException

PHP STARTUP: UNABLE TO LOAD DYNAMIC LIBRARY '/USR/LOCAL/LIB/PHP/EXTENSIONS/NO-DEBUG-NON-ZTS-20121212/PDO_DBLIB.SO' - /USR/LOCAL/LIB/PHP/EXTENSIONS/NO-DEBUG-NON-ZTS-20121212/PDO_DBLIB.SO: CANNOT OPEN SHARED OBJECT FILE: NO SUCH FILE OR DIRECTORY

  1. yii\base\ErrorHandler::handleFatalError() $_COOKIE = [ '_identity' => 'd03a20385afa18455ddd06c8d57f58820fc62087d02bc30c4638704ee47035e3a:2:{i:0;s:9:"_identity";i:1;s:46:"[0,"EHz9lBpFyqrNv-Z0zZXO6JOoV_AhpMBL","86400"]";}', 'PHPSESSID' => '87b4cf751386e52573d69aa091ccdaf2', '_csrf' => '8f96070d92b7b066080f42b4c92a393a65b55bd78583ddc357bab5111d83dee6a:2:{i:0;s:5:"_csrf";i:1;s:32:"6rRM1CdoFAANTtDrEDm17ueyqn14jhwo";}', ];

$_SESSION = [ 'flash' => [], 'returnUrl' => '/admin/settings', 'id' => 0, 'expire' => 1476830488, 'admin_return' => '/bda/admin/settings/index', 'entity_return' => '/bda/admin/entity/items/index/1', 'page_return' => '/bda/admin/page/a/index', 'carousel_return' => '/bda/admin/carousel/a/index', ]; Yii Framework 2016-10-17, 20:41:28

Apache Yii Framework/2.0.8-dev

muitosefala commented 7 years ago

Temporary Solved! Explanation:

  1. my server does not have PDO_dblib.so
  2. only use Mysql.
  3. warning error still exists

My temporary solution:

Comment out on app/controllers/siteController.php ... public function actions() { /return [ 'error' => [ 'class' => 'yii\web\ErrorAction', ], ];/ } ...