PHP Errors after power failure (SOLVED)
Posted: Mon Jul 28, 2008 5:46 pm
After losing power briefly due to a tripped circuit, I logged into ZM fine but after logging in, the console has the following messages above it:
As you can see in the first message, a table is 'crashed'. How do I go about repairing it? What other checks can I do to fix the rest of the errors? Any advice would be greatly appreciated...
Running Ubuntu 7.04 and ZM 1.22.3 compiled using the Feisty 7.04 walkthrough by ktheking:
(http://www.zoneminder.com/forums/viewtopic.php?p=36524)
Code: Select all
Warning: mysql_query() [function.mysql-query]: Unable to save result set in /var/www/zm/zm_html_view_console.php on line 78
Table 'E' is marked as crashed and should be repaired
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/zm/zm_html_view_console.php on line 81
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/zm/zm_html_view_console.php on line 82
Warning: array_merge() [function.array-merge]: Argument #3 is not an array in /var/www/zm/zm_html_view_console.php on line 91
Running Ubuntu 7.04 and ZM 1.22.3 compiled using the Feisty 7.04 walkthrough by ktheking:
(http://www.zoneminder.com/forums/viewtopic.php?p=36524)