Opened 17 years ago

Closed 17 years ago

#9 closed defect (fixed)

on asus wl-500gp

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

Description

From ticket #8.(copy from PuTTY command line)

hi,cyla. how can i used rtwi on asus wl-500gp? (http://wl500g.info/)

i was installed php, php-fcgi, lighttpd, sqlite. in lighttpd.conf,i use mod_fcgi & mod_scgi command. then i start on IE & login.the rtwi shown white page.

why i can used wtorrent & ntorrent? (wtorrent is WebUI on php)

i think you set root is "/tmp/local/root/" but my firmware set root is "/opt". how can i change this script??

can't run "REQUEST_URI" line??? how can i do??

Sorry for bad english.(i am thai)

Thank you for your answer.

Change History (2)

in reply to:  description comment:1 by Gabor Hudiczius, 17 years ago

Status: newassigned

i was installed php, php-fcgi, lighttpd, sqlite. in lighttpd.conf,i use mod_fcgi & mod_scgi command. then i start on IE & login.the rtwi shown white page.

it really should not show you an empty white page, unless your php settings are not right, or your setup is missing some of the next: php5, php5-xml, php5-xsl, php5-xmlrpc (however, xml and xsl extensions seems to be installed based on ticket #8 info)
please check your php configuration for error reporting settings, enable logging/displaying error messages

why i can used wtorrent & ntorrent? (wtorrent is WebUI on php)

afaik both nTorrent and wTorrent uses (at least can use) unix socket with an scgi gateway (apache, or lighty) for connecting rTorrent
rTWi does not (yet), so you need to change your rTorrent configuration to use scgi_port instead of scgi_local

i think you set root is "/tmp/local/root/" but my firmware set root is "/opt". how can i change this script??

rTWi has nothing to do with your root directory, all it needs is your rTorrent download directory for loading new torrents, but it's read from rtorrent configuration

can't run "REQUEST_URI" line??? how can i do??

the _SERVER["REQUEST_URI"] variable does not exist in cli mode, but those two error messages can't possibly cause your problem, those are just notices the main problem was that rTWi could not find the xsl files (it uses relative paths, try run from rTWi's index directory to avoid this problem) however, i don't think you'll be able to pass the login page in cli mode

in reply to:  description comment:2 by Gabor Hudiczius, 17 years ago

Resolution: fixed
Status: assignedclosed

... then i start on IE & login.the rtwi shown white page.

afaik on your system php is set to log errors instead of displaying them, that's why you've got a blank page

and the source of the error is, you propably don't have a php-xmlrpc extension
the bad news: i couldn't find a php-xmlrpc extension for asus wl500gp
the good news: next rev won't need that extension

Note: See TracTickets for help on using tickets.