Opened 16 years ago

Closed 15 years ago

#25 closed defect (fixed)

Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: Empty string supplied as input in /var/www/rtwi/includes/classes/xmlrpc_handler.inc.php on line 137

Reported by: Shadowtester Owned by: Gabor Hudiczius
Priority: major Milestone: airborn
Component: rTWi Version: 0.3.2
Severity: major Keywords:
Cc:

Description

After logging into rtwi I get the following error messages using rtwi 0.32 libtorrent 0.12.2 and rtorrent 0.8.2 I am using apache2 as the webserver.

Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: Empty string supplied as input in /var/www/rtwi/includes/classes/xmlrpc_handler.inc.php on line 137

Warning: Invalid argument supplied for foreach() in /var/www/rtwi/includes/classes/xmlrpc_handler.inc.php on line 427

Warning: Invalid argument supplied for foreach() in /var/www/rtwi/index.php on line 381

Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: Empty string supplied as input in /var/www/rtwi/includes/classes/xmlrpc_handler.inc.php on line 137

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /var/www/rtwi/index.php on line 10

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /var/www/rtwi/index.php on line 10

In my apache2 config file I have the following line

SCGIMount /RPC2 127.0.0.1:5000

And in the users.conf I have the following user setup

[rt]
address =       "http://127.0.0.1:5000/RPC2"
pass =          "removed for security reasons"

In my .rtorrent.rc I have the following line

scgi_port =:5000

This rtorrent and apache2 setup is currently working with wtorrent and rtgui so any help you can give would be appreciated. Any aditional info you need just ask I will try to provide.

Thanks Shadowtester

Change History (2)

comment:1 by Gabor Hudiczius, 16 years ago

you've combined two things, you should not
you can connect directly to rTorrent via scgi, at 127.0.0.1:5000, or via an scgi gateway (apache in your case) at http://127.0.0.1/RPC2

sample config #1:

[rt]
address =       "http://127.0.0.1/RPC2"
pass =          "removed for security reasons"



sample config #2:

[rt]
address =       "127.0.0.1:5000"
pass =          "removed for security reasons"



sample config #3:

[rt]
address =       ":5000"
pass =          "removed for security reasons"



notice, that samlpe config #2 and #3 are the same connection address

comment:2 by Gabor Hudiczius, 15 years ago

Resolution: fixed
Severity: major
Status: newclosed

fixed in 0.3.4

Note: See TracTickets for help on using tickets.