Warning: [mysql error 1062] Duplicate entry '15009769' for key 'PRIMARY'
INSERT INTO piwis0_history
(
date,
time,
user_id,
IP,
section,
category_id,
search_id,
image_id,
image_type,
format_id,
auth_key_id,
tag_ids
)
VALUES
(
CURRENT_DATE,
CURRENT_TIME,
2,
'18.118.131.54',
'categories',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL
)
; in /home/woodland/public_html/gallery/include/dblayer/functions_mysqli.inc.php on line 847
Warning: [mysql error 1194] Table 'piwis0_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 piwis0_history
WHERE id > 15009000
AND id <= 15059000
GROUP BY
date,
hour
ORDER BY
date ASC,
hour ASC
; in /home/woodland/public_html/gallery/include/dblayer/functions_mysqli.inc.php on line 847
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /home/woodland/public_html/gallery/include/dblayer/functions_mysqli.inc.php:211
Stack trace:
#0 /home/woodland/public_html/gallery/admin/include/functions_history.inc.php(237): pwg_db_fetch_assoc(false)
#1 /home/woodland/public_html/gallery/include/functions.inc.php(544): history_summarize(50000)
#2 /home/woodland/public_html/gallery/index.php(373): pwg_log()
#3 {main}
thrown in /home/woodland/public_html/gallery/include/dblayer/functions_mysqli.inc.php on line 211