XBMC Community Forum
XBMC HTTP-R, Remote Control Web App for PDA, PPC, or Smartphone (developers wanted) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116)
+--- Thread: XBMC HTTP-R, Remote Control Web App for PDA, PPC, or Smartphone (developers wanted) (/showthread.php?tid=40958)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31


Index.php: blank - Rody - 2009-11-15 21:58

Great application, unfortunately I do not get it to work. Index.php opens a blank page. Could someone give me some suggestions?

I'm using Opera 10.01 browser

I tried the following:

http://localhost/
URL opens Xampp website:
XAMPP Lite 1.7.2!
Congratulations:
You have successfully installed XAMPP on this system!


http:/192.168.0.197:8080
opens the XBMC interface:

[Image: screeny.th.jpg].


http:/192.168.0.197/interface
Object cannot be found:
Error 404
192.168.0.197
11/15/09 20:34:11
Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0


http:/192.168.0.197/xbmc/interface
Url opens the indexpage with 3 directories:

[Image: screenshotinterface.png]


http:/192.168.0.197/xbmc/indexing.php
Url is Ok:

Indexing: XBMC
Movies
Progress: 0
Albums
Progress: 0
Artists
Progress: 0
TV-Shows
Parsing: 0 seasons:


http:/192.168.0.197/xbmc/ (or http:/192.168.0.197/xbmc/index.php)
This url opens a blank page.


- Halibutt - 2009-11-16 04:22

cloverfield Wrote:I don't get it...

I've installed XAMPP and have XBMC installed. I go to 127.0.0.1:8080 (port within xbmc) and I get this interface:
[Image: screeny.th.jpg]
Wrong address. It depends on the name of the folder you created in htdocs. In my case the HTTP-R files are located at: C:\XAMPP\xampplite\htdocs\xbmc

So the folder is named xbmc, and I find it by navigating to http://192.168.1.101/xbmc

In your case it could be 127.0.0.1/http-r, 127.0.0.1/remote, or whatever you called that folder.

Also, make sure your server is running, otherwise you won't see anything Smile
Cheers


- tamago_quin - 2009-11-16 14:39

ill upload what i have tonightn remember its not 100% functioning properly as is... but close.

halibutt, i may have a temp solution for your images. in the next few days i will try to uplad a solution


- Halibutt - 2009-11-16 15:08

tamago_quin Wrote:halibutt, i may have a temp solution for your images. in the next few days i will try to uplad a solution
You're my hero Smile


- slash - 2009-11-16 15:52

Fiasco Wrote:I wrote a javascript function to generate the CRC of a thumbnail from the path/filename of the media file here

Javascript thumbnail CRC generator

Hi Fiasco,

Thanks for your work on the js crc generator but when trying to use it I found a small issue (specially with IE).

I had to modify this:
Number.prototype.unsign = function(bytes) {
[INDENT]return this >= 0 ? this : this - Number.MIN_VALUE*2;[/INDENT]
};

In case someone needs to use it.


- cloverfield - 2009-11-16 22:40

Halibutt Wrote:Wrong address. It depends on the name of the folder you created in htdocs. In my case the HTTP-R files are located at: C:\XAMPP\xampplite\htdocs\xbmc

So the folder is named xbmc, and I find it by navigating to http://192.168.1.101/xbmc

In your case it could be 127.0.0.1/http-r, 127.0.0.1/remote, or whatever you called that folder.

Also, make sure your server is running, otherwise you won't see anything Smile
Cheers

That is not the problem... the adress is working (for local use). I get an interface (see picture), but I don't get the things you'll see in the youtube video > I only get what you see in that screenshot.


- Halibutt - 2009-11-16 23:15

That's because this app is not supposed to replace your standard HTTP interface! In my case I can go to 192.168.1.1:8080 and I would see the same thing as in your screen. So, in short, the address is working, but it's not the address you're looking for.
Cheers


- cloverfield - 2009-11-16 23:26

Halibutt Wrote:That's because this app is not supposed to replace your standard HTTP interface! In my case I can go to 192.168.1.1:8080 and I would see the same thing as in your screen. So, in short, the address is working, but it's not the address you're looking for.
Cheers
Sorry, but how do you mean that? The standard interface? Of what? xampp? xbmc? http-r?

I copied the http-r package in a folder called xbmc inside of the htdocs folder of xampp...? And I call http://IP/xbmc... isn't that correct?


- Halibutt - 2009-11-17 00:45

cloverfield Wrote:Sorry, but how do you mean that? The standard interface? Of what? xampp? xbmc? http-r?

I copied the http-r package in a folder called xbmc inside of the htdocs folder of xampp...? And I call http://IP/xbmc... isn't that correct?
That should do it. If when navigating to http://<your_servers_ip>/xbmc you see the XBMC http GUI instead of this HTTP-R interface, then most probably there's something wrong with your installation. Are you sure both XAMPP and XBMC are running?
Cheers


- Rody - 2009-11-17 20:33

When I open the URLhttp://192.168.0.197/xbmc I still get a blank page.

I noticed that every time I open this link my error log in Xammp (c:\xampplite/apache/logs/error.log) shows two new lines:

[INDENT][Tue Nov 17 19:25:48 2009] [error] [client 192.168.0.197] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /xbmc/%3C?=$template->path?>480/style.css HTTP/1.1 to file, referer: http://192.168.0.197/xbmc/

[Tue Nov 17 19:25:48 2009] [error] [client 192.168.0.197] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /xbmc/%3C?=$template->path?>script.js HTTP/1.1 to file, referer: http://192.168.0.197/xbmc/
[/INDENT]
Could this be the reason that I get a blank page? And if so, what could be the solution?