Severity: Warning
Message: mysqli::query(): (08S01/1053): Server shutdown in progress
Filename: mysqli/mysqli_driver.php
Line Number: 307
Backtrace:
File: /home/wwwchhat/public_html/application/modules/home/models/Home_model.php
Line: 115
Function: get
File: /home/wwwchhat/public_html/application/modules/home/controllers/Home.php
Line: 47
Function: get_random_post
File: /home/wwwchhat/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/wwwchhat/public_html/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 570
Backtrace:
File: /home/wwwchhat/public_html/application/modules/home/models/Home_model.php
Line: 115
Function: get
File: /home/wwwchhat/public_html/application/modules/home/controllers/Home.php
Line: 47
Function: get_random_post
File: /home/wwwchhat/public_html/index.php
Line: 315
Function: require_once
Error Number: 1053
Server shutdown in progress
SELECT `t1`.*, `t2`.`name` as `category`, `t2`.`url` as `category_url`, `t3`.`name` as `user` FROM `tbl_post` as `t1` LEFT JOIN `tbl_post_category` as `t2` ON `t1`.`category_id`=`t2`.`category_id` LEFT JOIN `tbl_user` as `t3` ON `t1`.`user_id`=`t3`.`user_id` ORDER BY RAND() LIMIT 6
Filename: modules/home/models/Home_model.php
Line Number: 115