Warning: [mysql error 144] Table '.\weider\piwigo_history' is marked as crashed and last (automatic?) repair failed
INSERT INTO piwigo_history
(
date,
time,
user_id,
IP,
section,
category_id,
image_id,
image_type,
format_id,
auth_key_id,
tag_ids
)
VALUES
(
CURRENT_DATE,
CURRENT_TIME,
2,
'44.197.101.251',
'categories',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL
)
; in D:\phpstudy_pro\WWW\weider.hunternet.com.tw\include\dblayer\functions_mysqli.inc.php on line 847
Warning: [mysql error 144] Table '.\weider\piwigo_history' is marked as crashed and last (automatic?) repair failed
SELECT
date,
HOUR(time) AS hour,
MIN(id) AS min_id,
MAX(id) AS max_id,
COUNT(*) AS nb_pages
FROM piwigo_history
WHERE id > 1631000
AND id <= 1681000
GROUP BY
date,
hour
ORDER BY
date ASC,
hour ASC
; in D:\phpstudy_pro\WWW\weider.hunternet.com.tw\include\dblayer\functions_mysqli.inc.php on line 847
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in D:\phpstudy_pro\WWW\weider.hunternet.com.tw\include\dblayer\functions_mysqli.inc.php:211
Stack trace:
#0 D:\phpstudy_pro\WWW\weider.hunternet.com.tw\admin\include\functions_history.inc.php(236): pwg_db_fetch_assoc()
#1 D:\phpstudy_pro\WWW\weider.hunternet.com.tw\include\functions.inc.php(517): history_summarize()
#2 D:\phpstudy_pro\WWW\weider.hunternet.com.tw\index.php(357): pwg_log()
#3 {main}
thrown in D:\phpstudy_pro\WWW\weider.hunternet.com.tw\include\dblayer\functions_mysqli.inc.php on line 211