Page 4 of 5
Re: HouseBot Web Server
Posted: Tue Dec 06, 2011 3:19 pm
by Timoh
Richard, I'll make sure the next release doesn't contain any of the code associated with pwd & uname. It was one of the first things I did and fairly unstable.
Jacco, Make sure you have the theme parameter specified correctly... It should be ?Theme= and then your theme name. The parameter "Theme" is case sensitive. So "Theme=" works and "theme=" does not. For example you should be able to get the HB sample theme with... "
http://127.0.0.1:5025/?Theme=sample theme"
Tim
Re: HouseBot Web Server
Posted: Tue Dec 06, 2011 3:27 pm
by jacco van der Ven
This is the link
http://192.168.1.80:5025/?Theme=HomeAtZuwe&Refresh=5000
But still I see Housebot JS client
Jacco
Re: HouseBot Web Server
Posted: Tue Dec 06, 2011 3:38 pm
by Timoh
Re: HouseBot Web Server
Posted: Tue Dec 06, 2011 4:03 pm
by jacco van der Ven
Well, it say's Theme not found, I am sure it is the right name.
Re: HouseBot Web Server
Posted: Tue Dec 06, 2011 4:24 pm
by Timoh
Can you see what the xml file for that theme is called in the Housebot config/themes folder?
The server assumes the theme name is the same as the filename for the theme.
Tim
Re: HouseBot Web Server
Posted: Tue Dec 06, 2011 11:05 pm
by jacco van der Ven
It is called same HomeAtZuwe.xml I tryed it also with another theme but still the same.
The location folder is ./config/themes.
That is setup in the settings of the webserver.
Jacco
Re: HouseBot Web Server
Posted: Wed Dec 07, 2011 10:48 am
by Timoh
If you go to the root of your webserver, what does it show? If you directory listing property is enabled, it should show the folder where your themes are. if you click on your theme xml.... Does it open?
In the meantime, I'm working on adding some more informative messages instead of theme not found.
I wonder if there's some AV or permissions problem.
Tim
Re: HouseBot Web Server
Posted: Wed Dec 07, 2011 12:05 pm
by kilowatt
Jacco,
Are you using Firefox to test this? I see the same thing you are seeing if I try to use IE but my theme displays pretty well under Firefox.
Mark
Re: HouseBot Web Server
Posted: Wed Dec 07, 2011 12:40 pm
by jacco van der Ven
I am using Google Chrome, perhaps it is something in the settings, can you look at the attacement?
Re: HouseBot Web Server
Posted: Wed Dec 07, 2011 12:57 pm
by kilowatt
looks the same as mine except for 'User Name' and 'Password'.
I have not tried Chrome but I know only some browsers are supported so far. I'll install Chrome and give it a try.
Re: HouseBot Web Server
Posted: Wed Dec 07, 2011 1:13 pm
by kilowatt
I tried Chrome and it seems to partially work for me. Chrome is missing some buttons that display in Firefox. Not quite all my buttons are shown Firefox either but more are shown than in Chrome.
Mark
Re: HouseBot Web Server
Posted: Wed Dec 07, 2011 1:37 pm
by jacco van der Ven
I tried firefox, and it don't work, is see only, I tried also another theme's without succes.
Housebot JS client v0.1 on the page
Re: HouseBot Web Server
Posted: Wed Dec 07, 2011 2:37 pm
by jacco van der Ven
Well, after trying and trying, it is working now. I don't know what I did wrong.
Thanks
Re: HouseBot Web Server
Posted: Wed Dec 07, 2011 4:12 pm
by Timoh
Good to see you got it working.
It's a pretty shortlist that could give a theme not found.... Bad name, bad folder structure, some other s/w (such as AV) preventing the server from reading the file, permissions... The server assumes that it will find the themes in config/themes folder from where the housebotserver.exe file is located.
The property setting "Document Root' is used by a different part of the webserver and not for loading themes. ie: You can change your document root, but it will still look in the housebotserver.exe folder./config/themes for your theme.
Tim
Re: HouseBot Web Server
Posted: Thu Dec 08, 2011 10:02 am
by Timoh
Hi folks,
Any screen shots? Any other feedback?
If not, I'm going to dive into button functionality.
Thanks
Tim