You are not logged in.

#1 2009-03-07 22:32:21

digitalfrost
Member
Registered: 2007-10-15
Posts: 11

Torrentflux 2.4 (ADONewConnection: Unable to load database driver)

I'm trying to setup Torrentflux 2.4 on my server.
I used the torrentflux PKGBUILD vom AUR: http://aur.archlinux.org/packages.php?ID=1664

I set up Apache/MySQL/PHP following the guide. PHP test script is working fine:

<?php phpinfo(); ?>

I setup a symbolic link from /srv/http to my /opt/torrentflux

ls /srv/http/
insgesamt 4
-r--r--r-- 1 root root 20  6. Mär 21:23 test.php
lrwxrwxrwx 1 root root 17  6. Mär 21:07 torrentflux -> /opt/torrentflux/

When I try to open /torrentflux/login.php in my webbrowser it says

ADONewConnection: Unable to load database driver ''

I left the default in torrentflux' config.php:

$cfg["db_type"] = "mysql";       // mysql, postgres7, postgres8 view adodb/drivers/

ls /opt/torrentflux/adodb/drivers/

insgesamt 532
-r--r--r-- 1 root daemon 20476  6. Mär 20:44 adodb-mysql.inc.php
-r--r--r-- 1 root daemon 25340  6. Mär 20:44 adodb-mysqli.inc.php
-r--r--r-- 1 root daemon  3220  6. Mär 20:44 adodb-mysqlt.inc.php

I'm pretty new to the whole LAMP stuff, so can please any1 tell me what's going wrong?

Offline

#2 2009-03-07 23:04:35

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: Torrentflux 2.4 (ADONewConnection: Unable to load database driver)

Ok, some questions:

1. Did you enable mysql in php.ini?
http://wiki.archlinux.org/index.php/LAMP#MySQL

2. Did you read / follow the torrentflux installation guide included with the installation?
(if not, check here: http://www.torrentflux.com/)

3. I have not worked with the package from AUR, the package form the official site (again, http://www.torrentflux.com/) works well for me. Did you try this?


Arch i686 on Phenom X4 | GTX760

Offline

#3 2009-03-07 23:45:09

digitalfrost
Member
Registered: 2007-10-15
Posts: 11

Re: Torrentflux 2.4 (ADONewConnection: Unable to load database driver)

I fixed it. config.php was somehow set to 660 and owned by root:daemon so it was not readable mit http user :lol:

Offline

#4 2009-03-07 23:46:06

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: Torrentflux 2.4 (ADONewConnection: Unable to load database driver)

root:daemon ?!?

ah well, fixed smile


Arch i686 on Phenom X4 | GTX760

Offline

Board footer

Powered by FluxBB