Re: Re: [users] update-data.sh writes strange data file

2005-04-04 Thread Andrea Benedetto

Thank you very much.Probably I have to study a little bit of php.Andrea- Messaggio Originale -Oggetto:ÂRe: [users] update-data.sh writes strange data fileDa: ÂBob Hutchinson <[EMAIL PROTECTED]>A:Âusers@vegadns.orgData:Â04-04-2005 21:53On Monday 04 Apr 2005 17:30, Andrea Benedetto wrote:> When I change something in the vegadns database and then use the> update-data.sh script it doesn't work.>> It gives me this error:>> tinydns-data: fatal: unable to parse data line 1: unrecognized leading> character> make: *** [data.cdb] Error 111>> and if I open the data file I can read in the first lines this strange> things:>> > Notice: Undefined variable: qname in> /var/www/vegadns-1.1.3/src/functions.php on line 510> Here is a quick hack that will get rid of that notice:add this line to /var/www/vegadns-1.1.3/src/functions.php, just above line 510$qname = "";That should do it ;-)>> The second time (after this error) I try to execute the update-data.sh> script it doesn't give me the error, but off course the data.cdb file is> not created.>> What I have to do?>> Thanks>> Andrea-- -Bob HutchinsonMidwales dot com-




Re: [users] update-data.sh writes strange data file

2005-04-04 Thread Bob Hutchinson
On Monday 04 Apr 2005 17:30, Andrea Benedetto wrote:
> When I change something in the vegadns database and then use the
> update-data.sh script it doesn't work.
>
> It gives me this error:
>
> tinydns-data: fatal: unable to parse data line 1: unrecognized leading
> character
> make: *** [data.cdb] Error 111
>
> and if I open the data file I can read in the first lines this strange
> things:
>
> 
> Notice: Undefined variable: qname in
> /var/www/vegadns-1.1.3/src/functions.php on line 510
> 

Here is a quick hack that will get rid of that notice:
add this line to /var/www/vegadns-1.1.3/src/functions.php, just above line 510
$qname = "";

That should do it ;-)

>
> The second time (after this error) I try to execute the update-data.sh
> script it doesn't give me the error, but off course the data.cdb file is
> not created.
>
> What I have to do?
>
> Thanks
>
> Andrea

-- 
-
Bob Hutchinson
Midwales dot com
-


[users] update-data.sh writes strange data file

2005-04-04 Thread Andrea Benedetto

When I change something in the vegadns database and then use the
update-data.sh script it doesn't work.

It gives me this error:

tinydns-data: fatal: unable to parse data line 1: unrecognized leading
character
make: *** [data.cdb] Error 111

and if I open the data file I can read in the first lines this strange
things:


Notice: Undefined variable: qname in
/var/www/vegadns-1.1.3/src/functions.php on line 510


The second time (after this error) I try to execute the update-data.sh
script it doesn't give me the error, but off course the data.cdb file is not
created.

What I have to do?

Thanks

Andrea