Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load Dynamic Library #186

Open
ghost opened this issue Oct 17, 2016 · 1 comment
Open

Unable to load Dynamic Library #186

ghost opened this issue Oct 17, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 17, 2016

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:

  • save admins not working
  • can't clear cache or assets.

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
2. 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

@ghost ghost changed the title ErrorException Unable to load Dynamic Library Oct 17, 2016
@ghost ghost closed this as completed Oct 19, 2016
@ghost ghost reopened this Oct 19, 2016
@ghost
Copy link
Author

ghost commented Oct 19, 2016

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',
],
];/
}
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants