HouseBot Web Server

HouseBot Plugin Development Discussions.
Timoh
Advanced Member
Posts: 260
Joined: Thu Feb 02, 2006 12:56 pm
Location: Montreal - Canada

Re: HouseBot Web Server

Post 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
jacco van der Ven
Senior Member
Posts: 136
Joined: Tue Oct 21, 2003 4:16 pm
Location: The Netherlands

Re: HouseBot Web Server

Post 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
Timoh
Advanced Member
Posts: 260
Joined: Thu Feb 02, 2006 12:56 pm
Location: Montreal - Canada

Re: HouseBot Web Server

Post by Timoh »

Can you check the direct XML....
http://192.168.1.80:5025/?themeXML=HomeAtZuwe

Tim
jacco van der Ven
Senior Member
Posts: 136
Joined: Tue Oct 21, 2003 4:16 pm
Location: The Netherlands

Re: HouseBot Web Server

Post by jacco van der Ven »

Well, it say's Theme not found, I am sure it is the right name.
Timoh
Advanced Member
Posts: 260
Joined: Thu Feb 02, 2006 12:56 pm
Location: Montreal - Canada

Re: HouseBot Web Server

Post 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
jacco van der Ven
Senior Member
Posts: 136
Joined: Tue Oct 21, 2003 4:16 pm
Location: The Netherlands

Re: HouseBot Web Server

Post 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
Timoh
Advanced Member
Posts: 260
Joined: Thu Feb 02, 2006 12:56 pm
Location: Montreal - Canada

Re: HouseBot Web Server

Post 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
kilowatt
Senior Member
Posts: 152
Joined: Thu Jan 08, 2004 5:45 pm
Location: Westford, MA

Re: HouseBot Web Server

Post 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
jacco van der Ven
Senior Member
Posts: 136
Joined: Tue Oct 21, 2003 4:16 pm
Location: The Netherlands

Re: HouseBot Web Server

Post by jacco van der Ven »

I am using Google Chrome, perhaps it is something in the settings, can you look at the attacement?
Attachments
webserver.PNG
webserver.PNG (105.64 KiB) Viewed 18969 times
kilowatt
Senior Member
Posts: 152
Joined: Thu Jan 08, 2004 5:45 pm
Location: Westford, MA

Re: HouseBot Web Server

Post 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.
kilowatt
Senior Member
Posts: 152
Joined: Thu Jan 08, 2004 5:45 pm
Location: Westford, MA

Re: HouseBot Web Server

Post 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
jacco van der Ven
Senior Member
Posts: 136
Joined: Tue Oct 21, 2003 4:16 pm
Location: The Netherlands

Re: HouseBot Web Server

Post 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
jacco van der Ven
Senior Member
Posts: 136
Joined: Tue Oct 21, 2003 4:16 pm
Location: The Netherlands

Re: HouseBot Web Server

Post by jacco van der Ven »

Well, after trying and trying, it is working now. I don't know what I did wrong.
Thanks
Timoh
Advanced Member
Posts: 260
Joined: Thu Feb 02, 2006 12:56 pm
Location: Montreal - Canada

Re: HouseBot Web Server

Post 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
Timoh
Advanced Member
Posts: 260
Joined: Thu Feb 02, 2006 12:56 pm
Location: Montreal - Canada

Re: HouseBot Web Server

Post by Timoh »

Hi folks,
Any screen shots? Any other feedback?
If not, I'm going to dive into button functionality.
Thanks
Tim
Post Reply