Page 1 of 1

Mobile skin

Posted: Wed Dec 02, 2009 10:11 pm
by gazoo
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

Posted: Wed Dec 02, 2009 10:26 pm
by gazoo
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)"

Posted: Mon Dec 07, 2009 11:56 am
by gazoo
bump..

Anyone have trouble with the mobile skin? Anyone use the mobile skin? HELP?

Posted: Wed Dec 09, 2009 9:58 pm
by gazoo
Ok, how about you iPhone users out there? How do you access ZM? Mobile page, or regular page? I have version 1.24.1

Posted: Sat Dec 12, 2009 9:29 pm
by richter
gazoo wrote:Ok, how about you iPhone users out there? How do you access ZM? Mobile page, or regular page? I have version 1.24.1
I'm also having the same problem using 1.24.1 on Ubuntu 9.10 32bit and trying to access via my iPhone. I get the same error though with firefox on my workstation.

Posted: Sat May 08, 2010 5:28 pm
by Kepesk
I'm having this exact same problem, and I can't figure it out for the life of me. I would like to be able to use a mobile skin, but it is not in any way working.

Hack fix

Posted: Mon May 10, 2010 2:22 pm
by furicle
Download 1.24.2 and expand it somewhere.

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>
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

Re: Mobile skin

Posted: Wed Jul 14, 2010 8:00 am
by Acecare
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.