HTPC-Manager icon indicating copy to clipboard operation
HTPC-Manager copied to clipboard

Can't change settings within the web interface

Open staticn0de opened this issue 10 years ago • 8 comments

Hi all,

I can't save changes to settings within the web interface.

I've installed htpc-manager before and used it for months, something is going on since I reinstalled ubuntu server 14.04.

If I access the web interface and click on 'settings' and then try and change any values, either under 'general' or any other tabs down the left hand side, once I click on 'save' to submit the changes the screen will refresh back to the default values.

I've tried reinstalling, running as different users. The output from the debug log is below

http://pastebin.com/gdVzMQu7

staticn0de avatar Dec 28 '14 23:12 staticn0de

Try another browser. Its related to line 101 in settings.js So that on me, :p until it gets removed or delayed reload you can comment it out with //

Hellowlol avatar Dec 29 '14 01:12 Hellowlol

i have this issue with firefox and safari on my mac, for some of the settings with the test field i click that after inputting my settings and then click save and they stick.

for other screens that don't have the test field, i changed one or two settings at a time and then save, then edit another 1 or 2 and save and so on, until i have what i need saved.

not an ideal situation, but something of a workaround.

sparklyballs avatar Dec 29 '14 01:12 sparklyballs

Works fine here on chrome. But I have added a time delay in my own branch. That might be the reason. But if you want something permanent until styxit fixes it, comment it out.

Hellowlol avatar Dec 29 '14 01:12 Hellowlol

Thanks HellowLol.

Commenting out line 101 fixed it for me.

staticn0de avatar Dec 29 '14 08:12 staticn0de

Glad it worked out :)

Hellowlol avatar Dec 29 '14 08:12 Hellowlol

@staticn0de @sparklyballs Any chance you can test this branch https://github.com/Hellowlol/HTPC-Manager/tree/fixreload to see if that solves the isse your having?

Hellowlol avatar Dec 29 '14 19:12 Hellowlol

Not sure if this is related, but i tried to update mt xbmc-server settings and changes did not save the first time. When trying to save a second time, the changes were saved.

Was able to reproduce this, and it turned out it was always the second try that was successful.

styxit avatar Dec 29 '14 19:12 styxit

@Hellowlol,

Your branch does not have the same problem. All went fine for me. Have not re-tried @styxit branch with clicking 'save' twice just yet.

staticn0de avatar Dec 29 '14 21:12 staticn0de