我是Grav的首次用户。
1.我下载了“ Grav”核心。
2.将其解压缩到Apache Web服务器的根目录(使用最新的XAMPP),
3.在htdocs目录中将权限修改为777(使用chmod -R 777 .
)
4.启动网站。
我遇到以下错误:
> [2019-05-13 08:17:09] grav.CRITICAL: Class
> 'Grav\Plugin\Problems\._PHPModules' not found - Trace: #0
> /opt/lampp/htdocs/user/plugins/problems/problems.php(128):
> Grav\Plugin\Problems\Base\ProblemChecker->check('/opt/lampp/htdo...')
> #1 /opt/lampp/htdocs/user/plugins/problems/problems.php(47): Grav\Plugin\ProblemsPlugin->problemsFound() #2
> /opt/lampp/htdocs/vendor/symfony/event-dispatcher/EventDispatcher.php(212):
> Grav\Plugin\ProblemsPlugin->onFatalException(Object(RocketTheme\Toolbox\Event\Event),
> 'onFatalExceptio...',
> Object(RocketTheme\Toolbox\Event\EventDispatcher)) #3
> /opt/lampp/htdocs/vendor/symfony/event-dispatcher/EventDispatcher.php(44):
> Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array,
> 'onFatalExceptio...', Object(RocketTheme\Toolbox\Event\Event)) #4
> /opt/lampp/htdocs/vendor/rockettheme/toolbox/Event/src/EventDispatcher.php(23):
> Symfony\Component\EventDispatcher\EventDispatcher->dispatch('onFatalExceptio...',
> Object(RocketTheme\Toolbox\Event\Event)) #5
> /opt/lampp/htdocs/system/src/Grav/Common/Grav.php(365):
> RocketTheme\Toolbox\Event\EventDispatcher->dispatch('onFatalExceptio...',
> Object(RocketTheme\Toolbox\Event\Event)) #6
> /opt/lampp/htdocs/index.php(55):
> Grav\Common\Grav->fireEvent('onFatalExceptio...',
> Object(RocketTheme\Toolbox\Event\Event)) #7 {main} [] []
答案 0 :(得分:0)
尽管如此,我也没有花时间在本地计算机上解决此问题,但我找到了解决方法。我下载了所需的grav骨架zip文件,并将其上传到托管服务提供商的文件管理器中。然后,我将其提取到那里并启动了网站。像魅力一样工作!引用了此链接https://www.youtube.com/watch?v=8yyE-LaAa8Y