美好的Laravel专业人士!
我从此链接从GitHub下载了一个开源网络应用程序,称为电子文档管理系统(EDMS):https://github.com/hpbyte/edms
我还尝试按照分步过程介绍如何从GitHub设置和安装下载的Laravel Web应用程序。但不幸的是,在运行composer时,请在CMD @ Administrator中安装。我收到以下错误,屏幕快照链接:https : //i.imgur.com/TS2G2wo.png
[Illuminate\Database\QueryException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'edms.users' doesn't exist (SQL: select * from `u
sers` where `status` = 0)
[PDOException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'edms.users' doesn't exist
任何帮助将不胜感激,因为我确实需要大量的EDMS。感谢大伙们!希望早日收到你的消息。
有一个与此有关的问题:https : //github.com/hpbyte/edms/issues/1基本上,您必须转到AppServiceProvider文件并注释掉一些查询:
$numReq = count(User::where('status',false)->get());
View::share('requests',$numReq);
$trash = count(Document::where('isExpire',2)->get());
View::share('trashfull',$trash);
最好不要采用这样的内置查询。除了注释掉该部分并在composer安装后撤消该操作之外,您别无选择。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句