Mobile plugin conflict

Mobile plugin conflict was created by capeinfo

Posted 11 years 3 months ago #8242
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.

Replied by ced1870 on topic Mobile plugin conflict

Posted 11 years 3 months ago #8243
Hi
please give me your url where I can see the issue in action
CEd

Joomlack Webmaster and Developer

by ced1870

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

Replied by capeinfo on topic Mobile plugin conflict

Posted 11 years 3 months ago #8244
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.

Replied by ced1870 on topic Mobile plugin conflict

Posted 11 years 3 months ago #8245
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

by ced1870

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

Replied by capeinfo on topic Mobile plugin conflict

Posted 11 years 3 months ago #8247
Well... everything was working fine until I installed your latest plugin.

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

Replied by ced1870 on topic Mobile plugin conflict

Posted 11 years 3 months ago #8248
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

by ced1870

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

Time to create page: 0.676 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 591 guests and 2 members online