Mobile plugin conflict

More
11 years 10 months ago #8242 by capeinfo
The latest version of the mobile plugin breaks the whole site because there is a conflict with the S2 component used by JReviews. The previous version of this plugin did not do this.

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #8243 by ced1870
Replied by ced1870 on topic Mobile plugin conflict
Hi
please give me your url where I can see the issue in action
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #8244 by capeinfo
Replied by capeinfo on topic Mobile plugin conflict
I've had to disable the plugin otherwise all visitors get is a blank page.

Looking at the source code of the home page, all it shows is some JS code for a slider plugin.

Using a direct URL for another page it shows:
"Fatal Error was detected!
Fatal Error: Cannot redeclare class Mobile_Detect in components/com_s2framework/vendors/mobile_detect/Mobile_Detect.php on line 11
The error was detected in the S2framework Component."

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #8245 by ced1870
Replied by ced1870 on topic Mobile plugin conflict
ok ! so the problem is not from me, but from "com_s2framework". Theyu must check if the class exists before calling it !!!
like I do in my plugin, their component crashes your page ... ;)

(I use the Mobile_Detect class too)

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #8247 by capeinfo
Replied by capeinfo on topic Mobile plugin conflict
Well... everything was working fine until I installed your latest plugin.

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #8248 by ced1870
Replied by ced1870 on topic Mobile plugin conflict
which version is working fine for you ? because if it the old one that does not include the mobile_detect it is normal. Anyway you can see that the error come not from me ! the error on your page tells you

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.211 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 422 guests and no members online