I can't seem to get the mobile skin up and running. I get an error (below) from Firefox and and get nothing from my mobile browser on my phone (opera mobile).
-------------
XML Parsing Error: not well-formed
Location: http://192.168.1.235/zm/index.php?skin=mobile
Line Number 15, Column 43: <div><a href="?view=<br>
------------------------------------------^
I'm also seeing some errors in /var/log/apache2 that favicon.ico doesn't exist.
I thought it was that so I touched the favicon.ico file so I could make it, but that didn't do anything.
Is it possible that the mobile skin I have is corrupt? Is there a way to download it from somewhere else or try a different skin?
I'm using 1.24.1 ubuntu 9.10
Mobile skin
Mobile skin
Last edited by gazoo on Wed Dec 02, 2009 10:30 pm, edited 1 time in total.
here's the /var/log/apache2/access.log:
Code: Select all
cellphone - - "GET /zm HTTP/1.1" 301 554 "-" "HTC-P4600/5.11.502.2 Opera/9.50 (Windows NT 5.1; U; en)"
cellphone - - "GET /zm/ HTTP/1.1" 200 22983 "-" "HTC-P4600/5.11.502.2 Opera/9.50 (Windows NT 5.1; U; en)"
cellphone - - "GET /zm/graphics/favicon.ico HTTP/1.1" 200 556 "http://*.*.org/zm/" "HTC-P4600/5.11.502.2 Opera/9.50 (Windows NT 5.1; U; en)"
cellphone - - "GET /zm/css/reset.css HTTP/1.1" 200 2296 "http://*.*.org/zm/" "HTC-P4600/5.11.502.2 Opera/9.50 (Windows NT 5.1; U; en)"
cellphone - - "GET /zm/skins/classic/css/skin.css HTTP/1.1" 200 5938 "http://*.*.org/zm/" "HTC-P4600/5.11.502.2 Opera/9.50 (Windows NT 5.1; U; en)"
cellphone - - "GET /zm/skins/classic/views/css/console.css HTTP/1.1" 200 1538 "http://*.*.org/zm/" "HTC-P4600/5.11.502.2 Opera/9.50 (Windows NT 5.1; U; en)"
cellphone - - "GET /zm/tools/mootools/mootools.js HTTP/1.1" 200 184368 "http://*.*.org/zm/" "HTC-P4600/5.11.502.2 Opera/9.50 (Windows NT 5.1; U; en)"
cellphone - - "GET /zm/js/mootools.ext.js HTTP/1.1" 200 2665 "http://*.*.org/zm/" "HTC-P4600/5.11.502.2 Opera/9.50 (Windows NT 5.1; U; en)"
cellphone - - "GET /zm/skins/classic/views/js/console.js HTTP/1.1" 200 2100 "http://*.*.org/zm/" "HTC-P4600/5.11.502.2 Opera/9.50 (Windows NT 5.1; U; en)"
cellphone - - "GET /zm/skins/classic/js/skin.js HTTP/1.1" 200 9863 "http://*.*.org/zm/" "HTC-P4600/5.11.502.2 Opera/9.50 (Windows NT 5.1; U; en)"
cellphone - - "GET /zm/skins/classic/graphics/seq-d.gif HTTP/1.1" 200 301 "http://*.*.org/zm/" "HTC-P4600/5.11.502.2 Opera/9.50 (Windows NT 5.1; U; en)"
cellphone - - "GET /zm/skins/classic/graphics/seq-u.gif HTTP/1.1" 200 301 "http://*.*.org/zm/" "HTC-P4600/5.11.502.2 Opera/9.50 (Windows NT 5.1; U; en)"
cellphone - - "GET /zm/?view=watch&mid=1 HTTP/1.1" 200 6642 "http://*.*.org/zm/" "HTC-P4600/5.11.502.2 Opera/9.50 (Windows NT 5.1; U; en)"
cellphone - - "GET /zm/skins/classic/views/css/watch.css HTTP/1.1" 200 2054 "http://*.*.org/zm/?view=watch&mid=1" "HTC-P4600/5.11.502.2 Opera/9.50 (Windows NT 5.1; U; en)"
cellphone - - "GET /zm/skins/classic/views/js/watch.js HTTP/1.1" 200 22129 "http://*.*.org/zm/?view=watch&mid=1" "HTC-P4600/5.11.502.2 Opera/9.50 (Windows NT 5.1; U; en)"
cellphone - - "GET /zm/skins/classic/css/control.css HTTP/1.1" 200 3568 "http://*.*.org/zm/?view=watch&mid=1" "HTC-P4600/5.11.502.2 Opera/9.50 (Windows NT 5.1; U; en)"
cellphone - - "GET /cgi-bin/nph-zms?mode=single&monitor=1&scale=100&connkey=898007&rand=1259790225 HTTP/1.1" 200 34074 "http://*.*.org/zm/?view=watch&mid=1" "HTC-P4600/5.11.502.2 Opera/9.50 (Windows NT 5.1; U; en)"
Hack fix
Download 1.24.2 and expand it somewhere.
Compare skins/mobile/views/console.php in 24.2 with 24.1
I just made 24.1 match 24.2 on that line. I don't know if this is a proper 'fix' since I don't know what it's *supposed* to look like - but it runs without error.
HTH
Compare skins/mobile/views/console.php in 24.2 with 24.1
Code: Select all
diff console.php*
89c89
< <div id="systemTime"><a href="?view=$view"><?= preg_match( '/%/', DATE_FMT_CONSOLE_SHORT )?strftime( DATE_FMT_CONSOLE_SHORT ):date( DATE_FMT_CONSOLE_SHORT ) ?></a></div>
---
> <div id="systemTime"><a href="?view=<?= $_REQUEST['view'] ?>"><?= preg_match( '/%/', DATE_FMT_CONSOLE_SHORT )?strftime( DATE_FMT_CONSOLE_SHORT ):date( DATE_FMT_CONSOLE_SHORT ) ?></a></div>
HTH
Re: Mobile skin
I also encountered this problem. As of now, I have no idea to fix this problem so I decided to search and inquire. Hopefully, this thread can resolve our problem.