【问题标题】:Joomla 500 ErrorJoomla 500 错误
【发布时间】:2014-05-22 12:45:25
【问题描述】:

我试图在我的本地主机上登录我的 Joomla 管理员,但我不断收到 500 错误。

我已经尝试了很多东西:

更改的文件权限:

chmod 777 error.php,
chmod 775 cache, logs adminstrator etc

我尝试在我的 htaccess 中取消注释 # RewriteBase /

我已将 configuration.php 中的路径更改为:

public $log_path = './logs';
public $tmp_path = './tmp';

我还检查了我的 apached 错误日志,它返回以下内容:

[22-May-2014 14:17:49 Europe/Berlin] PHP Warning: fopen(./logs/error.php): failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/mydir/libraries/joomla/log/loggers/formattedtext.php on line 248
[22-May-2014 14:17:49 Europe/Berlin] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /Applications/XAMPP/xamppfiles/htdocs/mydir/libraries/joomla/log/loggers/formattedtext.php on line 254

非常感谢任何帮助 ,

【问题讨论】:

    标签: joomla content-management-system localhost


    【解决方案1】:

    创建目录

    /Applications/XAMPP/xamppfiles/htdocs/mydir/libraries/joomla/log/loggers/logs
    

    然后再试一次

    【讨论】:

    • 感谢您的回复克里斯。我已经尝试了你的建议,不幸的是我仍然遇到同样的错误。错误日志也与我上面提到的行一起返回,并且由于添加了新的日志目录,没有任何内容写入它
    • 尝试更改 public $log_path = './logs'; to public $log_path = '/full/path/to/directory/that/definitely/exists/logs';
    • 对日志和 tmp 目录都试过了。还是一样的问题
    • 从外观上看是一台windows机器,所以你可能需要把驱动名放进去
    • 好的,我想我可能会有所收获。配置文件中的路径是正确的,所以我做了 chmod 777 以允许写入目录。现在,当我尝试登录 Joomla 管理员时,我收到一个错误,提示我的用户名和密码不正确,所以我假设我会从 phpmyadmin 那里得到它?
    猜你喜欢
    • 1970-01-01
    • 2016-05-05
    • 2014-05-29
    • 1970-01-01
    • 2012-11-14
    • 2011-09-09
    • 2023-03-22
    • 1970-01-01
    • 2013-01-30
    相关资源
    最近更新 更多