Probably a mobile phone OS problem [FIXED in 3.0.169]

Admiror Gallery is free extension for Joomla! based websites. Admiror Gallery is all in one, a simple and instant solution for rendering image gallery from folder with images, but very flexible and adaptable.
Message
Author
User avatar
Bifford
Contributor
Contributor
Posts: 220
Joined: Thu Oct 21, 2010 12:31 am
Location: Essex, UK
Contact:

Probably a mobile phone OS problem [FIXED in 3.0.169]

#1 Post by Bifford »

Hello,

Using the latest version of AG, on gallery page of http://www.seaxeandsorcery.co.uk/

I am fairly certain this problem is due to using my phone, a Samsung Wave, which uses Bada OS.

I get the following error a dozen or so times in a list. The "2" changes between a 2 and "c" on different lines:

Warning: preg-match() [function: preg_match] : Unknown modifier "2" in ....../AdmirorGallery/Classes/agHelper.php on line 406

Folders show but I can not go into the folders yo see thumbnails.

Probably a mobile phone issue, but thought I'd report it in case it's fixable! :)

Thanks, Sam

Admiror Gallery 5 - Fundraising Campaign

User avatar
Bifford
Contributor
Contributor
Posts: 220
Joined: Thu Oct 21, 2010 12:31 am
Location: Essex, UK
Contact:

Re: Probably a mobile phone OS problem

#2 Post by Bifford »

In addition, if I go to the "Live Action Role Play" page, which has images built straight into the page (no folders used) I get the same error appearing twice, BUT the popup system works so images can be viewed.

So to restate: on my bada os phone I get that error anywhere AG is used, more so where Folders are used. And I can not access folders but images and popups themselves do work.

Thanks, Sam

User avatar
kekeljevic
Developer
Developer
Posts: 445
Joined: Tue Aug 17, 2010 2:38 pm
Location: Novi Sad, Serbia
Contact:

Re: Probably a mobile phone OS problem

#3 Post by kekeljevic »

It's interesting... Joomla is PHP based, which is a server technology, it should be client independent, so it shouldn't have anything with BadaOS. You say that You got this preg-match error only on Phone, but not on standard Screen... Do You have some different template used if visitor using a Phone?

User avatar
kekeljevic
Developer
Developer
Posts: 445
Joined: Tue Aug 17, 2010 2:38 pm
Location: Novi Sad, Serbia
Contact:

Re: Probably a mobile phone OS problem

#4 Post by kekeljevic »

All those swords, arrows, beer and sexy elven girls... You are a lucky guy ;-)

User avatar
Bifford
Contributor
Contributor
Posts: 220
Joined: Thu Oct 21, 2010 12:31 am
Location: Essex, UK
Contact:

Re: Probably a mobile phone OS problem

#5 Post by Bifford »

kekeljevic wrote:It's interesting... Joomla is PHP based, which is a server technology, it should be client independent, so it shouldn't have anything with BadaOS. You say that You got this preg-match error only on Phone, but not on standard Screen... Do You have some different template used if visitor using a Phone?
That's correct, and I wouldn't know how to make the template work differently for phones! lol.

I've just gone back to the site using the phone and when I initially go to the Gallery page there are no error lines above, however when I click on a Folder it throws up the dozen errors (however this time it Did access into the gallery and bring up the images, which it would not do before!)

So I can fairly safely say it's a folder error. And yeah, it only happens on the phone.

Thanks.
Sam

Admiror Gallery 5 - Fundraising Campaign

User avatar
kekeljevic
Developer
Developer
Posts: 445
Joined: Tue Aug 17, 2010 2:38 pm
Location: Novi Sad, Serbia
Contact:

Re: Probably a mobile phone OS problem

#6 Post by kekeljevic »

Currently I'm on WIFI with proxy, so I can't goes on a web using Phone, but I'll check it latter to see which errors appears.

If You are curious how to make different template for phones I could send You some code I found.

xenio
Posts: 2
Joined: Wed Feb 23, 2011 1:21 pm

Re: Probably a mobile phone OS problem

#7 Post by xenio »

I am also getting the error...

Warning: preg_match() [function.preg-match]: Unknown modifier '2' in /home/surfart1/public_html/plugins/content/AdmirorGallery/classes/agHelper.php on line 406
Warning: preg_match() [function.preg-match]: Unknown modifier 'c' in /home/surfart1/public_html/plugins/content/AdmirorGallery/classes/agHelper.php on line 406

I am using Firefox but it also show error with Chrome
Plugin 2.1.155
Component 1.8

the website is:
http://www.surfartganadu.com
and sometime this happens to this site too:
http://www.ganaduart.com

sometime this error disappears without reason.

I don't know where to look.
Any help
Thanks
Xenio

User avatar
kekeljevic
Developer
Developer
Posts: 445
Joined: Tue Aug 17, 2010 2:38 pm
Location: Novi Sad, Serbia
Contact:

Re: Probably a mobile phone OS problem

#8 Post by kekeljevic »

@xenio
It's an honor to see AG on site like http://www.ganaduart.com . Great site, with amazing artwork...

Vasiljevski has found what the issue is. We will found some solution for this soon, thanks for reporting it.

User avatar
Bifford
Contributor
Contributor
Posts: 220
Joined: Thu Oct 21, 2010 12:31 am
Location: Essex, UK
Contact:

Re: Probably a mobile phone OS problem

#9 Post by Bifford »

I'm curious - what was the problem? And i found the problem cause I was bored at work so thank goodness for free internet on phones! :D hehe

Sam / Bifford

Admiror Gallery 5 - Fundraising Campaign

User avatar
kekeljevic
Developer
Developer
Posts: 445
Joined: Tue Aug 17, 2010 2:38 pm
Location: Novi Sad, Serbia
Contact:

Re: Probably a mobile phone OS problem

#10 Post by kekeljevic »

We have a part of code in Error Detection System which isn't well written. One preg_match inside of it cause the problem, as You could see in error output. I'm not really sure why, but we detected where to look and what's needed to be redone.

Post Reply