Exception: FLEA_Db_Exception_SqlQuery
Message: SQL 错误消息: "Table 'member_blog_replay' is marked as crashed and should be repaired"
SQL 语句: "SELECT `member_blog_replay`.`mbbid` AS flea_pkref_mbbid, `member_blog_replay`.* FROM `member_blog_replay` WHERE `member_blog_replay`.`mbbid` IN ('1392','1390','1391')"
SQL 错误代码: "7335941".
Filename: /www/web/ggblog/public_html/libs/FLEA/FLEA/Db/Driver/Abstract.php [513]
#9 FLEA_Db_Driver_Mysql::execute('SELECT `member_blog_replay` ...')
ARGS:
Array
(
[0] => SELECT `member_blog_replay`.`mbbid` AS flea_pkref_mbbid, `member_blog_replay`.* FROM `member_blog_replay` WHERE `member_blog_replay`.`mbbid` IN ('1392','1390','1391')
)
SOURCE CODE:
503 |
} else {
|
504 |
if (!is_null($limit)) {
|
505 |
if (is_array($limit)) {
|
506 |
list($length, $offset) = $limit;
|
507 |
} else {
|
508 |
$length = $limit;
|
509 |
$offset = 0;
|
510 |
}
|
511 |
$res = $this->selectLimit($sql, $length, $offset);
|
512 |
} else {
|
513 |
$res = $this->execute($sql);
|
514 |
}
|
515 |
}
|
516 |
|
517 |
if ($oneToOne) {
|
518 |
// 一对一组装数据
|
519 |
while ($row = $this->fetchAssoc($res)) {
|
520 |
$rkv = $row[$refKeyName];
|
521 |
unset($row[$refKeyName]);
|
522 |
$assocRowset[$rkv][$mappingName] = $row;
|
523 |
}
|
Filename: /www/web/ggblog/public_html/libs/FLEA/FLEA/Db/TableDataGateway.php [483]
#8 FLEA_Db_Driver_Abstract::assemble('SELECT `member_blog_replay` ...', array(3), 'replay', , 'flea_pkref_mbbid', )
ARGS:
Array
(
[0] => SELECT `member_blog_replay`.`mbbid` AS flea_pkref_mbbid, `member_blog_replay`.* FROM `member_blog_replay` WHERE `member_blog_replay`.`mbbid` IN ('1392','1390','1391')
[1] => Array
(
[1392] => Array
(
[mbbid] => 1392
[mbid] => 52
[mbcid] => 0
[title] => 携帯ブログも簡単に更新できます。
[content] => <p class="p0" style="margin-bottom: 0pt; margin-top: 0pt;"> </p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; text-align: center;"><input type="image" src="/userfile/qe.png?phpMyAdmin=AtBuAMLweJKF9pN8bSADP031509" /></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt;"> </p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt;"><span style="font-size: medium;"><span style="line-height: 200%;"><span style="font-weight: normal; font-family: 'MS Gothic';">携帯電話からブログを簡単更新!</span></span></span><span style="font-weight: normal; font-size: 9pt; font-family: 'MS Gothic';"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt;"><span style="font-size: medium;"><span style="line-height: 200%;"><span style="font-weight: normal; font-family: 'MS Gothic';">さあ、今すぐモバイルアクセスしてみよう!</span></span></span><span style="font-weight: normal; font-size: 9pt; font-family: 'MS Gothic';"><o:p></o:p></span></p>
[click] => 0
[tags] => 携帯ブログも簡単に更新できます。
[is_good] => 0
[created] => 2010-06-29 16:24:53
[updated] => 2010-06-29 16:26:37
[img1] =>
[img2] =>
[img3] =>
[img4] =>
[img5] =>
[img6] =>
[img7] =>
[img8] =>
[img9] =>
[img10] =>
[blog] => Array
(
[mbid] => 52
[tpid] => 1
[mtpid] => 1
[enname] => templates
[name] => サンプルサイト
[poster] => サンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイト
[is_day] => 0
[is_month] => 0
[is_class] => 0
[is_record] => 0
[is_friend] => 0
[is_near] => 0
[info] =>
[qr] => qr-img-20090910141220.png
[flag] => 0
[click] => 78808
[created] => 2009-09-10 14:12:20
[mid] => 56
)
[category] =>
[replay] =>
)
[1390] => Array
(
[mbbid] => 1390
[mbid] => 52
[mbcid] => 0
[title] => 今すぐブログを作成しましょう!
[content] => <p style="margin-bottom: 0pt; margin-top: 0pt; text-align: center;" class="p0"><input type="image" src="/userfile/logo.JPG?phpMyAdmin=AtBuAMLweJKF9pN8bSADP031509" /></p>
<p style="margin-bottom: 0pt; margin-top: 0pt; text-align: center;" class="p0"><a href="http://blog.acty-b.net/index.php?controller=Index&action=Register"><bdo dir="rtl"><strong><span style="font-size: larger;"><br />
</span></strong></bdo></a></p>
<p style="margin-bottom: 0pt; margin-top: 0pt; text-align: center;" class="p0"><a href="http://blog.acty-b.net/index.php?controller=Index&action=Register"><span style="font-size: x-large;"><bdo dir="ltr"><strong><span style="color: rgb(0, 0, 0); font-weight: normal; font-family: 'MS Gothic';">ブログの新規作成(無料)</span></strong></bdo></span></a></p>
<p> </p>
<p><span style="font-size: medium;"><span style="color: rgb(255, 0, 0); font-weight: normal; font-family: 'MS Gothic';">※ご注意:ここはテンプレートデザインプレビュー画面です。</span></span><span style="color: rgb(255, 0, 0); font-weight: normal; font-size: 9pt; font-family: 'MS Gothic';"><o:p></o:p></span></p>
<p><span style="font-size: medium;"><span style="color: rgb(255, 0, 0); font-weight: normal; font-family: 'MS Gothic';">お好きなデザインのテンプレートを選択</span><span style="color: rgb(255, 0, 0); font-weight: normal; font-family: 'MS Gothic';">ください。</span></span><span style="color: rgb(255, 0, 0); font-weight: normal; font-size: 9pt; font-family: 'MS Gothic';"><o:p></o:p></span></p>
[click] => 0
[tags] => 今すぐブログを作成しましょう!
[is_good] => 0
[created] => 2010-06-29 16:19:59
[updated] => 2010-06-29 16:40:10
[img1] =>
[img2] =>
[img3] =>
[img4] =>
[img5] =>
[img6] =>
[img7] =>
[img8] =>
[img9] =>
[img10] =>
[blog] => Array
(
[mbid] => 52
[tpid] => 1
[mtpid] => 1
[enname] => templates
[name] => サンプルサイト
[poster] => サンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイト
[is_day] => 0
[is_month] => 0
[is_class] => 0
[is_record] => 0
[is_friend] => 0
[is_near] => 0
[info] =>
[qr] => qr-img-20090910141220.png
[flag] => 0
[click] => 78808
[created] => 2009-09-10 14:12:20
[mid] => 56
)
[category] =>
[replay] =>
)
[1391] => Array
(
[mbbid] => 1391
[mbid] => 52
[mbcid] => 0
[title] => オリジナルモジュール
[content] => <p style="margin-bottom: 10.5pt; margin-top: 10.5pt;" class="p0"><span style="font-size: medium;"><span style="font-weight: normal; font-family: 'MS Gothic';">「オリジナルモジュール」は、自由に使えるエリアです。</span></span><span style="font-weight: normal; font-size: 9pt; font-family: 'MS Gothic';"><o:p></o:p></span></p>
<p style="margin-bottom: 10.5pt; margin-top: 10.5pt;" class="p0"><span style="font-size: medium;"><span style="font-weight: normal; font-family: 'MS Gothic';">常に表示し</span><span style="font-weight: normal; font-family: 'MS Gothic';">たい部分</span><span style="font-weight: normal; font-family: 'MS Gothic';">や、アピールしたい事など、色々ご活用</span><span style="font-weight: normal; font-family: 'MS Gothic';">できます。</span></span><span style="font-weight: normal; font-size: 9pt; font-family: 'MS Gothic';"><o:p></o:p></span></p>
<p style="margin-bottom: 10.5pt; margin-top: 10.5pt;" class="p0"><span style="font-size: medium;"><span style="font-weight: normal; font-family: 'MS Gothic';">今すぐブログを書きましょう!</span></span><span style="font-weight: normal; font-size: 9pt; font-family: 'MS Gothic';"><o:p></o:p></span></p>
[click] => 0
[tags] =>
[is_good] => 0
[created] => 2010-06-29 16:22:03
[updated] => 2010-06-29 16:22:03
[img1] =>
[img2] =>
[img3] =>
[img4] =>
[img5] =>
[img6] =>
[img7] =>
[img8] =>
[img9] =>
[img10] =>
[blog] => Array
(
[mbid] => 52
[tpid] => 1
[mtpid] => 1
[enname] => templates
[name] => サンプルサイト
[poster] => サンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイトサンプルサイト
[is_day] => 0
[is_month] => 0
[is_class] => 0
[is_record] => 0
[is_friend] => 0
[is_near] => 0
[info] =>
[qr] => qr-img-20090910141220.png
[flag] => 0
[click] => 78808
[created] => 2009-09-10 14:12:20
[mid] => 56
)
[category] =>
[replay] =>
)
)
[2] => replay
[3] =>
[4] => flea_pkref_mbbid
[5] =>
)
SOURCE CODE:
473 |
* 查询获得数据后,将关联表的数据和主表数据装配在一起
|
474 |
*/
|
475 |
$callback = create_function('& $r, $o, $m', '$r[$m] = null;');
|
476 |
foreach ($this->links as $link) {
|
477 |
/* @var $link FLEA_Db_TableLink */
|
478 |
$mn = $link->mappingName;
|
479 |
if (!$link->enabled || !$link->linkRead) { continue; }
|
480 |
if (!$link->countOnly) {
|
481 |
array_walk($assocRowset, $callback, $mn);
|
482 |
$sql = $link->getFindSQL($in);
|
483 |
$this->dbo->assemble($sql, $assocRowset, $mn, $link->oneToOne, $this->pka, $link->limit);
|
484 |
} else {
|
485 |
$link->calcCount($assocRowset, $mn, $in);
|
486 |
}
|
487 |
}
|
488 |
|
489 |
return $rowset;
|
490 |
}
|
491 |
|
492 |
/**
|
493 |
* 对单一记录进行递归查询,并将查询结果组装到记录中
|
Filename: /www/web/ggblog/public_html/app/Modle/Blog.php [369]
#7 FLEA_Db_TableDataGateway::findAll(array(1))
ARGS:
Array
(
[0] => Array
(
[mbid] => 52
)
)
SOURCE CODE:
359 |
exit;
|
360 |
}
|
361 |
|
362 |
$Table_MemberBowen = & FLEA::getSingleton('Table_MemberBowen');
|
363 |
$Modle_Time = & FLEA::getSingleton('Modle_Time');
|
364 |
|
365 |
$info = array(
|
366 |
'mbid' => $ID,
|
367 |
);
|
368 |
|
369 |
$blog = $Table_MemberBowen->findAll($info);
|
370 |
if($blog){
|
371 |
$times = array();
|
372 |
for($i = 0; $i < count($blog); $i++){
|
373 |
if($blog[$i][created]){
|
374 |
$dates = $Modle_Time->getTime($blog[$i][created]);
|
375 |
if(!in_array(date('Y-m-d', $dates), $times)){
|
376 |
$times[] = date('Y-m-d', $dates);
|
377 |
}
|
378 |
}
|
379 |
}
|
Filename: /www/web/ggblog/public_html/app/Modle/Blog.php [351]
#6 Modle_Blog::_blogTime('52')
ARGS:
Array
(
[0] => 52
)
SOURCE CODE:
341 |
if(empty($ID) || !isset($ID)){
|
342 |
return false;
|
343 |
exit;
|
344 |
}
|
345 |
|
346 |
$Modle_Time = & FLEA::getSingleton('Modle_Time');
|
347 |
|
348 |
$date = empty($now)?date('Y-m-d H:i:s'):$now;
|
349 |
|
350 |
|
351 |
return $Modle_Time->dt($date, $this->_blogTime($ID), '/Front/List/U/' . $U);
|
352 |
|
353 |
}
|
354 |
|
355 |
//查询当前用户id 所有写博客的时间 返回数组
|
356 |
function _blogTime($ID){
|
357 |
if(empty($ID) || !isset($ID)){
|
358 |
return false;
|
359 |
exit;
|
360 |
}
|
361 |
|
Filename: /www/web/ggblog/public_html/app/Controller/Front.php [135]
#5 Modle_Blog::getTimeBar('52', 'Kubota', )
ARGS:
Array
(
[0] => 52
[1] => Kubota
[2] =>
)
SOURCE CODE:
125 |
$headcontent .= '
|
126 |
<script>(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "//connect.facebook.net/ja_JP/all.js#xfbml=1";fjs.parentNode.insertBefore(js, fjs);}(document, "script", "facebook-jssdk"));</script>
|
127 |
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
|
128 |
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
129 |
|
130 |
|
131 |
';
|
132 |
$this->smarty->assign('headcontent', $headcontent);
|
133 |
|
134 |
//时间栏目
|
135 |
$this->smarty->assign('timebar', $Modle_Blog->getTimeBar($blog_e_rlt[member][mid], $_GET[U], $_GET[T]));
|
136 |
//月份栏目
|
137 |
$this->smarty->assign('month', $Modle_Blog->getBlogMonth($blog_e_rlt[member][mid]));
|
138 |
//最近访问栏目
|
139 |
$this->smarty->assign('near', $Modle_Near->getNearMember($blog_e_rlt[member][mid], 9));
|
140 |
//好友栏目
|
141 |
$this->smarty->assign('friend', $Modle_Friend->getFriends($blog_e_rlt[member][mid]), 9);
|
142 |
//最新记事
|
143 |
$this->smarty->assign('nearthing', $Modle_Blog->getNearThing($blog_e_rlt[member][mid]));
|
144 |
//分类显示
|
145 |
$this->smarty->assign('scate', $Modle_Blog->getBlogCategory($blog_e_rlt[member][mid]));
|
Filename: /www/web/ggblog/public_html/libs/FLEA/FLEA/Dispatcher/Simple.php [106]
#4 Controller_Front::Controller_Front('Front')
ARGS:
Array
(
[0] => Front
)
SOURCE CODE:
96 |
|
97 |
$controller = null;
|
98 |
$controllerClassFilename = null;
|
99 |
do {
|
100 |
// 载入控制对应的类定义
|
101 |
if (!$this->_loadController($controllerClass)) { break; }
|
102 |
|
103 |
// 构造控制器对象
|
104 |
FLEA::setAppInf('FLEA.internal.currentControllerName', $controllerName);
|
105 |
FLEA::setAppInf('FLEA.internal.currentActionName', $actionName);
|
106 |
$controller =& new $controllerClass($controllerName);
|
107 |
if (!method_exists($controller, $actionMethod)) { break; }
|
108 |
if (method_exists($controller, '__setController')) {
|
109 |
$controller->__setController($controllerName, $actionName);
|
110 |
}
|
111 |
if (method_exists($controller, '__setDispatcher')) {
|
112 |
$controller->__setDispatcher($this);
|
113 |
}
|
114 |
|
115 |
// 调用 _beforeExecute() 方法
|
116 |
if (method_exists($controller, '_beforeExecute')) {
|
Filename: /www/web/ggblog/public_html/libs/FLEA/FLEA/Dispatcher/Simple.php [77]
#3 FLEA_Dispatcher_Simple::_executeAction('Front', 'Index', 'Controller_Front')
ARGS:
Array
(
[0] => Front
[1] => Index
[2] => Controller_Front
)
SOURCE CODE:
67 |
|
68 |
/**
|
69 |
* 从请求中分析 Controller、Action 和 Package 名字,然后执行指定的 Action 方法
|
70 |
*
|
71 |
* @return mixed
|
72 |
*/
|
73 |
function dispatching()
|
74 |
{
|
75 |
$controllerName = $this->getControllerName();
|
76 |
$actionName = $this->getActionName();
|
77 |
return $this->_executeAction($controllerName, $actionName, $this->getControllerClass($controllerName));
|
78 |
}
|
79 |
|
80 |
/**
|
81 |
* 执行指定的 Action 方法
|
82 |
*
|
83 |
* @param string $controllerName
|
84 |
* @param string $actionName
|
85 |
* @param string $controllerClass
|
86 |
*
|
87 |
* @return mixed
|
Filename: /www/web/ggblog/public_html/libs/FLEA/FLEA.php [816]
#2 FLEA_Dispatcher_Simple::dispatching()
ARGS:
Array
(
)
SOURCE CODE:
806 |
require_once($MVCPackageFilename);
|
807 |
}
|
808 |
FLEA::init();
|
809 |
|
810 |
// 载入调度器并转发请求到控制器
|
811 |
$dispatcherClass = FLEA::getAppInf('dispatcher');
|
812 |
FLEA::loadClass($dispatcherClass);
|
813 |
|
814 |
$dispatcher =& new $dispatcherClass($_GET);
|
815 |
FLEA::register($dispatcher, $dispatcherClass);
|
816 |
$dispatcher->dispatching();
|
817 |
}
|
818 |
|
819 |
/**
|
820 |
* 准备运行环境
|
821 |
*
|
822 |
* @param boolean $loadMVC
|
823 |
*/
|
824 |
function init($loadMVC = false)
|
825 |
{
|
826 |
static $firstTime = true;
|
Filename: /www/web/ggblog/public_html/index.php [15]
#1 FLEA::runMVC()
ARGS:
Array
(
)
SOURCE CODE:
5 |
}
|
6 |
|
7 |
define('NO_LEGACY_FLEAPHP', true);
|
8 |
require('libs/FLEA/FLEA.php');
|
9 |
|
10 |
define('I_URL', dirname(__FILE__));
|
11 |
|
12 |
FLEA::loadAppInf($configFilename);
|
13 |
FLEA::import(I_URL . '/app');
|
14 |
|
15 |
FLEA::runMVC();
|
16 |
?>
|