Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
quiptime CreditAttribution: quiptime commentedIf 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?
Comment #2
quiptime CreditAttribution: quiptime commentedPlease test the following
Comment #3
jmatuska CreditAttribution: jmatuska commentedit'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
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedI 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...
Comment #5
jmatuska CreditAttribution: jmatuska commentedi 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
Comment #6
quiptime CreditAttribution: quiptime commentedOK, 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?
Comment #7
jmatuska CreditAttribution: jmatuska commentedthanks for checking it out.
yes, Libraries API is enabled (v 7.x-1.0)
Comment #8
quiptime CreditAttribution: quiptime commentedOk, 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.
Comment #9
jmatuska CreditAttribution: jmatuska commentedGreat! 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
Comment #10
quiptime CreditAttribution: quiptime commentedI have to thank. For your bug report.
Upcoming branch 2 releases will use a version check for the Libraries API module.