webdns missing graphical images on webdns pages

4 views
Skip to first unread message

ype...@gmail.com

unread,
Jan 18, 2008, 3:17:37 PM1/18/08
to webdns-support
Hi friends,

Just found this great front-end application to PowerDNS and got
excited installing it.
Well, looks like I got it running after half a day of trial and
errors.
One glitch that I don't know how to fix. On the page after I logged in
as admin http://hostname.tld/webdns/search.php
I don't see a png image for status message (it says when and who
logged in last time) and "Search", "Zones", and "Log out" icons are
missing too whereas "Users", "Logs", and "Options" are visible. Any
ideas how could it be fixed?

Actually, all status message icons don't show up. According to the
image properties it should be in http://hostname.tld/themes/graphics/alerts/success.png
and I don't believe this is a right path to alerts image files.

Sincerely
Eugene

HolySirSalad

unread,
Jan 19, 2008, 10:02:24 AM1/19/08
to webdns-support
Hi Eugene,

Try John's suggestion here:

http://groups.google.com/group/webdns-support/browse_thread/thread/b4e152971439194d

I had many problems including half of the icons missing until I
manually specified the directory. Also, there are a lot of hacks on
this group to get up and running with PHP5.

Cheers

On Jan 18, 3:17 pm, "ype...@gmail.com" <ype...@gmail.com> wrote:
> Hi friends,
>
> Just found this great front-end application to PowerDNS and got
> excited installing it.
> Well, looks like I got it running after half a day of trial and
> errors.
> One glitch that I don't know how to fix. On the page after I logged in
> as adminhttp://hostname.tld/webdns/search.php
> I don't see a png image for status message (it says when and who
> logged in last time) and "Search", "Zones", and "Log out" icons are
> missing too whereas "Users", "Logs", and "Options" are visible. Any
> ideas how could it be fixed?
>
> Actually, all status message icons don't show up. According to the
> image properties it should be inhttp://hostname.tld/themes/graphics/alerts/success.png

E.P.

unread,
Jan 19, 2008, 1:33:12 PM1/19/08
to webdns-...@googlegroups.com
Hi incognito man !

There's not really much of a suggestion on that page. I tried to change the webroot to the absolute path (like 'webroot' => '/var/www/html/webdns') but it doesn't work.

Eugene

John Morrissey

unread,
Jan 21, 2008, 12:21:22 PM1/21/08
to webdns-...@googlegroups.com
On Fri, Jan 18, 2008 at 12:17:37PM -0800, ype...@gmail.com wrote:
> I don't see a png image for status message (it says when and who
> logged in last time) and "Search", "Zones", and "Log out" icons are
> missing too whereas "Users", "Logs", and "Options" are visible. Any
> ideas how could it be fixed?
>
> Actually, all status message icons don't show up. According to the
> image properties it should be in http://hostname.tld/themes/graphics/alerts/success.png
> and I don't believe this is a right path to alerts image files.

I believe Horde is detecting its webroot incorrectly. Try setting horde's
webroot to '/horde' in registry.php instead of _detect_webroot().

john
--
John Morrissey _o /\ ---- __o
j...@horde.net _-< \_ / \ ---- < \,
www.horde.net/ __(_)/_(_)________/ \_______(_) /_(_)__

E.P.

unread,
Jan 21, 2008, 2:53:07 PM1/21/08
to webdns-...@googlegroups.com
Sorry, John, doesn't work.

This is what I have in the registry.php for horde:

$this->applications['horde'] = array(
'fileroot' => dirname(__FILE__) . '/..',
'webroot' => '/horde'
'initial_page' => 'login.php',
'name' => _("Horde"),
'status' => 'hidden',
'templates' => dirname(__FILE__) . '/../templates',
'provides' => 'horde'
);

May I set the absolute path to horde directory instead of relative one, e.g.

'webroot' => '/var/www/html/webdns/horde'

Actually, this doesn't work too :-)

Eugene

E.P.

unread,
Jan 21, 2008, 3:07:01 PM1/21/08
to webdns-...@googlegroups.com
What bothers me is that according to horde for example the "Search" image location should be in

http://domain.tld/themes/graphics/search.php

but it is actually in

/var/www/html/webdns/horde/themes/graphics

Does that  mean that horde is not working the way it should?

Eugene

John Morrissey

unread,
Jan 21, 2008, 3:09:18 PM1/21/08
to webdns-...@googlegroups.com
On Mon, Jan 21, 2008 at 11:53:07AM -0800, E.P. wrote:
> This is what I have in the registry.php for horde:
>
> $this->applications['horde'] = array(
> 'fileroot' => dirname(__FILE__) . '/..',
> 'webroot' => '/horde'
[snip]

> May I set the absolute path to horde directory instead of relative one,
> e.g.
>
> 'webroot' => '/var/www/html/webdns/horde'

The webroot is the path that web browsers should use to access the
application, not the path on disk where the application's files reside.

Your WebDNS installation is at /webdns, and horde is inside it
(/webdns/horde)? If that's the case, I misspoke before; you should set
horde's webroot to /webdns/horde.

E.P.

unread,
Jan 21, 2008, 3:10:22 PM1/21/08
to webdns-...@googlegroups.com
And one more thing.
What is the URL I should use to logon to Webdns?
If you use http://domain.tld/webdns/login.php I am perfectly able to login to webdns interface.
If it is http://domain.tld/webdns/horde/login.php it is a complete mess. I only see "Welcome Admin" and placeholders for "Home" and "Layout" buttons.

Eugene

On 21/01/2008, E. P. <ype...@gmail.com> wrote:

E.P.

unread,
Jan 21, 2008, 3:14:01 PM1/21/08
to webdns-...@googlegroups.com
Excellent! Thanks John.
I was so stupid to figure it out.

Eugene

On 21/01/2008, John Morrissey <j...@horde.net > wrote:
Reply all
Reply to author
Forward
0 new messages