This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Ktorrent's web gui interface doesn't work??

Tags: None
(comma "," separated)
imported4-lemon
Registered Member
Posts
3
Karma
0
I downloaded the newest version of ktorrent source code (2.1.4) and compiled on my computer. then installed it. I have already install apache server to support http service, so I only make a symlink to webgui directory /usr/share/apps/ktorrent/www/default .
I visit the web-gui interface through the iceape on another computer using http://192.168.2.252/default/ then click the login.html using mouse, then enter the user name and passwd and then press enter key. but, error ocurred:
Method Not Allowed The requested method POST is not allowed for the URL/default/interface.php.
So I reconfig the Apache httpd.conf and the directory /var/www/default(symbol link to /usr/share/apps/ktorrent/www/default directory) with ExecCGI privilege, this code lists as follows:
<Directory /var/www/default>
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

then , I visit again with Iceweasel, when I enter the username and password and press enter key, I shows that :
Fatal error: Call to undefined function globalInfo() in /usr/share/apps/ktorrent/www/default/interface.php on line 2

So what happend ?? and how can I resolve this problem??
thank you!
by the way , the OS is Debian testing distribution with GNOME. (Not KDE). PHP version is PHP5, and /usr/bin/php is a symbol link to /usr/bin/php5.
Does Gnome have an effect on this???
rapsys
Registered Member
Posts
71
Karma
0

Sun Apr 29, 2007 3:48 pm
You are wrong !

You need to NOT USE your apache for use the ktorrent webinterface.

Run ktorrent, load the webinterface plugin, setup it.

Then connect on http://localhost:8080/

You NEED to not use regular webserver, as it's ktorrent plugin that act as httpd server.
imported4-lemon
Registered Member
Posts
3
Karma
0

Mon Apr 30, 2007 1:27 am
rapsys wrote:You are wrong !

You need to NOT USE your apache for use the ktorrent webinterface.

Run ktorrent, load the webinterface plugin, setup it.

Then connect on http://localhost:8080/

You NEED to not use regular webserver, as it's ktorrent plugin that act as httpd server.


Thank you!
Let me try!!
stevenofnine
Registered Member
Posts
62
Karma
0

Mon Apr 30, 2007 6:27 pm
KTorrent may not set up to default to 8080 as the port of connection.

If you have trouble, make sure the WebUI Port is known to you, and you use it in the connection attempt.
George
Moderator
Posts
5421
Karma
1

Mon Apr 30, 2007 6:44 pm
Normally all you need is the commandline version of PHP installed
imported4-lemon
Registered Member
Posts
3
Karma
0

Thu May 03, 2007 1:21 pm
I have already resolved this problem.
I shutdown apache server , start the ktorrent and load all the plugins.
then I visit ktorrent on another PC. It works.
but, it still have some thing wrong with "upload torrent with URI", it seems that I can't upload torrent seeds with URI.
stevenofnine
Registered Member
Posts
62
Karma
0

Thu May 03, 2007 7:04 pm
Depending on the site you're getting the data from, you can't load a URL/URI.

What you should do, i this case, is save the .torrent file locally and then use the upload .torrent option.

Sites which require a passkey, IP check, or other security measures don't permit remote loading of torrents via this web address method. But loading the torrent file, itself, works for me every time.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar