简体   繁体   English

注销后的Joomla 3.3.3错误

[英]Joomla 3.3.3 error after logout

I need to install Joomla on a webserver - first, I wasn't able to install Joomla on my remote webserver, because the installation wasn't able to complete step 1 (don't know why), so I installed it on my local computer and uploaded the finished installation on my webserver. 我需要在Web服务器上安装Joomla-首先,我无法在远程Web服务器上安装Joomla,因为安装无法完成第1步(不知道为什么),所以我将其安装在本地计算机并将完成的安装上传到我的网络服务器上。 So, everything was fine and I now I have a "working" joomla on my webserver. 因此,一切都很好,现在我的网络服务器上有一个“正在运行的” joomla。

BUT: I can log in with my admin username and password and so on, but when I click "logout" I get a blank page, only an empty body-tag. 但是:我可以使用管理员用户名和密码等进行登录,但是当我单击“注销”时,我得到一个空白页,只有一个空的正文标签。

Looking at the error.log file: 查看error.log文件:

 PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to
allocate 3094558001 bytes) in [...]/www/libraries/joomla/filter/input.php on line 706

Everytime I want to open the start page, this error is appending to the log file. 每次我要打开起始页时,此错误都会附加到日志文件中。 I googled and searched stackoverflow, but dind't find any solution. 我用谷歌搜索了stackoverflow,但是没有找到任何解决方案。

The allowed memory size of this webserver seems to be 128MB, and the script wants to allocate about 3GB? 该Web服务器允许的内存大小似乎为128MB,脚本是否要分配约3GB? For me this looks like the joomla developers did a bad job here, but I don't know. 对我来说,这似乎是joomla开发人员在这里做的不好,但我不知道。 The funny thing is, when I google that error message, there are a lot ( ! ) of websites that are not working because of that error. 有趣的是,当我搜索该错误消息时,有很多(!)网站因该错误而无法运行。

Please help me! 请帮我!

OK I just commented out the few lines of code there and it seems that everything works fine now. 好的,我只是注释掉了几行代码,看来现在一切正常。 So if somebody has the same problem as me, just comment out that few lines and hopefully it works too! 因此,如果有人和我有同样的问题,只需注释掉那几行,并希望它也能起作用!

Lines 702-713 702-713行

// Convert decimal
/*$source = preg_replace_callback('/&#(\d+);/m', function($m)
{
    return utf8_encode(chr($m[1]));
}, $source
);

// Convert hex
$source = preg_replace_callback('/&#x([a-f0-9]+);/mi', function($m)
{
    return utf8_encode(chr('0x' . $m[1]));
}, $source
);*/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM