Bad response from server: (500 [error,getplugins / getguisettings]

jith45

Member
May 25, 2018
960
0
16
[28.06.2010 19:30:37] WebUI started.
[28.06.2010 19:30:37] Bad response from server: (500 [error,getplugins])
[28.06.2010 19:30:38] Bad response from server: (500 [error,getuisettings])

I understand this is a result of config.php not existing. But if i leave the default config.php in the conf directory it will load that config file and no other despite having 4 users.

When i go to rutorrent directory it prompts for username and password, which works fine what fails to happen is the use of the right config.php.

If i leave the config.php in conf alone then no matter the user that logins that is the config that gets used. If i remove or rename the config.php in conf, the above error message appears when logged in.

Im running Debian 5 just in case. Any ideas as to what's causing the problem?
 

somus1735

Member
May 25, 2018
833
0
16
ok, for multiple users you need to do this:



the default config.php needs to exist

you also need a config.php with user settings in rutorrent/conf/users/USERNAME


I've seen some systems bug out on first install if the rutorrent/conf/users/USERNAME/config.php files exist, it will show the error you seem to have.



For this situation, the fix is to do this:


remove the config.php file from rutorrent/conf/users/USERNAME/ and copy it to rutorrent/conf


log in as that user (it will use the proper settings)

it will create the proper files in rutorrent/share/users/ which should allow logging in

do this for each user, then put the config.php file BACK in rutorrent/conf/users/USERNAME/


if you do all of this properly, then you should end up with a working system.
 

jith45

Member
May 25, 2018
960
0
16
Thanks for the prompt reply.

Will try that now.

Cheers for that, fixed the problem right up smiley.gif
 

das329717

Member
May 25, 2018
928
0
16
I updated the rutrrent via svn today from r1630 to r1643. Single user system, and that was my problem above.
And that solution was wich posted by wonslung!

Thank you! smiley.gif
 

shwetha17

Member
May 24, 2018
785
0
16
Having this same issue on a box and this fix isnt working. I have run though this before and its worked.

adding a second user to an existing setup. The second user works when running though for that user config. First user does get fixed by running though the fix. But when the first user fails to be corrected, it takes the second user with it. sad.gif

*Confused*
 

somus1735

Member
May 25, 2018
833
0
16
I lost you at the end there....

Are you saying you have 2 users with the same config but one works and the other doesn't?

If so that means you may have some corrupt data saved in rutorrent/share/users/
 

shwetha17

Member
May 24, 2018
785
0
16
Sorry start from the beginning....

The box was a single user setup, but i already anticipated the move to multiple users, so the single user was setup in a mutliple user way. ie. username folder in conf/users.

Trying to add a second user to the box and im getting the error message on both users.

Running though the fix, solves the error for the newly added user. But when trying for the original user it fails. When the fix is applied to the original user, the second users login has the error again. Within reason i can say that as long as the fix is not applied to the original user, the newly added user will work without problem.
 

somus1735

Member
May 25, 2018
833
0
16
it happens =)

sometimes people will try to copy/paste the info using a text editor and if they end up putting a ^M or something after the closing ?> it will throw everything into chaos.
 

shwetha17

Member
May 24, 2018
785
0
16
Well this is the first hit on google when searching for the error, so maybe it will help out someone else. smiley.gif
 

somus1735

Member
May 25, 2018
833
0
16
yah, i love forums. This is why i set up the forums to begin with. The irc can be nice but forums make for a great record to help people.