Warning: Illegal string offset 'top' in /www/wwwroot/hellyhua.com/wp-content/themes/Snape/single.php on line 45

错误编号:144

问题分析:
1.是频繁查询和更新表造成的索引错误,因为页面没有静态生成,而是动态页面。
2.是MYSQL数据库因为某种原因而受到了损坏。
(如:数据库服务器突发性的断电、在数据库表提供服务时对表进行某种操作都有可能导致数据库表被损坏而无法读取数据,还有就是因为某些不可测的问题造成表的损坏。)

解决方法:
注:修复数据库前一定要备份数据!

1.用 myisamchk 修复
举例说明:
数据库名:test
表名:test_member
myisamchk 工具路径:E:\wamp\bin\mysql\mysql5.1.36\bin\myisamchk.exe

开始 -> 运行 输入 cmd

进入 myisamchk 工具修复,具体步骤如图。若执行后不行,请把 –recover 改为 –safe -recover 修复。

2.通过phpmysqladmin修复一下表


Warning: Illegal string offset 'footer' in /www/wwwroot/hellyhua.com/wp-content/themes/Snape/single.php on line 49