You are not logged in.
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
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
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
root:daemon ?!?
ah well, fixed
Arch i686 on Phenom X4 | GTX760
Offline