Warning: [mysql error 145] Table './rodscar_gallery/gall_history' is marked as crashed and should be repaired
INSERT INTO gall_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,
'3.142.135.121',
NULL,
NULL,
210,
'high',
NULL,
NULL,
NULL
)
; in /home/rodscar/public_html/gallery/include/dblayer/functions_mysqli.inc.php on line 856
Warning: [mysql error 145] Table './rodscar_gallery/gall_history' is marked as crashed and should be repaired
SELECT
date,
HOUR(time) AS hour,
MIN(id) AS min_id,
MAX(id) AS max_id,
COUNT(*) AS nb_pages
FROM gall_history
WHERE id > 1622000
AND id <= 1672000
GROUP BY
date,
hour
ORDER BY
date ASC,
hour ASC
; in /home/rodscar/public_html/gallery/include/dblayer/functions_mysqli.inc.php on line 856
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /home/rodscar/public_html/gallery/include/dblayer/functions_mysqli.inc.php:220
Stack trace:
#0 /home/rodscar/public_html/gallery/admin/include/functions_history.inc.php(236): pwg_db_fetch_assoc(false)
#1 /home/rodscar/public_html/gallery/include/functions.inc.php(517): history_summarize(50000)
#2 /home/rodscar/public_html/gallery/action.php(149): pwg_log('210', 'high')
#3 {main}
thrown in /home/rodscar/public_html/gallery/include/dblayer/functions_mysqli.inc.php on line 220