I have the Mobile_Detect library installed in the libraries directory. Installation and configuration of the MSw module seems to go smoothly, but I lose my admin/config page (get a blank white page). If i uninstall the module, I get my admin/config page back.
Another forum recommended setting my max_execution_time to 600 in php.ini.
Tried that, didn't work. The only way i get the admin/config page back is to uninstall the Mobile Switch module.
Thoughts?
Thanks, Jean

Comments

quiptime’s picture

Status: Active » Postponed (maintainer needs more info)

If your MSw branch 2 installation an update or an fresh module installation?

I can't reproduce this problem. At the moment I no idea for a solution approach.

Which other contrib modules in use?
Which Drupal version in use?

quiptime’s picture

Please test the following

  1. Enable the Devel module and activate the Development block (not in admin section).
  2. Enable the MSw module.
  3. Use in the Development menu the Rebuild menus link.
  4. Call the admin/config
jmatuska’s picture

it's a fresh install (not update). as i said, install and config of MSw all seemed to go smoothly. will try your suggestion re: the Devel module.
thanks

Anonymous’s picture

I am running into the same issue as well. A fresh install as well.

I had this running locally with MAMP but once I installed the module on our staging server it seems to cause this issue. Looking at the server logs it seems to have issues with libraries_detect().

Still investigating...

jmatuska’s picture

i turned on error reporting (E_ALL) in my php.ini file and now i see this error when i try to go to admin/config:

Fatal error: Call to undefined function libraries_detect() in .../public_html/sites/all/modules/mobile_switch/modules/mobile_detect_import/mobile_detect_import.install on line 49

does that help?
Jean

quiptime’s picture

OK, the WSOD problem.

The reported error occors on the pages

admin/config
admin/reports/status

This is an Mobile Detect Import (MDI) module issue.

The MDI module uses the hook_requirements() to report the installed version of the Mobile Detect class.

At this point my stupid questions.

If the Libraries API module enabled?
Which version of this module is used?

jmatuska’s picture

thanks for checking it out.
yes, Libraries API is enabled (v 7.x-1.0)

quiptime’s picture

Ok, I think we have found the problem.

Libraries API branch 2 is required by MSw/MDI.

To use the Libraries API 7.x-2.0 and avoid problems, I think it is a good solution to complete uninstall Libraries API 7.x-1.0 and then install 7.x-2.0.

jmatuska’s picture

Great! Fixed by installing Libraries API 7.x-2.0. No more WSOD.
I did not realize there was a newer version. My drupal install did not "alert" me about an update.
Thanks for your quick attention.
:) Jean

quiptime’s picture

Status: Postponed (maintainer needs more info) » Fixed

I have to thank. For your bug report.

Upcoming branch 2 releases will use a version check for the Libraries API module.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.