pois eh gente, fui atualizar o php5 para inscluir snmp, e agora os arquivos de config do php foram modificados e nao entra no weba admin do mk-auth, alguem pode me ajudar:

 

Deprecated: Function ereg_replace() is deprecated in /usr/local/mkauth/admin/index.php(1) : eval()'d code(1) : eval()'d code on line 1

Deprecated: Function ereg_replace() is deprecated in /usr/local/mkauth/admin/config.php(1) : eval()'d code(1) : eval()'d code on line 1

Deprecated: Function ereg_replace() is deprecated in /usr/local/mkauth/admin/conexao.php(1) : eval()'d code(1) : eval()'d code on line 1

Deprecated: Function ereg_replace() is deprecated in /usr/local/mkauth/admin/funcoes.php(1) : eval()'d code(1) : eval()'d code on line 1

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 'BRST/-2.0/DST' instead in /usr/local/mkauth/admin/funcoes.php(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 155

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 'BRST/-2.0/DST' instead in /usr/local/mkauth/admin/funcoes.php(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 156

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 'BRST/-2.0/DST' instead in /usr/local/mkauth/admin/funcoes.php(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 157

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 'BRST/-2.0/DST' instead in /usr/local/mkauth/admin/funcoes.php(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 158

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /usr/local/mkauth/admin/index.php(1) : eval()'d code(1) : eval()'d code:1) in /usr/local/mkauth/admin/index.php(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 3

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /usr/local/mkauth/admin/index.php(1) : eval()'d code(1) : eval()'d code:1) in /usr/local/mkauth/admin/index.php(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 3

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/mkauth/admin/index.php(1) : eval()'d code(1) : eval()'d code:1) in /usr/local/mkauth/admin/index.php(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 6

Para adicionar comentários, você deve ser membro de MK-AUTH.

Join MK-AUTH

Enviar-me um email quando as pessoas responderem –

Respostas

  • Bem gente, nunca fui expert em linux, mas graças a deus São google taí, na verdade não sao erros, são apenas warnings do php que habilitados a visibilidade por padrao, entao basta desabilitá-los, no entanto dentro da distribuica do mk-auth tem uma copia do php.ini com o seguinte nome php.ini.ucf-dist, entao basta entrar na pasta do apache2 cd /etc/php5/apache2 e renomear o arquivo susbstituindo o php.ini, cp php.ini.ucf-dist php.ini, pronto, reinicie tudo e problema resolvido.
  • essa eu não sabia é uma boa dica ...

    Jhonne Jossy Pereira Costa disse:
    Bem gente, nunca fui expert em linux, mas graças a deus São google taí, na verdade não sao erros, são apenas warnings do php que habilitados a visibilidade por padrao, entao basta desabilitá-los, no entanto dentro da distribuica do mk-auth tem uma copia do php.ini com o seguinte nome php.ini.ucf-dist, entao basta entrar na pasta do apache2 cd /etc/php5/apache2 e renomear o arquivo susbstituindo o php.ini, cp php.ini.ucf-dist php.ini, pronto, reinicie tudo e problema resolvido.
  • A DICA É BOA MAS NAO FUNCIONOU COMIGO!

    O QUE DEVO FAZER?
  • Bom,


    aqui deu certo, certifique-se de estar substituindo o arquivo correto.


    de toda forma posso te garantir que isso é configuração do php.ini, to viajando, meu servidor ta sem ip publico, peça alguem para colocar uma copia do php.ini original aqui

    Oslain Amarildo Vieira disse:
    A DICA É BOA MAS NAO FUNCIONOU COMIGO!

    O QUE DEVO FAZER?
  • Galera, eu to com um problema mais sério! E imagino que um php.ini funcionando me ajudaria!1488567452?profile=RESIZE_1024x1024

This reply was deleted.