Hi Cedric,

Thanks for responding. I looked at my logs and it looks like there are a lot of issues. The README says nothing about LDAP or rights and ownership on directories under bacula-web. Is there a document somewhere that can guide me to do what is necessary to get this running. I changed ownership on templates_c to apache:apache but this still didn't fix the problem. At least there is progress, now the screen shows "Error querry: 4". Here is my log:

[EMAIL PROTECTED] httpd]# tail -n60 error_log
[client 192.168.1.37] PHP Notice: Use of undefined constant phptype - assumed 'phptype' in /var/www/html/bacula-web/classes.inc on line 82 [client 192.168.1.37] PHP Fatal error: Smarty error: unable to write to $compile_dir '/var/www/html/bacula-web/templates_c'. Be sure $compile_dir is writable by the web server user. in /var/www/html/bacula-web/external_packages/smarty/Smarty.class.php on line 1088 [client 192.168.1.37] script '/var/www/html/bacula-web/external_packages/phplot/examples/stats.php' not found or unable to stat [client 192.168.1.37] script '/var/www/html/bacula-web/external_packages/phplot/examples/stats.php' not found or unable to stat [client 192.168.1.37] script '/var/www/html/bacula-web/external_packages/phplot/examples/stats.php' not found or unable to stat [client 192.168.1.37] script '/var/www/html/bacula-web/external_packages/phplot/examples/stats.php' not found or unable to stat [client 192.168.1.37] PHP Notice: Undefined index: server in /var/www/html/bacula-web/stats.php on line 54 [client 192.168.1.37] PHP Notice: Undefined index: tipo_dato in /var/www/html/bacula-web/stats.php on line 54 [client 192.168.1.37] PHP Notice: Undefined index: title in /var/www/html/bacula-web/stats.php on line 54 [client 192.168.1.37] PHP Notice: Use of undefined constant phptype - assumed 'phptype' in /var/www/html/bacula-web/classes.inc on line 82 [client 192.168.1.37] PHP Notice: Undefined variable: whole_result in /var/www/html/bacula-web/classes.inc on line 469 [client 192.168.1.37] PHP Notice: Undefined index: server in /var/www/html/bacula-web/stats.php on line 54 [client 192.168.1.37] PHP Notice: Undefined index: tipo_dato in /var/www/html/bacula-web/stats.php on line 54 [client 192.168.1.37] PHP Notice: Undefined index: title in /var/www/html/bacula-web/stats.php on line 54 [client 192.168.1.37] PHP Notice: Use of undefined constant phptype - assumed 'phptype' in /var/www/html/bacula-web/classes.inc on line 82 [client 192.168.1.37] PHP Notice: Undefined variable: whole_result in /var/www/html/bacula-web/classes.inc on line 469
[Wed Apr 26 17:27:14 2006] [notice] caught SIGTERM, shutting down
[Wed Apr 26 17:27:15 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Wed Apr 26 17:27:15 2006] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 26 17:27:15 2006] [notice] Digest: done
[Wed Apr 26 17:27:15 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Apr 26 17:27:15 2006] [notice] LDAP: SSL support unavailable
[Wed Apr 26 17:27:15 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads. [Wed Apr 26 17:27:16 2006] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations [client 192.168.1.37] PHP Notice: Undefined index: server in /var/www/html/bacula-web/stats.php on line 54 [client 192.168.1.37] PHP Notice: Undefined index: tipo_dato in /var/www/html/bacula-web/stats.php on line 54 [client 192.168.1.37] PHP Notice: Undefined index: title in /var/www/html/bacula-web/stats.php on line 54 [client 192.168.1.37] PHP Notice: Use of undefined constant phptype - assumed 'phptype' in /var/www/html/bacula-web/classes.inc on line 82 [client 192.168.1.37] PHP Notice: Undefined variable: whole_result in /var/www/html/bacula-web/classes.inc on line 469 [client 192.168.1.37] PHP Notice: Undefined index: server in /var/www/html/bacula-web/stats.php on line 54 [client 192.168.1.37] PHP Notice: Undefined index: tipo_dato in /var/www/html/bacula-web/stats.php on line 54 [client 192.168.1.37] PHP Notice: Undefined index: title in /var/www/html/bacula-web/stats.php on line 54 [client 192.168.1.37] PHP Notice: Use of undefined constant phptype - assumed 'phptype' in /var/www/html/bacula-web/classes.inc on line 82 [client 192.168.1.37] PHP Notice: Undefined variable: whole_result in /var/www/html/bacula-web/classes.inc on line 469 [client 192.168.1.37] PHP Notice: Undefined index: server in /var/www/html/bacula-web/stats.php on line 54 [client 192.168.1.37] PHP Notice: Undefined index: tipo_dato in /var/www/html/bacula-web/stats.php on line 54 [client 192.168.1.37] PHP Notice: Undefined index: title in /var/www/html/bacula-web/stats.php on line 54 [client 192.168.1.37] PHP Notice: Use of undefined constant phptype - assumed 'phptype' in /var/www/html/bacula-web/classes.inc on line 82 [client 192.168.1.37] PHP Notice: Undefined variable: whole_result in /var/www/html/bacula-web/classes.inc on line 469 [client 192.168.1.37] PHP Notice: Undefined index: server in /var/www/html/bacula-web/stats.php on line 54 [client 192.168.1.37] PHP Notice: Undefined index: tipo_dato in /var/www/html/bacula-web/stats.php on line 54 [client 192.168.1.37] PHP Notice: Undefined index: title in /var/www/html/bacula-web/stats.php on line 54 [client 192.168.1.37] PHP Notice: Use of undefined constant phptype - assumed 'phptype' in /var/www/html/bacula-web/classes.inc on line 82 [client 192.168.1.37] PHP Notice: Undefined variable: whole_result in /var/www/html/bacula-web/classes.inc on line 469 [client 192.168.1.37] PHP Notice: Use of undefined constant phptype - assumed 'phptype' in /var/www/html/bacula-web/classes.inc on line 82 [client 192.168.1.37] PHP Fatal error: Smarty error: unable to write to $compile_dir '/var/www/html/bacula-web/templates_c'. Be sure $compile_dir is writable by the web server user. in /var/www/html/bacula-web/external_packages/smarty/Smarty.class.php on line 1088 [client 127.0.0.1] PHP Notice: Use of undefined constant phptype - assumed 'phptype' in /var/www/html/bacula-web/classes.inc on line 82 [Fri Apr 28 08:32:15 2006] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico [client 127.0.0.1] PHP Notice: Use of undefined constant phptype - assumed 'phptype' in /var/www/html/bacula-web/classes.inc on line 82
[Fri Apr 28 08:33:03 2006] [notice] caught SIGTERM, shutting down
[Fri Apr 28 08:33:04 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Fri Apr 28 08:33:04 2006] [notice] Digest: generating secret for digest authentication ...
[Fri Apr 28 08:33:04 2006] [notice] Digest: done
[Fri Apr 28 08:33:04 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Fri Apr 28 08:33:04 2006] [notice] LDAP: SSL support unavailable
[Fri Apr 28 08:33:04 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads. [Fri Apr 28 08:33:04 2006] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations [client 127.0.0.1] PHP Notice: Use of undefined constant phptype - assumed 'phptype' in /var/www/html/bacula-web/classes.inc on line 82 [client 127.0.0.1] PHP Notice: Use of undefined constant phptype - assumed 'phptype' in /var/www/html/bacula-web/classes.inc on line 82 [client 127.0.0.1] PHP Notice: Use of undefined constant phptype - assumed 'phptype' in /var/www/html/bacula-web/classes.inc on line 82

I cleared the log after changing rights on 'templates_c' and I now get the following after accessing the page:

[EMAIL PROTECTED] httpd]# > /var/log/httpd/error_log
[EMAIL PROTECTED] httpd]# cat error_log
[client 127.0.0.1] PHP Notice: Use of undefined constant phptype - assumed 'phptype' in /var/www/html/bacula-web/classes.inc on line 82
ANy ideas on what to do next??

Thanks

Check your web server's error log. Mine's /var/log/httpd/error_log -- but yours may be elsewhere.

- Cedric


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to