Hi,
Andrew Paterson wrote:
Hi Arno,
Nice to hear from you again, I know you were having some problems with
the interrelationships (dependencies) of bacula-web and wer a bit peeved.
Erm, no. Dependencies were no problem at all. Download, unpack, copy to
apaches document folder, configure, done.
I wouldn't be arrogant enough to say I didn't at first - I've had it running for
about 6 months now & have forgotten the early misery! I do recall I took some
time to get the thing working.
I have some experience of writing php & looking at bacula-web I don't think
it's a case of it being badly written - in fact its pretty good I think.
Its just that php in any volume is a diabolical eye-strain!!!!
Well, for me C or C++ or almost every programming language is worse, but
when I write code it's usually either bash or perl or php.
Now back to the main point, there are three excellent things about bacula-web
(which makes it a diabolical shame there has been no development on it for the
last year)
1. Its web-based - access it from anywhere.
2. It is "read only" any fool can examine the state of the backups but not write to
anything & therefore do no damage
3. It undoubtably packs a phenomenal amount of information int a single
web-page!! - that I can only credit whoever wrote it as being bloody good
design!.
Quite right.
However I am always remembering it is only a little tool to make the incredible
BACULA a little more friendly :)
So I do hope that you (after all - you're a major bacula supporter) will become enthusiastic
towards it & join with me in persuading the developer to pick it up again & "do some
more".
Well, that would be worth some effort, but since it's open source
everybody could try to improve it, if the original developer has
different priorities.
Arno
Top posting ..... :(
I'm just a bone-idle prat with a PC running outlook - no excuse really!!!!!!
Micro$oft does things like that to you :P
Best Regards
Andrew Paterson
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Lehmann
Sent: 08 June 2005 21:31
To: [EMAIL PROTECTED]
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Re: Trying to use Bacula-web
Hello,
[EMAIL PROTECTED] wrote:
Andrew, Arno, thanks for your replies. (Side issue: is top-posting normal
procedure here?)
Top-posting is so common here that I got used to it and sometimes are
... reminded to avoid it on other mailing lists :-)
I am still not clear whether my php is correctly installed with gd and gettext. I didn't compile php from source, I think it was installed by default. I am using SuSE 9.1. I'll post a query on the php newsgroup to try to resolve this.
I'm using 9.2 and I see not dificulties using php in apache at all.
Command line php works fine, too. Do you see any errors?
By the way, including ini_set("error_reporting", 0); in the php files
resolved the Notices php gives here.
Sidenote:
Although or perhaps because I'm not a programmer I really think that a
program should be considered buggy when it reports warnings of any kind.
Bacula-web does, unfortunately.
The output is nice enough and gives the details I need to manage pools
(and possibly to make sure I've got enough tapes :-)
Another Sidenote:
W3 validator says:
Address: ...homeip.net/bacula-web/index.php
Encoding: iso-8859-1
Doctype: (detect automatically) HTML 4.01 Transitional
Errors: 470
Validating as 4.01 Strict results in 629 Errors here.
Now, I don't know Smarty and so can't say if this frameworkis broken or
if Juan Luis Francés Jiménez never intended to make this perfect, but I
don't like those things... one day you use a new browser and only get an
empty page or a broken layout. Ok, I stop criticizing now :-)
Please, understand that I don't simply want to talk bad about other
peoples projects - rather, I hope that someone will help improving
Bacula-web. At the moment, there's not much development taking place, it
seems. And, of course and as I have written above - it works, and it
looks good.
Arno
Andrew, you mentioned that Bacula-web has "a painful list of dependencies"; any
chance you list them for me?
Thanks
Graham Dicker
Once more, perhaps somebody's interested:
You can set php's error reporting off (or restrict it to serious errors)
and Bacula-web works much better.
Still, I think that collection of script does need some work.
I just signed up at Bacula-web's bugtracker to inform the author.
Arno
Arno Lehmann wrote:
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
-------------------------------------------------------
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
--
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