Hello,
well, I have it installed here and it's working, although not really
that great...
Installation was ok, I don't recall what exactly I had to modify, but it
was done in a few minutes.
When I load the pages, though, I get loads of Notices: > Notice:
Undefined index: Full_popup in /srv/www/htdocs/bacula-web/index.php on
line 82 Notice: Undefined variable: TotalElapsed in
/srv/www/htdocs/bacula-web/index.php on line 98 Notice: Undefined
variable: TotalElapsed in /srv/www/htdocs/bacula-web/ind...
And graphics are not produced, although the test checking for gd went
fine and I know I have gd installed and included in php.
The first thing item is, in my opinion, a good example for sloppy
programming. The second is harder to understand for me because I don't
know the framework Bacula-web uses and didn't spend much time working
through it.
And, since I know that others have it working correctly, I think the
problem must be somewhere in my installation. Ah, I just looked - the
missing images are a result of the notices because php can't set up the
headers for an image file after it sent its notices.
Arno
Andrew Paterson wrote:
Yes
I have it working (on Solaris 9 & linux) and it is a really good
piece of software.
Its easy to get working on linux, solaris is another matter.
You shouldn't need to do any moves (try a copy next time) since you are
just asking to break something else doing that!
Also if you get your ./configure options right you shouldn't have a
problem.
I did find that bacula-web has a painful lot of dependencies.
But by golly it was well worth the pain!.
I would doubt if anything is wrong with php! however are you sure you
have an apache built with php support?
I have built everything from source - php 4, apache 1.3.31, bacula,
bacula-web, gd, gettext .... so persevere.
-----Original Message-----
*From:* [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
*Sent:* 07 June 2005 4:12PM
*To:* bacula-users@lists.sourceforge.net
*Subject:* [Bacula-users] Trying to use Bacula-web
Has anyone had success in getting bacula-web to work? When I try
test.php it gives me two errors: one for GD and one for gettext. I
was getting an error for Pear(DB) too but I cured that by copying
DB.php from /usr/share/php to /srv/www/bacula-web_1.1. I don't know
if this was a wise move.
In the man entry for php it says to use the following command to
show the configuration of your gd extension:
php -r 'print r(gd info());'
When I do this it responds:
Parse error: parse error in Command line code on line 1
so I assume there must be something wrong with php. However when I
do the command:
php -m
both gd and gettext are listed.
TIA
Graham Dicker
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users