Postado Abril 16, 2014 11 anos Query: SELECT `id`, `name`, `password`, `premdays`, `lastday`, `email`, `key`, `group_id`, `create_ip`, `create_date`, `premium_points`, `page_access`, `location`, `rlname`, `email_new`, `email_new_time`, `email_code`, `next_email`, `last_post`, `flag`, `vote` FROM `accounts` WHERE `name` = '\'' SQLSTATE: 00000 Driver code: Error message: Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Sao_Paulo' for '-3.0/no DST' instead in C:\xampp\htdocs\system\load.compat.php on line 307Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Sao_Paulo' for '-3.0/no DST' instead in C:\xampp\htdocs\system\load.compat.php on line 307 Alguem sabe como resolver? Editado Abril 16, 2014 11 anos por mostps (veja o histórico de edições)
Postado Abril 16, 2014 11 anos Solução Bom pelo jeito tu usa gesior2012 .. vá em system/load.init.php procure por session_start(); na linha debaixo coloque: date_default_timezone_set("America/Sao_Paulo"); Ficando assim: $time_start = microtime(true); session_start(); date_default_timezone_set("America/Sao_Paulo"); Espero ter ajudado. STYLLER OT 2022
Postado Abril 16, 2014 11 anos Bom pelo jeito tu usa gesior2012 .. vá em system/load.init.php procure por session_start(); na linha debaixo coloque: date_default_timezone_set("America/Sao_Paulo"); Ficando assim: $time_start = microtime(true); session_start(); date_default_timezone_set("America/Sao_Paulo"); Espero ter ajudado. pode fazer também pelo php.ini servindo assim pra todas aplicações que estão rodando no servidor date.timezone = "America/Sao_Paulo"
Postado Abril 16, 2014 11 anos Autor agora ta dando esse erro no last news No news. Go forum and make new thread on board News. Query: SELECT SQLSTATE: 42000 Driver code: 1064 Error message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Query: SELECT `date` FROM `z_news_tickers` WHERE `hide_ticker` = '0' SQLSTATE: 00000 Driver code: Error message: Query: SELECT * FROM `z_news_tickers` WHERE hide_ticker != 1 ORDER BY date DESC LIMIT 5; SQLSTATE: 00000 Driver code: Error message: Query: SELECT * FROM z_featured_article ORDER BY id DESC LIMIT 1 SQLSTATE: 00000 Driver code: Error message: Query: SELECT `players`.`name`, `z_forum`.`post_text`, `z_forum`.`post_topic`, `z_forum`.`icon_id`, `z_forum`.`post_smile`, `z_forum`.`id`, `z_forum`.`replies`, `z_forum`.`post_date` FROM `players`, `z_forum` WHERE `players`.`id` = `z_forum`.`author_guid` AND `z_forum`.`section` = 1 AND `z_forum`.`first_post` = `z_forum`.`id` ORDER BY `z_forum`.`last_post` DESC LIMIT 6 SQLSTATE: 00000 Driver code: Error message:
Postado Abril 16, 2014 11 anos Verifica se em index.php essa linha esta TRUE no lugar de FALSE:define('DEBUG_DATABASE', false); Se estiver TRUE coloque FALSE! STYLLER OT 2022
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.