先用phpmyadmin对数据表先进行一次修复,看看还有这种情况没?
如果还不行再把数据库的数据备份一个,记着把备份保存一下,然后再新建个目录再重装一个论坛,然后用旧的论坛连上这个数据库,新论坛就可以删了,再登录旧论坛的后台,进行一次数据导入就可以了
是因为68 => \'职砛', 这部分,职砛之后的单引号没有转义。把'替换为\'即可。
以下是SQL语句,请到后台或者phpmyadmin运行:
REPLACE INTO cdb_caches (cachename, type, dateline, data) VALUES ('tags_viewthread', '1', '1248687348', '$_DCACHE[\'tags\'] = array (
0 => \'创业\',
1 => \'成功\',
2 => \'情感\',
3 => \'企业管理\',
4 => \'爱情\',
5 => \'职场\',
6 => \'时尚\',
7 => \'管理\',
8 => \'广告\',
9 => \'营销\',
10 => \'创意\',
11 => \'笑话\',
12 => \'项目\',
13 => \'加盟\',
14 => \'策划\',
15 => \'幽默\',
16 => \'销售\',
17 => \'投资\',
18 => \'女人\',
19 => \'经典\',
20 => \'男人\',
21 => \'技巧\',
22 => \'素质\',
23 => \'杂谈\',
24 => \'激励\',
25 => \'原因\',
26 => \'学习\',
27 => \'大学生创业\',
28 => \'人力资源管理\',
29 => \'美食\',
30 => \'流行\',
31 => \'美丽\',
32 => \'失败\',
33 => \'人生\',
34 => \'创业者\',
35 => \'网上创业\',
36 => \'小本创业\',
37 => \'开心\',
38 => \'文学\',
39 => \'融资\',
40 => \'理财\',
41 => \'团队\',
42 => \'市场营销\',
43 => \'大学生\',
44 => \'销售技巧\',
45 => \'职业\',
46 => \'幸福\',
47 => \'培训\',
48 => \'娱乐\',
49 => \'品牌\',
50 => \'招商\',
51 => \'励志\',
52 => \'合作\',
53 => \'防骗\',
54 => \'创业指导\',
55 => \'点子\',
56 => \'选址\',
57 => \'开店\',
58 => \'搞笑\',
59 => \'原创\',
60 => \'欣赏\',
61 => \'老板\',
62 => \'设计\',
63 => \'方案\',
64 => \'中小企业\',
65 => \'致富\',
66 => \'格言\',
67 => \'财富\',
68 => \'职砛\',
69 => \'礼仪\',
70 => \'交际\',
71 => \'网络营销\',
72 => \'白领\',
73 => \'领导艺术\',
74 => \'客户\',
75 => \'服务器\',
76 => \'美女\',
77 => \'政策\',
78 => \'交流\',
79 => \'征婚\',
80 => \'单身\',
81 => \'感情\',
82 => \'家庭\',
83 => \'歌曲\',
84 => \'人才\',
85 => \'网络\',
86 => \'优势\',
87 => \'健康\',
88 => \'故事\',
89 => \'运营管理\',
90 => \'HR管理\',
91 => \'中国\',
92 => \'职业规划\',
93 => \'技术\',
94 => \'九洲圣达\',
95 => \'行动\',
96 => \'创新\',
97 => \'九阴真经\',
98 => \'女性创业\',
99 => \'赚钱\',
);
给你个建议,去掉99后面的逗号,察看那些单引号是否正确,`和'是不一样的在mysql数据库中。