Warning: [mysql error 145] Table './photogallery/piwigo_sessions' is marked as crashed and should be repaired

SELECT data
  FROM piwigo_sessions
  WHERE id = '3651rp51o7q5jr0ec9056imh18tjp0'
; in /webapp/photogallery/include/dblayer/functions_mysqli.inc.php on line 832
_JAK9049 | BU Photo Gallery

BU Photo Gallery

Photo Gallery มหาวิทยาลัยกรุงเทพ

Warning: [mysql error 145] Table './photogallery/piwigo_history' is marked as crashed and should be repaired

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,
    '54.81.69.220',
    'tags',
    NULL,
    53325,
    'picture',
    NULL,
    NULL,
    '667'
  )
; in /webapp/photogallery/include/dblayer/functions_mysqli.inc.php on line 832
Warning: [mysql error 145] Table './photogallery/piwigo_sessions' is marked as crashed and should be repaired

REPLACE INTO piwigo_sessions
  (id,data,expiration)
  VALUES('3651rp51o7q5jr0ec9056imh18tjp0','pwg_device|s:7:\"desktop\";pwg_mobile_theme|b:0;pwg_referer_image_id|s:5:\"53325\";',now())
; in /webapp/photogallery/include/dblayer/functions_mysqli.inc.php on line 832