timtoday / voyager-cn

Voyager 中文版 - Laravel Admin 快速实现后台管理
MIT License
29 stars 8 forks source link

为什么mamp访问会报错呢? #3

Open lecharfly opened 6 years ago

lecharfly commented 6 years ago

Description:

你好 用了你的这个汉化包 为什么执行php artisan serve 是可以正常访问admin页面; 可是换成mamp的方式访问 就出现报错 : # ErrorException in Connection.php line 770: SQLSTATE[HY000]: General error: PDO::ATTR_STATEMENT_CLASS requires format array(classname, array(ctor_args)); the classname must be a string specifying an existing class (SQL: select * from settings where key = title limit 1) (View: /Volumes/User/Sites/shangyi/vendor/timtoday/voyager-cn/resources/views/login.blade.php)

Steps To Reproduce:

timtoday commented 6 years ago

可能是laravel版本兼容问题,我也很久没更新了

lecharfly commented 6 years ago

是跟PHP版本兼容有问题 用php7.1以上才可以

2018-05-31 16:18 GMT+08:00 tim notifications@github.com:

可能是laravel版本兼容问题,我也很久没更新了

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/timtoday/voyager-cn/issues/3#issuecomment-393451197, or mute the thread https://github.com/notifications/unsubscribe-auth/ASr0n6IndMQ18kp0LpnJUwcJx8SSR69Aks5t36dTgaJpZM4USut5 .