Welcome, Guest
Username Password: Remember me

Image disappears after click in iphone template
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Image disappears after click in iphone template

Image disappears after click in iphone template 13 years, 11 months ago #702

  • de Vries
  • OFFLINE
  • Junior Boarder
  • Posts: 29
  • Karma: 0
Because in the other thread nobody responded, I thought I'd create a thread in the official way. Using the official questions from the sticky, hoping someone will be able to help:

Host: Worldstread.nl
server: Dedicated server
php 5.2.10
mysql 5.0.67-community
Server Type Linux
Web Server apache2handler
link: www.chaniaweb.com (using an iphone)
mobie joomla version: 0.9.9 (same with 0.9.8 though)
error: Highslide photo's (use one in an article) dissapear when clicked on. This only happens on an iphone(iphone iOS does not seem to matter here, it's only the iphone template of mobile joomla). It doesn't only happen with Highslide.

Also happens in Phocagallery that also uses the lightbox effect. This happens in both this version of mobile joomla, as the previous one.

I aknowledge that I have read the FAQ and did not find the answer. Neither could I find it in the existing threads. There is another thread about this, but nobody found the answer.

ps: the problem also is not the iphone. It has to be in the template. In the other thread, a user submitted an URL(first post) accessable through a normal browser. It uses the mobile joomla template. Click on the image, and it dissapears.

Other thread link: www.mobilejoomla.com/forum/topic.html?id=682

Hoping somebody knows any way to go on this. I've tried all settings in both mobile joomla, highslide and phocagallery.

Image dissapears after click in iphone template 13 years, 10 months ago #2894

  • de Vries
  • OFFLINE
  • Junior Boarder
  • Posts: 29
  • Karma: 0
*shameless bump*

Re: Image dissapears after click in iphone template 13 years, 9 months ago #3564

  • de Vries
  • OFFLINE
  • Junior Boarder
  • Posts: 29
  • Karma: 0
Upgrade to newest version of mobile joomla still gives the same error.

No support on this? I know more than just myself have this problem(from reading this forum), yet there too was no answer.

Re: Image dissapears after click in iphone template 13 years, 9 months ago #3567

  • Barnabas
  • OFFLINE
  • Moderator
  • Posts: 329
  • Karma: 6
I have seen the error when I visted the website. I would like to try to reproduce it on my site. Which Phoca joomla downloads do I need to install?
Thanks

Re: Image dissapears after click in iphone template 13 years, 9 months ago #3568

  • de Vries
  • OFFLINE
  • Junior Boarder
  • Posts: 29
  • Karma: 0
Thanks for the reply.

It not only happens with Phoca gallery. Example: the Highslide add-on. Which is a totally different app. Only thing in common is the lightbox image popup.

Phoca gallery: www.phoca.cz/phocagallery

Thanks again.
Last Edit: 13 years, 9 months ago by de Vries.

Re: Image dissapears after click in iphone template 13 years, 9 months ago #3569

  • Barnabas
  • OFFLINE
  • Moderator
  • Posts: 329
  • Karma: 6
OK, I'll have a look. I won't be able to work on it till tomorrow afternoon.

Re: Image dissapears after click in iphone template 13 years, 9 months ago #3587

  • Barnabas
  • OFFLINE
  • Moderator
  • Posts: 329
  • Karma: 6
Here be dragons.

The problem occurs when a picture is clicked on. It should then show a pop up of a larger version of the picture. Instead the screen shows an empty frame.

I tried this on my site and looked at the error log file. I then tried a few things and got about 18 error messages a second until I broke the connection. I will tell you what I tried and why you should not do the same. There will be listings from the error logs but at the end the conclusion is that someone else will provide the solution.

The first error I saw was
[Tue Mar 01 18:31:49 2011] [error] [client 77.99.92.127] File does not exist: /home/sites/boynhillbaptist.org.uk/public_html/xxxxxxxxxx/templates/mobile_iphone/mj_iphone.css, referer: http://www.boynhillbaptist.org.uk/xxxxxxxxxx/index.php?option=com_phocagallery&view=detail&catid=1:york-stream&id=1:dscf7149web&tmpl=component&Itemid=62

I tried physically placing the code from the folder css into the place where it did not exist. This did not help.

The first error was followed by many more of these:
[Tue Mar 01 18:32:03 2011] [error] [client 77.99.92.127] PHP Warning:  mysqli::real_escape_string() [<a href='mysqli.real-escape-string'>mysqli.real-escape-string</a>]: Couldn't fetch mysqli in /home/sites/boynhillbaptist.org.uk/public_html/xxxxxxxxxx/plugins/mobile/terawurfl/DatabaseConnectors/TeraWurflDatabase_MySQL5.php on line 544, referer: http://www.boynhillbaptist.org.uk/xxxxxxxxxx/index.php?option=com_phocagallery&view=detail&catid=1:york-stream&id=1:dscf7149web&tmpl=component&Itemid=62
[Tue Mar 01 18:32:03 2011] [error] [client 77.99.92.127] PHP Warning: mysqli::query() [<a href='
mysqli.query'>mysqli.query</a>]: Couldn't fetch mysqli in /home/sites/boynhillbaptist.org.uk/public_html/xxxxxxxxxx/plugins/mobile/terawurfl/DatabaseConnectors/TeraWurflDatabase_MySQL5.php on line 361, referer: http://www.boynhillbaptist.org.uk/xxxxxxxxxx/index.php?option=com_phocagallery&view=detail&catid=1:york-stream&id=1:dscf7149web&tmpl=component&Itemid=62
[Tue Mar 01 18:32:03 2011] [error] [client 77.99.92.127] PHP Warning: TeraWurflDatabase_MySQL5::getDeviceFromCache() [<a href='terawurfldatabase-mysql5.getdevicefromcache'>terawurfldatabase-mysql5.getdevicefromcache</a>]: Couldn't fetch mysqli in /home/sites/boynhillbaptist.org.uk/public_html/xxxxxxxxxx/plugins/mobile/terawurfl/DatabaseConnectors/TeraWurflDatabase_MySQL5.php on line 361, referer: http://www.boynhillbaptist.org.uk/xxxxxxxxxx/index.php?option=com_phocagallery&view=detail&catid=1:york-stream&id=1:dscf7149web&tmpl=component&Itemid=62

I tried to set the site to use mysqli instead of mysql. Bad move. Do not do this.
My feeling is that the process which recognises mobile browsers is trying to identify my picture as a mobile phone browser. Or it may just be breaking because the string is so long. You can tell I'm not an expert in this
So if anyone wants to suggest things, I'll have a look tomorrow.
PS I did just try disabling the mobile terrawurfl plugin, but it still went into a loop.
Last Edit: 13 years, 8 months ago by Barnabas. Reason: remove directory name

Re: Image dissapears after click in iphone template 13 years, 9 months ago #3588

  • de Vries
  • OFFLINE
  • Junior Boarder
  • Posts: 29
  • Karma: 0
That goes a bit above my head . Thanks a lot for looking into it. I really like Mobile Joomla, so I hope someone can come up with a fix for this.

Thanks again!

Re: Image dissapears after click in iphone template 13 years, 9 months ago #3589

  • Barnabas
  • OFFLINE
  • Moderator
  • Posts: 329
  • Karma: 6
You are welcome. I did try looking at the phoca site using iBBdemo2 an iphone simulator. It could not view the enlarged picture. That did not inspire confidence. It showed as a popup.

boynhillbaptist.org.uk 77.99.92.127 - - [02/Mar/2011:18:45:19 +0000] "GET /xxxxxxxxxx/index.php?option=com_phocagallery&view=detail&catid=1:york-stream&id=1:dscf7149web&tmpl=component&Itemid=62 HTTP/1.1" 200 3146 "http://www.boynhillbaptist.org.uk/xxxxxxxxxx/index.php?option=com_phocagallery&view=detail&catid=1:york-stream&id=1:dscf7149web&tmpl=component&Itemid=62" "Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16"
 

These are the entries that kept occurring again and again in the signon log. they are identical so I suppose that the error routine says try it one more time, it might just work.
Last Edit: 13 years, 8 months ago by Barnabas. Reason: remove directory name. Revise iBBdemo2 test result.

Re: Image dissapears after click in iphone template 13 years, 9 months ago #3590

  • Barnabas
  • OFFLINE
  • Moderator
  • Posts: 329
  • Karma: 6
and the code...
 
<div class="phocagallery-box-file" style="height:158px; width:120px;"><div class="phocagallery-box-file-first" style="height:118px;width:118px;margin: auto"><div class="phocagallery-box-file-second"><div class="phocagallery-box-file-third"><a class="modal-button" title="dscf7149web" href="/xxxxxxxxxx/index.php?option=com_phocagallery&amp;view=detail&amp;catid=1:york-stream&amp;id=1:dscf7149web&amp;tmpl=component&amp;Itemid=62" rel="{handler: 'iframe', size: {x: 680, y: 560}, overlayOpacity: 0.3}" ><img width="100" height="100" src="/xxxxxxxxxx/images/phocagallery/thumbs/phoca_thumb_m_dscf7149web.jpg" alt="dscf7149web" /></a></div></div></div>
 
 
Last Edit: 13 years, 8 months ago by Barnabas. Reason: remove directory name
  • Page:
  • 1
  • 2
Time to create page: 0.27 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.