0

我是 joomla 的新手,我正在配置我的第一个站点,但由于全局配置出现问题,当我尝试保存它时,我收到 500 错误。

我正在使用 php 内部服务器来运行它,“php -S localhost:8081”......其他一切都很好......

这是堆栈跟踪,似乎不是权限错误,但我不确定。

500 - An error has occurred.

JModel: :getName() : Can't get or parse class name.

Return to Control Panel
Call stack
# Function Location
1 JAdministrator->dispatch() /home/dshiga/dev/joomla_hairs/administrator/index.php:46
2 JComponentHelper::renderComponent() /home/dshiga/dev/joomla_hairs/administrator/includes/application.php:153
3 JComponentHelper::executeComponent() /home/dshiga/dev/joomla_hairs/libraries/joomla/application/component/helper.php:351
4 require_once() /home/dshiga/dev/joomla_hairs/libraries/joomla/application/component/helper.php:383
5 JController->execute() /home/dshiga/dev/joomla_hairs/administrator/components/com_config/config.php:18
6 ConfigControllerApplication->save() /home/dshiga/dev/joomla_hairs/libraries/joomla/application/component/controller.php:761
7 JController->getModel() /home/dshiga/dev/joomla_hairs/administrator/components/com_config/controllers/application.php:55
8 JController->createModel() /home/dshiga/dev/joomla_hairs/libraries/joomla/application/component/controller.php:793
9 JModel::getInstance() /home/dshiga/dev/joomla_hairs/libraries/joomla/application/component/controller.php:599
10 JModel->__construct() /home/dshiga/dev/joomla_hairs/libraries/joomla/application/component/model.php:201
11 JError::raiseError() /home/dshiga/dev/joomla_hairs/libraries/joomla/application/component/model.php:220
12 JError::raise() /home/dshiga/dev/joomla_hairs/libraries/joomla/error/error.php:251
4

1 回答 1

1

最后发现,问题是通过“php -S”命令使用php内部服务器引起的,不知道究竟是什么导致了这种情况下的错误,但是将站点托管在apache下解决了这个问题。

于 2013-04-24T16:37:00.960 回答