为什么joomla 2.5会话表损坏? [英] why does joomla 2.5 session table corrupt?
问题描述
我使用Joomla运行网站! 2.5.9 7个月。一切都进行得很好,直到本周。在星期一和今天(星期五)网站未能运行,因为 **** _ session
表已被分解。我没有机会看看日志有什么问题。
I am running a website using Joomla! 2.5.9 for 7 months. Everything was going fine until this week. On monday and today(Friday) web site fails to run because of ****_session
table has been broken down. I don't have a chance to take a look at logs about what is wrong.
无论如何,我星期一修复了表,一切正常,直到今天。今天又重复了同样的错误。然后我再次修理。我不想让表破损,不想再修复。
Anyway, I repaired the table on Monday and everything was normal until today. Today it repeated the same error. Then I repaired again. I don't want the table to be broken and don't want to repair it again.
我想知道Joomla是否有漏洞!或者服务器端有其他的东西。
I want to know if there is a vulnerability about Joomla! or there is something else on server side.
推荐答案
我创建了一个页面,当崩溃时手动修复表。
I have made a page which repairs the table manually when crashed.
<?php
//file = repair/index.php
include '../configuration.php'; //has JConfig class
$cfg = new JConfig();
$mysqli = new mysqli($cfg->host, $cfg->user, $cfg->password, $cfg->db);
if($mysqli->query('REPAIR TABLE prefix_session'))
echo 'Hey!';
else
echo 'An error occured call zkanoca';
?>
< nofollow> http://example.com/repair ,可以。
这篇关于为什么joomla 2.5会话表损坏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!