Some further errors:
Moderator: Forum Moderators
Some further errors:
Odd error since I wasn't doing a search...Could not insert new word matches
DEBUG MODE
SQL Error : 144 Table './wesnoth/phpbb_search_wordmatch' is marked as crashed and last (automatic?) repair failed
INSERT INTO phpbb_search_wordmatch (post_id, word_id, title_match) SELECT 262972, word_id, 0 FROM phpbb_search_wordlist WHERE word_text IN ('php', 'unix', 'general', 'starts', 'counting', 'midnight', 'january', '1970', 'gmt', 'system', 'based', 'number', 'seconds', 'encounters', 'error', 'return', 'anyway', 'sure', 'instead', 'severa', 'billion', 'course', 'gives', '31', '1969', '59')
Line : 251
File : functions_search.php
The post was in reply to Mille's thread. Here's what I was trying to say:
PHP (and UNIX in general) starts counting from midnight on January 1, 1970 (GMT). The time system is based on counting the number of seconds from then. If PHP encounters an error with the time, it will return -1 (PHP 5 does this anyway - not sure about 4) instead of the severa billion seconds it should return. Of course, that gives you 12/31/1969 23:59