styxit / HTPC-Manager

A fully responsive interface to manage all your favorite software on your Htpc.
http://htpc.io
MIT License
529 stars 183 forks source link

Can't change settings within the web interface #320

Open staticn0de opened 9 years ago

staticn0de commented 9 years ago

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

Hellowlol commented 9 years ago

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 //

sparklyballs commented 9 years ago

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.

Hellowlol commented 9 years ago

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.

staticn0de commented 9 years ago

Thanks HellowLol.

Commenting out line 101 fixed it for me.

Hellowlol commented 9 years ago

Glad it worked out :)

Hellowlol commented 9 years ago

@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?

styxit commented 9 years ago

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.

staticn0de commented 9 years ago

@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.