houdunwang / cart

为了便于商城系统的开发提供了完善的购物车处理类,使商城购物车处理更加方便快捷,程序员只需要专注业务流程而不用关注实现步骤,大大增加了开发效率
26 stars 11 forks source link

在TP5中引用提示如下错误,是不是其他的框架没法用? #2

Open indiboy opened 7 years ago

indiboy commented 7 years ago

[1] ErrorException in Session.php line 28 Class '\houdunwang\session\build\Handler' not found

` //设置驱动 protected function driver( $driver = null ) { $driver = $driver ?: Config::get( 'session.driver' ); $driver = '\houdunwang\session\build\' . ucfirst( $driver ) . 'Handler'; $this->link = new $driver(); $this->link->bootstrap();

    return $this;
}`
houdunwang commented 7 years ago

On 25 Mar 2017, at 1:42 AM, indiboy notifications@github.com wrote:

[1] ErrorException in Session.php line 28 Class '\houdunwang\session\build\Handler' not found

` //设置驱动 protected function driver( $driver = null ) { $driver = $driver ?: Config::get( 'session.driver' ); $driver = '\houdunwang\session\build\' . ucfirst( $driver ) . 'Handler'; $this->link = new $driver(); $this->link->bootstrap();

return $this; }` — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/houdunwang/cart/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/ANNQEYu-SUT6Qh7AHmUu9PCxF0h1176Dks5rpACGgaJpZM4MokZe.

缺依赖包,你要使用composer安装的

gyjnoodle commented 6 years ago

我用composer安装的,还是报这个错,缺少哪个依赖包?

GarethChu commented 6 years ago

我也是同样的错误 tp 5.1下composer安装的