[plug] sql2tinydns
Adam Hewitt
ahewitt at globaldial.com
Fri Aug 1 10:16:45 WST 2003
Cheers for your replies, I have now got sql2dns up and running, however
when I try to add a new domain I am getting the following error:
Insert failed: Unknown column 'rr_fqdn' in 'field list'
and when I try and 'preview data file changes' I get:
Failed to query for data
According to the install file, you need to make the tiny-dns data file
writable by the web server, which I have done by changing the owener and
group to www-data. I have then tried logging with the user www-data and
make changes with the data file, and it works no problems.
Any ideas?
Cheers,
Adam.
On Thu, 2003-07-31 at 16:40, Adam Hewitt wrote:
> Hi All,
>
> I am trying to setup sql2tinydns and I am having some drama's. I have
> installed the username and database ok into my SQL server, and I have
> imported the schema ok also (i think, at least I didn't get any errors).
> However when I try and bring up the webpage I am getting the following
> error:
>
> Fatal error: Call to undefined function: mysql_connect() in
> /var/www/admin/sql2dns/includes/db.inc.php on line 50
>
> now logic would tell me to have a look at line 50 in that php file which
> has:
>
> # make the connection
> $link = mysql_connect ($dbhost, $dbuser, $dbpwd)
> ----> or die ("Could not connect");
> mysql_select_db($db, $link) or die("Could not select database");
>
> I thought maybe it doesn't like the line break on the line before and
> joined them, however I still got the same error and changed it back.
>
> Has anyone used sql2tinydns and had similar issues? or anyone have an
> idea?
>
> Any help would be appreciated.
>
> Adam.
>
> PS. Please dont ask why I am using 'that tinydns sh*te'...lets just say
> I dont have the option.
>
>
>
More information about the plug
mailing list