mimtek / rutorrent

Automatically exported from code.google.com/p/rutorrent
0 stars 0 forks source link

mod_scgi hangs #167

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Try to load the interface for the first time

What is the expected output? What do you see instead?
stuck at the loading screen

What version of the product are you using? On what operating system?
0.ubuntu server 8.10 
1.Fetch latest rutorrent from svn, all plugins except black and chunks
2.libtorrent-0.12.5 / rtorrent-0.8.5, xmlrpc-c from sources
3.subversion, apache2, php5-cli, php5-curl, mod-scgi, ssl, libsigc++,
libcurl, libcurl-dev, libncurses5-dev from packages
4.chmod 777 rutorrent ditrib
5.socket config in .rtorrent.rc and in config.php

Are some errors present in the web-server log?
"POST /rutorrent/getsettings.php
[... images ...]
 "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.8 (Ubuntu) mod_scgi/1.12
(internal dummy connection)"

Are some errors present in the browser console?
syntax error
http://x.x.x.x/rutorrent/script.js
()

And then I click on the link that opens the js file:

, "addSettings" : function(_af)
   {
ERROR IS HERE ->  var d = eval("(" + _af + ")"), v;
         for(var i = 0, l = d.settings.length; i < l; i++)
         {
               v = d.settings[2];
               if((v == "true") || (v == "auto") || (v == "on"))
               {
                  v = "1";
               }
               if(v == "false")
               {
                  v = "0";
               }
               this.settings[d.settings

    * ] = {"t" : d.settings[1], "v" : v};

           }
         this.loadSettings();
      }

Please provide any additional information below.
rtorrent/torrent and rtorrent/settings are empty

Original issue reported on code.google.com by maga...@gmail.com on 11 Nov 2009 at 9:23

GoogleCodeExporter commented 9 years ago
Try to remove all plugins (except RPC, if you use it). If all OK - add plugins 
one by
one. 

Original comment by novik65 on 11 Nov 2009 at 9:54

GoogleCodeExporter commented 9 years ago
Already have only rpc in plugins...

Original comment by maga...@gmail.com on 11 Nov 2009 at 9:55

GoogleCodeExporter commented 9 years ago
Err... You write above - "1.Fetch latest rutorrent from svn, all plugins except 
black
and chunks". Now you have one plugin - RPC - or all except black and chunks?

Original comment by novik65 on 11 Nov 2009 at 9:57

GoogleCodeExporter commented 9 years ago
okay, my bad. I was doing some checks while waiting for reply.

Original comment by maga...@gmail.com on 11 Nov 2009 at 10:01

GoogleCodeExporter commented 9 years ago
And it not working?
What about browser version?
I need to see to your ruTorrent. If this possible - mail me address, login & 
password
(if exists).
mailto:novik65@gmail.com

Original comment by novik65 on 11 Nov 2009 at 10:07

GoogleCodeExporter commented 9 years ago
email sent.
I am using firefox 3.05
Thanks

Original comment by maga...@gmail.com on 13 Nov 2009 at 6:52

GoogleCodeExporter commented 9 years ago
Got it. But login/password is not working.

Original comment by novik65 on 14 Nov 2009 at 9:11

GoogleCodeExporter commented 9 years ago
I see to you ruTorrent page, add some torrents, all OK. I can't see any errors 
(FF
3.5, GoogleChrome, IE7, Opera10).

Original comment by novik65 on 15 Nov 2009 at 8:50

GoogleCodeExporter commented 9 years ago

Original comment by novik65 on 15 Nov 2009 at 12:20

GoogleCodeExporter commented 9 years ago
Obviously I was missing some libraries for apache:
ubuntu package libapache2-mod-php5

Should have check this from the beginning, I tough the apache libs came with 
the php5
package...

Original comment by maga...@gmail.com on 18 Nov 2009 at 2:06

GoogleCodeExporter commented 9 years ago
nope, php isn't part of any web browser.

with apache you'll need both mod_php AND php5-cgi if you want rutorrent to work 
properly

some of it is dependent on command line php.

Original comment by Wonslung@gmail.com on 18 Nov 2009 at 9:21