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 file
Da: ÂBob Hutchinson <[EMAIL PROTECTED]>
A:Â[email protected]
Data:Â04-04-2005 21:53


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:
>
> <br />
> <b>Notice</b>: Undefined variable: qname in
> <b>/var/www/vegadns-1.1.3/src/functions.php</b> on line <b>510</b>
> <br />

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
-----------------

Reply via email to