2010-09-15, 18:39
Hello, I just wrestled with this remote trying to get it work, and I finally did, so I thought I would post here to help out others.
The problem was that the XBMC-R page was blank. The indexing.php page worked fine, and so did my default XBMC webserver page. I am hosting both websites on the machine. I have the XBMC page set to port 80 and the XBMC-R page set to port 81.
I checked the Apache error logs and I was getting an error that said:
[Wed Sep 15 12:22:26 2010] [error] [client ::1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /%3C?=$template->path?>style.css HTTP/1.1 to file, referer: http://localhost:81/
[Wed Sep 15 12:22:26 2010] [error] [client ::1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /%3C?=$template->path?>script.js HTTP/1.1 to file, referer: http://localhost:81/
I was pretty sure this is because I was using a URL that had a ":" in it since I had to specify the port. Anyways I did a bunch of googling and finally came up with a solution that works.
If you have this problem (blank index.php page and these errors in your log), then go to the XAMPP folder and go to /php/php.ini.
Now in the php.ini file, find change short_open_tag to be On
Restart Apache and enjoy! I'm using the latest version of xampp lite and Dharma Beta 2.
The problem was that the XBMC-R page was blank. The indexing.php page worked fine, and so did my default XBMC webserver page. I am hosting both websites on the machine. I have the XBMC page set to port 80 and the XBMC-R page set to port 81.
I checked the Apache error logs and I was getting an error that said:
[Wed Sep 15 12:22:26 2010] [error] [client ::1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /%3C?=$template->path?>style.css HTTP/1.1 to file, referer: http://localhost:81/
[Wed Sep 15 12:22:26 2010] [error] [client ::1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /%3C?=$template->path?>script.js HTTP/1.1 to file, referer: http://localhost:81/
I was pretty sure this is because I was using a URL that had a ":" in it since I had to specify the port. Anyways I did a bunch of googling and finally came up with a solution that works.
If you have this problem (blank index.php page and these errors in your log), then go to the XAMPP folder and go to /php/php.ini.
Now in the php.ini file, find change short_open_tag to be On
Restart Apache and enjoy! I'm using the latest version of xampp lite and Dharma Beta 2.