Re: [users] Strange behaviour running update-data.sh

2008-01-31 Thread Bob Hutchinson
On Thursday 31 January 2008 07:12, Mário Gamito wrote:
> Hi,
>
> Bob Hutchinson wrote:
> > On Wednesday 30 January 2008 23:32, Mário Gamito wrote:
> >> Hi,
> >>
> >> I've installed vegadns and it's working just fine with MySQL.
> >>
> >> However, when I run update-data.sh, a line is inserted in
> >> /etc/tinydns/root/data file:
> >>
> >> "Error: Host 192.168.1.50 is not authorized to access this page"
> >
> > add that IP to $trusted_hosts in src/config.php
>
> I forgot to mention that I've already did that, but the error persists.
>
> Ideas ?

It is not getting past the check in index.php, circa lines 75 - 91
The error line is generated on line 88
Check for typos in config.php ;-(

try running
wget -O - http://192.168.1.50/index.php?state=get_data
from the command line.

>
> Any help would be appreciated.
>
> Warm Regards,
> Mário Gamito

-- 
-
Bob Hutchinson
Midwales dot com
-


Re: [users] Strange behaviour running update-data.sh

2008-01-30 Thread Mário Gamito

Hi,

Bob Hutchinson wrote:

On Wednesday 30 January 2008 23:32, Mário Gamito wrote:

Hi,

I've installed vegadns and it's working just fine with MySQL.

However, when I run update-data.sh, a line is inserted in
/etc/tinydns/root/data file:

"Error: Host 192.168.1.50 is not authorized to access this page"


add that IP to $trusted_hosts in src/config.php

I forgot to mention that I've already did that, but the error persists.

Ideas ?

Any help would be appreciated.

Warm Regards,
Mário Gamito


Re: [users] Strange behaviour running update-data.sh

2008-01-30 Thread Bob Hutchinson
On Wednesday 30 January 2008 23:32, Mário Gamito wrote:
> Hi,
>
> I've installed vegadns and it's working just fine with MySQL.
>
> However, when I run update-data.sh, a line is inserted in
> /etc/tinydns/root/data file:
>
> "Error: Host 192.168.1.50 is not authorized to access this page"

add that IP to $trusted_hosts in src/config.php

>
> And make obviously aborts.
>
> Any ideas why this happening ?
>
> Any help would be appreciated.
>
> Warm Regards,
> Mário Gamito

-- 
-
Bob Hutchinson
Midwales dot com
-


[users] Strange behaviour running update-data.sh

2008-01-30 Thread Mário Gamito

Hi,

I've installed vegadns and it's working just fine with MySQL.

However, when I run update-data.sh, a line is inserted in 
/etc/tinydns/root/data file:


"Error: Host 192.168.1.50 is not authorized to access this page"

And make obviously aborts.

Any ideas why this happening ?

Any help would be appreciated.

Warm Regards,
Mário Gamito