搜索
系统检测到您的用户名不符合规范:

Driver [File] not supported.

浏览:675 发布日期:2021年07月26日 分类:ThinkPHP6专区
求助各位大佬,Windows 7,Apache + PHP 7.3
部署后,运行提示
Driver [File] not supported.

#0 [0]InvalidArgumentException in Manager.php line 103
Driver [File] not supported.
{
if ($this->namespace || false !== strpos($type, '\\')) {
$class = false !== strpos($type, '\\') ? $type : $this->namespace . Str::studly($type);

if (class_exists($class)) {
return $class;
}
}

throw new InvalidArgumentException("Driver [$type] not supported.");
}

/**
* 获取驱动参数
* @param $name
* @return array
*/
protected function resolveParams($name): array
{
Call Stack (折叠)
in Manager.php line 103
at Manager->resolveClass('File') in Manager.php line 136
at Manager->createDriver('file') in Manager.php line 65
at Manager->getDriver('file') in Manager.php line 55
at Manager->driver('file') in Cache.php line 90
at Cache->store(null) in Db.php line 38
at Db::__make(object(Event), object(Config), object(Log), object(Cache))
at ReflectionMethod->invokeArgs(null, [object(Event), object(Config), object(Log), ...]) in Container.php line 383
at Container->invokeClass('think\Db', []) in Container.php line 250
at Container->make('think\Db') in Container.php line 130
at Container->get('db') in Container.php line 507
at Container->__get('db') in ModelService.php line 25
at ModelService->boot()
at ReflectionMethod->invokeArgs(object(ModelService), []) in Container.php line 327
at Container->invokeMethod('boot', [], false) in Container.php line 360
at Container->invoke([object(ModelService), 'boot']) in App.php line 219
at App->bootService(object(ModelService)) in App.php line 483
at App->think\{closure}(object(ModelService), 3)
at array_walk([object(AppService), object(PaginatorService), object(ValidateService), ...], object(Closure)) in App.php line 484
at App->boot() in BootService.php line 24
at BootService->init(object(App)) in App.php line 437
at App->initialize() in Http.php line 178
at Http->initialize() in Http.php line 189
at Http->runWithRequest(object(Request)) in Http.php line 162
at Http->run() in index.php line 20
最佳答案
评论() 相关
后面还有条评论,
评论支持使用[code][/code]标签添加代码
您需要登录后才可以评论 登录 | 立即注册
收藏
jinrui
积分:20 等级:LV0
热点推荐
(追記) (追記ここまで)
最新更新

我们

合作

网站

信息

ThinkPHP 是一个免费开源的,快速、简单的面向对象的 轻量级PHP开发框架 ,创立于2006年初,遵循Apache2开源协议发布,是为了敏捷WEB应用开发和简化企业应用开发而诞生的。ThinkPHP从诞生以来一直秉承简洁实用的设计原则,在保持出色的性能和至简的代码的同时,也注重易用性。并且拥有众多的原创功能和特性,在社区团队的积极参与下,在易用性、扩展性和性能方面不断优化和改进,已经成长为国内最领先和最具影响力的WEB应用开发框架,众多的典型案例确保可以稳定用于商业以及门户级的开发。

AltStyle によって変換されたページ (->オリジナル) /