Erro de PHP no Bacula-web

1,259 views
Skip to first unread message

Christiane Zim Zapelini

unread,
Dec 10, 2013, 10:34:32 AM12/10/13
to bacula-ba...@googlegroups.com
Olá pessoal,

Voltei! :)))
Estava de licença maternidade.

Bom, continuando o uso do Bacula, instalei o Bacula-web usando o passo-a-passo do grande Daniel Lara no Viva o Linux,
MAS ele sobe e surge esse erro:
Exception trace
File: /var/www/bacula-web/core/bweb.class.php on line 77 in function FileConfig::get_Value
File: /var/www/bacula-web/index.php on line 26 in function Bweb->__construct
Application error
File/var/www/bacula-web/application/libs/fileconfig.class.php
Line78
Exception code0
Exception messageConfiguration error: the catalog id <0> do not exist
Have you try to run the test page ?
Check the online documentation on Bacula-Web project site 
Rebort a bug or suggest a new feature in the Bacula-Web\'s bugtracking tool 

Uso o Bacula 5.2.13 no CentOs 6.4 e o Bacula-web 5.2.13-1 com Mysql.

Ah, existe esses erros em /var/log/httpd/error_log:
[Tue Dec 10 13:23:54 2013] [error] [client 143.106.106.142] PHP Warning:  mktime(): 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. I
n case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone ide
ntifier. We selected 'America/Sao_Paulo' for 'BRST/-2.0/DST' instead in /var/www/bacula-web/core/const.inc.php on line 2
[Tue Dec 10 13:23:54 2013] [error] [client 143.106.106.142] PHP Notice:  Undefined offset: 0 in /var/www/bacula-web/appl
ication/libs/fileconfig.class.php on line 99, referer: http://serv-33.dgrh.unicamp.br/bacula-web/
[Tue Dec 10 13:23:54 2013] [error] [client 143.106.106.142] PHP Notice:  Undefined offset: 0 in /var/www/bacula-web/appl
ication/libs/fileconfig.class.php on line 75, referer: http://serv-33.dgrh.unicamp.br/bacula-web/
[Tue Dec 10 13:23:54 2013] [error] [client 143.106.106.142] PHP Notice:  Undefined variable: output in /var/www/bacula-w
eb/core/app/cerrorhandler.class.php on line 45, referer: http://serv-33.dgrh.unicamp.br/bacula-web/
[Tue Dec 10 13:23:54 2013] [error] [client 143.106.106.142] PHP Notice:  Trying to get property of non-object in /var/ww
w/bacula-web/test.php on line 63, referer: http://serv-33.dgrh.unicamp.br/bacula-web/
[Tue Dec 10 13:23:54 2013] [error] [client 143.106.106.142] PHP Fatal error:  Call to a member function getAttribute() o
n a non-object in /var/www/bacula-web/core/db/cdbutils.class.php on line 26, referer: http://serv-33.dgrh.unicamp.br/bac
ula-web/
[Tue Dec 10 13:24:11 2013] [error] [client 143.106.106.142] PHP Warning:  mktime(): 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. I
n case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone ide
ntifier. We selected 'America/Sao_Paulo' for 'BRST/-2.0/DST' instead in /var/www/bacula-web/core/const.inc.php on line 2
0
[Tue Dec 10 13:24:11 2013] [error] [client 143.106.106.142] PHP Notice:  Undefined offset: 0 in /var/www/bacula-web/appl
ication/libs/fileconfig.class.php on line 99
[Tue Dec 10 13:24:11 2013] [error] [client 143.106.106.142] PHP Notice:  Undefined offset: 0 in /var/www/bacula-web/appl
ication/libs/fileconfig.class.php on line 75
[Tue Dec 10 13:24:11 2013] [error] [client 143.106.106.142] PHP Notice:  Undefined variable: output in /var/www/bacula-w
eb/core/app/cerrorhandler.class.php on line 45
[Tue Dec 10 13:24:11 2013] [error] [client 143.106.106.142] PHP Warning:  strftime(): It is not safe to rely on the syst
em'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 i
dentifier. We selected 'America/Sao_Paulo' for 'BRST/-2,0/DST' instead in /var/www/bacula-web/core/external/smarty/libs/
Smarty_Compiler.class.php on line 400
[Tue Dec 10 13:24:11 2013] [error] [client 143.106.106.142] PHP Warning:  strftime(): It is not safe to rely on the syst
em'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 i
dentifier. We selected 'America/Sao_Paulo' for 'BRST/-2,0/DST' instead in /var/www/bacula-web/core/external/smarty/libs/
Smarty_Compiler.class.php on line 400
[Tue Dec 10 13:24:11 2013] [error] [client 143.106.106.142] PHP Warning:  strftime(): It is not safe to rely on the syst
em'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 i
dentifier. We selected 'America/Sao_Paulo' for 'BRST/-2,0/DST' instead in /var/www/bacula-web/core/external/smarty/libs/
Smarty_Compiler.class.php on line 400



Alguém poderia ajudar-me?

Muito obrigada,
Chris

Christiane Zim Zapelini

unread,
Dec 10, 2013, 11:02:57 AM12/10/13
to bacula-ba...@googlegroups.com
Pessoal, já resolvi! Desculpem o incomodo! Abs, Christiane

Claudio - Bacula

unread,
Dec 10, 2013, 1:24:00 PM12/10/13
to bacula-ba...@googlegroups.com
Poste a solução, pode ajudar os demais, era usuário e senha errado ?  é o que parece no seu erro.
--
Você está recebendo esta mensagem porque se inscreveu no grupo "Bacula Backup-Pt-Br" dos Grupos do Google.
Para cancelar a inscrição neste grupo e parar de receber seus e-mails, envie um e-mail para bacula-backup-p...@googlegroups.com.
Para postar neste grupo, envie um e-mail para bacula-ba...@googlegroups.com.
Visite este grupo em http://groups.google.com/group/bacula-backup-pt-br.
Para ver esta discussão na web, acesse https://groups.google.com/d/msgid/bacula-backup-pt-br/86244e05-84b1-42a9-a3fc-0b8afc1318ef%40googlegroups.com.
Para obter mais opções, acesse https://groups.google.com/groups/opt_out.

Molinero

unread,
Dec 16, 2013, 11:04:02 AM12/16/13
to bacula-backup-pt-br
Christiane,

 Se já resolveu, posta a solução... pode ajudar outras pessoas que passem pelo mesmo problema.




2013/12/10 Claudio - Bacula <claudio....@gmail.com>

Christiane Zim Zapelini

unread,
Dec 18, 2013, 9:10:35 AM12/18/13
to bacula-ba...@googlegroups.com
Olá,  erro de falta de atenção, galera! Esqueci de tirar os comentários // na frente das linhas de configuração do Musql no PHP :(

Abs,
Christiane
Para cancelar a inscrição neste grupo e parar de receber seus e-mails, envie um e-mail para bacula-backup-pt-br+unsub...@googlegroups.com.

--
Você está recebendo esta mensagem porque se inscreveu no grupo "Bacula Backup-Pt-Br" dos Grupos do Google.
Para cancelar a inscrição neste grupo e parar de receber seus e-mails, envie um e-mail para bacula-backup-pt-br+unsub...@googlegroups.com.

Para postar neste grupo, envie um e-mail para bacula-ba...@googlegroups.com.
Visite este grupo em http://groups.google.com/group/bacula-backup-pt-br.
Reply all
Reply to author
Forward
0 new messages