欢迎 anonymous设置 登录

老周部落日程管理系统

出错

在get_occurrences_by_date_range发生错误

Disk full (/tmp/#sql_2dc_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
SQL查询: SELECT `phpc_categories`.`gid`, `phpc_events`.`subject`, `phpc_events`.`description`, `phpc_events`.`owner`, `phpc_events`.`eid`, `phpc_events`.`cid`, `phpc_events`.`readonly`, `phpc_events`.`catid`, UNIX_TIMESTAMP(`ctime`) AS `ctime`, UNIX_TIMESTAMP(`mtime`) AS `mtime`, `time_type`, `oid`, UNIX_TIMESTAMP(`start_ts`) AS `start_ts`, DATE_FORMAT(`start_date`, '%Y%m%d') AS `start_date`, UNIX_TIMESTAMP(`end_ts`) AS `end_ts`, DATE_FORMAT(`end_date`, '%Y%m%d') AS `end_date`
, `username`, `name`, `bg_color`, `text_color`
FROM `phpc_events`
INNER JOIN `phpc_occurrences` USING (`eid`)
LEFT JOIN `phpc_users` ON `uid` = `owner`
LEFT JOIN `phpc_categories` ON `phpc_events`.`catid` = `phpc_categories`.`catid`
WHERE `phpc_events`.`cid` = '1'
	AND IF(`start_ts`, `start_ts` <= FROM_UNIXTIME('1579881599'), `start_date` <= DATE(FROM_UNIXTIME('1579881599')))
	AND IF(`end_ts`, `end_ts` >= FROM_UNIXTIME('1579795200'), `end_date` >= DATE(FROM_UNIXTIME('1579795200')))
	ORDER BY `start_ts`, `start_date`, `oid`

返回

#0 /var/www/c.laozhou.org/includes/phpcdatabase.class.php(122): PhpcDatabase->db_error('\xE5\x9C\xA8get_occurren...', 'SELECT `phpc_ca...')
#1 /var/www/c.laozhou.org/includes/phpcdatabase.class.php(169): PhpcDatabase->get_occurrences_by_date_range('1', 1579795200, 1579881599)
#2 /var/www/c.laozhou.org/includes/display_day.php(36): PhpcDatabase->get_occurrences_by_date('1', '2020', '1', 24)
#3 /var/www/c.laozhou.org/includes/calendar.php(837): display_day()
#4 /var/www/c.laozhou.org/includes/calendar.php(779): do_action()
#5 /var/www/c.laozhou.org/index.php(86): display_phpc()
#6 {main}