select max(vi_id) as max_vi_id from g5_visit

145 : Table '.\g_its\g5_visit' is marked as crashed and should be repaired

error file : /index.php
Warning: Unknown: open(C:/APM_Setup/htdocs/g5/gnu5/data/session\sess_b0abaf4cc9461955aa24f7578c540151, O_RDWR) failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:/APM_Setup/htdocs/g5/gnu5/data/session) in Unknown on line 0