ProjectException

Description

error_getArticleList [wrapped: Could not execute query [Native Error: Lost connection to MySQL server during query] [User Info: SELECT article.ARTICLEID, article.HEADER, article.SUBJECT, article.ORDERID, article.IMAGE, article.CREATEDATE, article.SHOWDATE, article.CATEGORYID, article.OWNERID, article.SITEID, article.ENDDATE, article.DELETED, article.HIDDEN, article.RATABLE, article.ISWINDOW, article.VISIT, category.CATEGORYID, category.CATEGORYNAME, category.COMMENT, category.PARENTID, category.GROUPID, category.LANGUAGEID, category.SITEID, category.OWNERID, category.DELETED, category.HIDDEN, category.ISWINDOW, category.TYPEINFO, category.DELETABLE, category.ISBARREN, category.VIEWRANDOM, category.ORDERVIEW, category.HEIGHT, category.IMAGEID FROM article, category WHERE article.CATEGORYID=8616 AND ShowDate <= now() AND article.HIDDEN='0' AND article.DELETED='0' AND category.LANGUAGEID=3 AND category.HIDDEN='0' AND category.DELETED='0' AND article.SITEID=0 AND article.CATEGORYID=category.CATEGORYID ORDER BY article.ORDERID DESC,article.ARTICLEID DESC LIMIT 15]]

Source File

/home/alhedaya/public_html/protected/pages/ArticleList.php (380)

0369:                                             "SourceSite"=> $row->getSite()->getTitle(),
0370:                                             "articleSummary"=> $this->request->Formatter->ResizeEndString($content->getContenthtml(), 800),
0371:                                             "ShowDate"=> PC::Date($row->getCreateDate())." ".Prado::Localize('hour')." ".$this->request->Formatter->getTime($row->getCreateDate()));
0372:                         $i_data[] = $return;
0373:                     }
0374:                 }
0375:             }
0376:             return $i_data;
0377:         }
0378:         catch  (Exception $ex)
0379:         {
0380: throw new ProjectException('error_getArticleList'.$ex->getMessage());
0381: } 0382: } 0383: public function getImageTag($text) 0384: { 0385: $text = preg_replace("/<(img|IMG){1}.*?(src|SRC){1}=.*?(flv|Multimedia).?.jpg[^>]{0,}>/si", "", $text); 0386: preg_match_all("/<(img|IMG){1}[^>]{0,}>/si", $text, $rtn); 0387: if(!$rtn[0][0]) 0388: { 0389: return ""; 0390: } 0391: else 0392: {

Stack Trace

#0 /home/alhedaya/public_html/protected/pages/ArticleList.php(292): ArticleList->getMyArticle(0, 15)
#1 /home/alhedaya/public_html/protected/pages/ArticleList.php(251): ArticleList->LoadData()
#2 /home/alhedaya/public_html/framework/pradolite.php(4073): ArticleList->OnLoad(NULL)
#3 /home/alhedaya/public_html/framework/pradolite.php(6053): TControl->loadRecursive()
#4 /home/alhedaya/public_html/framework/pradolite.php(6045): TPage->processNormalRequest(Object(THtmlWriter))
#5 /home/alhedaya/public_html/framework/pradolite.php(8162): TPage->run(Object(THtmlWriter))
#6 /home/alhedaya/public_html/framework/pradolite.php(8128): TPageService->runPage(Object(ArticleList), Array)
#7 /home/alhedaya/public_html/framework/pradolite.php(9089): TPageService->run()
#8 /home/alhedaya/public_html/framework/pradolite.php(8704): TApplication->runService()
#9 /home/alhedaya/public_html/en.php(141): TApplication->run()
#10 {main}
2018-04-26 05:29 Apache/2.2.31 (Unix) PHP/5.2.17 PRADO/3.1.2a