Discuz! info: MySQL Query Error

Time: 2008-11-21 1:30pm
Script: /bbs/index.php

SQL: REPLACE INTO [Table]caches (cachename, type, dateline, data) VALUES ('settings', '1', '1227245415', '$_DCACHE[\'settings\'] = array (
\'accessemail\' => \'\',
\'adminipaccess\' => \'\',
\'admode\' => \'1\',
\'archiverstatus\' => \'1\',
\'attachbanperiods\' => \'\',
\'attachimgpost\' => \'1\',
\'attachrefcheck\' => \'0\',
\'attachexpire\' => \'\',
\'attachsave\' => \'3\',
\'authkey\' => \'45e184UATtHR4SlF\',
\'bannedmessages\' => \'1\',
\'bbclosed\' => \'\',
\'bbinsert\' => \'1\',
\'bbname\' => \'Discuz! Board\',
\'bdaystatus\' => \'0\',
\'boardlicensed\' => \'0\',
\'censoremail\' => \'\',
\'censoruser\' => \'\',
\'creditsformula\' => \'$member[\\\'extcredits1\\\']\',
\'creditsformulaexp\' => \'\',
\'creditspolicy\' =>
array (
\'post\' =>
array (
),
\'reply\' =>
array (
),
\'digest\' =>
array (
1 => 10,
),
\'postattach\' =>
array (
),
\'getattach\' =>
array (
),
\'pm\' =>
array (
),
\'search\' =>
array (
),
),
\'creditstax\' => \'0.2\',
\'creditstrans\' => \'2\',
\'dateformat\' => \'Y-n-j\',
\'debug\' => \'1\',
\'delayviewcount\' => \'0\',
\'deletereason\' => \'\',
\'doublee\' => \'1\',
\'dupkarmarate\' => \'0\',
\'ec_account\' => \'\',
\'ec_maxcredits\' => \'1000\',
\'ec_maxcreditspermonth\' => \'0\',
\'ec_mincredits\' => \'0\',
\'ec_ratio\' => \'0\',
\'editedby\' => \'1\',
\'editoroptions\' => \'1\',
\'edittimelimit\' => \'\',
\'exchangemincredits\' => \'100\',
\'extcredits\' =>
array (
1 =>
array (
\'title\' => \'威望\',
\'showinthread\' => \'\',
),
2 =>
array (
\'title\' => \'金钱\',
\'showinthread\' => \'\',
),
),
\'fastpost\' => \'1\',
\'floodctrl\' => \'15\',
\'forumjump\' => \'0\',
\'globalstick\' => \'1\',
\'gzipcompress\' => \'0\',
\'hideprivate\' => \'1\',
\'hottopic\' => \'10\',
\'icp\' => \'\',
\'initcredits\' => \'0,0,0,0,0,0,0,0,0\',
\'infosidestatus\' => false,
\'ipaccess\' => \'\',
\'ipregctrl\' => \'\',
\'jscachelife\' => \'1800\',
\'jsrefdomains\' => \'\',
\'jsstatus\' => \'0\',
\'karmaratelimit\' => \'0\',
\'loadctrl\' => \'0\',
\'losslessdel\' => \'365\',
\'maxavatarpixel\' => \'120\',
\'maxavatarsize\' => \'20000\',
\'maxbdays\' => \'0\',
\'maxchargespan\' => \'0\',
\'maxfavorites\' => \'100\',
\'maxincperthread\' => \'0\',
\'maxmodworksmonths\' => \'3\',
\'maxonlinelist\' => \'0\',
\'maxpolloptions\' => \'10\',
\'maxpostsize\' => \'10000\',
\'maxsearchresults\' => \'500\',
\'maxsigrows\' => \'100\',
\'maxsmilies\' => \'10\',
\'maxspm\' => \'0\',
\'maxsubscriptions\' => \'100\',
\'membermaxpages\' => \'100\',
\'memberperpage\' => \'25\',
\'memliststatus\' => \'1\',
\'minpostsize\' => \'10\',
\'moddisplay\' => \'flat\',
\'modratelimit\' => \'0\',
\'modworkstatus\' => \'0\',
\'myrecorddays\' => \'30\',
\'newbiespan\' => \'0\',
\'nocacheheaders\' => \'0\',
\'oltimespan\' => \'10\',
\'onlinerecord\' => \'1 1040034649\',
\'outextcredits\' =>
array (
\'|\' =>
array (
\'title\' => NULL,
\'unit\' => NULL,
\'creditsrc\' =>
array (
\'\' => NULL,
),
),
),
\'postbanperiods\' => \'\',
\'postmodperiods\' => \'\',
\'postperpage\' => \'10\',
\'pvfrequence\' => \'60\',
\'qihoo\' =>
array (
),
\'ratelogrecord\' => \'5\',
\'regadvance\' => \'0\',
\'regctrl\' => \'0\',
\'regfloodctrl\' => \'0\',
\'regstatus\' => \'1\',
\'regverify\' => \'0\',
\'reportpost\' => \'1\',
\'rewritestatus\' => \'0\',
\'relatedtag\' => false,
\'rssstatus\' => \'1\',
\'rssttl\' => \'60\',
\'runwizard\' => \'1\',
\'searchbanperiods\' => \'\',
\'searchctrl\' => \'30\',
\'seccodestatus\' => \'0\',
\'seodescription\' => \'\',
\'seohead\' => \'\',
\'seokeywords\' => \'\',
\'seotitle\' => \'\',
\'seclevel\' => \'1\',
\'showemail\' => \'\',
\'showimages\' => \'1\',
\'showsettings\' => \'7\',
\'sitename\' => \'Comsenz Inc.\',
\'siteurl\' => \'http://www.comsenz.com/\',
\'smcols\' => \'4\',
\'smileyinsert\' => \'1\',
\'starthreshold\' => \'2\',
\'statscachelife\' => \'180\',
\'statstatus\' => \'\',
\'styleid\' => \'1\',
\'stylejump\' =>
array (
1 => \'默认风格\',
2 => \'喝彩奥运\',
3 => \'深邃永恒\',
4 => \'粉妆精灵\',
5 => \'诗意田园\',
6 => \'春意盎然\',
),
\'subforumsindex\' => \'\',
\'threadmaxpages\' => \'1000\',
\'threadsticky\' =>
array (
0 => \'全局置顶\',
1 => \'分类置顶\',
2 => \'本版置顶\',
),
\'thumbquality\' => \'100\',
\'timeformat\' => \'H:i\',
\'timeoffset\' => \'8\',
\'topicperpage\' => \'20\',
\'transfermincredits\' => \'1000\',
\'transsidstatus\' => \'0\',
\'userstatusby\' => \'1\',
\'visitbanperiods\' => \'\',
\'visitedforums\' => \'10\',
\'vtonlinestatus\' => \'1\',
\'warninglimit\' => \'3\',
\'warningexpiration\' => \'30\',
\'wapcharset\' => \'2\',
\'wapdateformat\' => \'n/j\',
\'wapmps\' => \'500\',
\'wapppp\' => \'5\',
\'wapstatus\' => \'1\',
\'waptpp\' => \'10\',
\'watermarkquality\' => \'80\',
\'watermarkstatus\' => \'0\',
\'watermarktrans\' => \'65\',
\'whosonlinestatus\' => \'1\',
\'indexname\' => \'index.php\',
\'spacedata\' =>
array (
\'cachelife\' => \'900\',
\'limitmythreads\' => \'5\',
\'limitmyreplies\' => \'5\',
\'limitmyrewards\' => \'5\',
\'limitmytrades\' => \'5\',
\'limitmyvideos\' => \'0\',
\'limitmyblogs\' => \'8\',
\'limitmyfriends\' => \'0\',
\'limitmyfavforums\' => \'5\',
\'limitmyfavthreads\' => \'0\',
\'textlength\' => \'300\',
),
\'thumbstatus\' => \'0\',
\'thumbwidth\' => \'400\',
\'thumbheight\' => \'300\',
\'forumlinkstatus\' => \'1\',
\'pluginjsmenu\' => \'插件\',
\'magicstatus\' => \'1\',
\'magicmarket\' => \'1\',
\'maxmagicprice\' => \'50\',
\'upgradeurl\' => \'http://localhost/develop/dzhead/develop/upgrade.php\',
\'ftp\' =>
array (
\'on\' => \'0\',
\'ssl\' => \'0\',
\'host\' => \'\',
\'port\' => \'21\',
\'username\' => \'\',
\'password\' => \'\',
\'attachdir\' => \'.\',
\'attachurl\' => \'\',
\'hideurl\' => \'0\',
\'timeout\' => \'0\',
\'connid\' => 0,
),
\'wapregister\' => \'0\',
\'welcomemsgtitle\' => \'{username},您好,感谢您的注册,请阅读以下内容。\',
\'cacheindexlife\' => \'0\',
\'cachethreadlife\' => \'0\',
\'cachethreaddir\' => \'forumdata/threadcaches\',
\'jsdateformat\' => \'\',
\'seccodedata\' =>
array (
\'minposts\' => \'\',
\'loginfailedcount\' => 0,
\'width\' => 150,
\'height\' => 60,
\'type\' => \'0\',
\'background\' => \'1\',
\'adulterate\' => \'1\',
\'ttf\' => \'0\',
\'angle\' => \'0\',
\'color\' => \'1\',
\'size\' => \'0\',
\'shadow\' => \'1\',
\'animator\' => \'0\',
),
\'frameon\' => \'0\',
\'framewidth\' => \'180\',
\'smrows\' => \'4\',
\'watermarktype\' => \'0\',
\'secqaa\' =>
array (
\'status\' =>
array (
1 => \'0\',
2 => \'0\',
3 => \'0\',
),
),
\'spacestatus\' => \'1\',
\'whosonline_contract\' => \'0\',
\'attachdir\' => \'/usr/vhome/c/h/a/changeway.com.cn/www/bbs/./attachments\',
\'attachurl\' => \'attachments\',
\'onlinehold\' => 900,
\'msgforward\' => \'a:3:{s:11:\"refreshtime\";i:3;s:5:\"quick\";i:1;s:8:\"messages\";a:13:{i:0;s:19:\"thread_poll_succeed\";i:1;s:19:\"thread_rate_succeed\";i:2;s:23:\"usergroups_join_succeed\";i:3;s:23:\"usergroups_exit_succeed\";i:4;s:25:\"usergroups_update_succeed\";i:5;s:20:\"buddy_update_succeed\";i:6;s:17:\"post_edit_succeed\";i:7;s:18:\"post_reply_succeed\";i:8;s:24:\"post_edit_delete_succeed\";i:9;s:22:\"post_newthread_succeed\";i:10;s:13:\"admin_succeed\";i:11;s:17:\"pm_delete_succeed\";i:12;s:15:\"search_redirect\";}}\',
\'smthumb\' => \'20\',
\'tagstatus\' => \'1\',
\'hottags\' => \'20\',
\'viewthreadtags\' => \'100\',
\'rewritecompatible\' => \'\',
\'imagelib\' => \'0\',
\'regname\' => \'register.php\',
\'reglinkname\' => \'注册\',
\'activitytype\' => \'朋友聚会
出外郊游
自驾出行
公益活动
线上活动\',
\'userdateformat\' =>
array (
0 => \'Y-n-j\',
1 => \'Y/n/j\',
2 => \'j-n-Y\',
3 => \'j/n/Y\',
),
\'tradetypes\' =>
array (
),
\'tradeimagewidth\' => \'200\',
\'tradeimageheight\' => \'150\',
\'ec_credit\' =>
array (
\'maxcreditspermonth\' => 6,
\'rank\' =>
array (
1 => 4,
2 => 11,
3 => 41,
4 => 91,
5 => 151,
6 => 251,
7 => 501,
8 => 1001,
9 => 2001,
10 => 5001,
11 => 10001,
12 => 20001,
13 => 50001,
14 => 100001,
15 => 200001,
),
),
\'mail\' => \'a:10:{s:8:\"mailsend\";s:1:\"1\";s:6:\"server\";s:13:\"smtp.21cn.com\";s:4:\"port\";s:2:\"25\";s:4:\"auth\";s:1:\"1\";s:4:\"from\";s:26:\"Discuz <username@21cn.com>\";s:13:\"auth_username\";s:17:\"username@21cn.com\";s:13:\"auth_password\";s:8:\"password\";s:13:\"maildelimiter\";s:1:\"0\";s:12:\"mailusername\";s:1:\"1\";s:15:\"sendmail_silent\";s:1:\"1\";}\',
\'watermarktext\' =>
array (
),
\'watermarkminwidth\' => \'0\',
\'watermarkminheight\' => \'0\',
\'historyposts\' => \'0 0\',
\'zoomstatus\' => \'1\',
\'maxbiotradesize\' => \'400\',
\'insenz\' =>
array (
),
\'google\' => 0,
\'baidusitemap\' => \'1\',
\'baidusitemap_life\' => \'12\',
\'uc\' =>
array (
\'addfeed\' => 1,
),
\'version\' => \'6.1.0\',
\'totalmembers\' => \'1\',
\'lastmember\' => \'admin\',
\'cachethreadon\' => 0,
\'cronnextrun\' => \'1227242905\',
\'jsmenu\' =>
array (
1 => true,
2 => true,
3 => true,
4 => true,
),
\'stylejumpstatus\' => \'1\',
\'globaladvs\' =>
array (
),
\'redirectadvs\' =>
array (
),
\'invitecredit\' => \'\',
\'vsiteurl\' => \'\',
\'vkey\' => NULL,
\'vsiteid\' => NULL,
\'videotype\' =>
array (
0 => \'新闻 军事 音乐 影视 动漫\',
),
\'videoopen\' => 0,
\'exchangestatus\' => true,
\'transferstatus\' => true,
\'pluginlinks\' =>
array (
),
\'plugins\' =>
array (
),
\'hooks\' =>
array (
),
\'ucappopen\' =>
array (
),
\'ucapp\' =>
array (
),
\'uchomeurl\' => \'\',
\'medalstatus\' => 0,
);

')
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '\'cacheindexlife\' => \'0\',
\'cachethreadlife\' => \'0\',

Errno.: 1064

Similar error report has beed dispatched to administrator before.

到 http://faq.comsenz.com 搜索此错误的解决方案