Laravel 5 / PyroCMS'没有为[streams]定义提示路径。'

时间:2016-11-10 16:33:11

标签: php laravel pyrocms

我不知道自己做了什么,我已经在好几个地方进行过搜索,到目前为止没有人帮我过。

我在本地主机上安装了PyroCMS,并且在转移到服务器时发出此错误,是否缺少某些配置?它会是什么?

[10-Nov-2016 15:25:18 UTC] PHP Fatal error:  Uncaught exception 'InvalidArgumentException' with message 'No hint path defined for [streams].' in /home/sppraiascom/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:112
Stack trace:
#0 /home/sppraiascom/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php(90): Illuminate\View\FileViewFinder->getNamespaceSegments('streams::errors...')
#1 /home/sppraiascom/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php(76): Illuminate\View\FileViewFinder->findNamedPathView('streams::errors...')
#2 /home/sppraiascom/vendor/laravel/framework/src/Illuminate/View/Factory.php(174): Illuminate\View\FileViewFinder->find('streams::errors...')
#3 /home/sppraiascom/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(69): Illuminate\View\Factory->make('streams::errors...', Array)
#4 /home/sppraiascom/vendor/anomaly/streams-platform/src/Exception/ExceptionHandler.php(41): Illuminate\Routing\ResponseFactory->view('streams::errors...', Array, 500)
#5 /home/sppraiascom/vendor/larave in /home/sppraiascom/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php on line 112

1 个答案:

答案 0 :(得分:1)

我有同样的问题。对我有用的是使用一个MySQL用户帐户,该帐户将localhost作为MySQL中的用户主机('username @ localhost'而不是'username @%')。