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 am using D7 and installed this module
When I try to configure mobile tools I get the error
The website has encountered a problem
I tried all possible steps by enabling disabling and reinstalling it still same issue persist
Comments
Comment #2
pablitt CreditAttribution: pablitt commentedHey Sms2luv, did you check the watchdog errors ?
Comment #3
Sms2luv CreditAttribution: Sms2luv commentedHow to check
Comment #4
pablitt CreditAttribution: pablitt commentedPlease check at admin/reports/dblog/ then you can filter the messages you want to see
if you see no messages, you can enable the reports by going to admin/config/development/logging and make the module go boom again :)
Paste the message here so we can help you :)
Cheers
Comment #5
alfredojr CreditAttribution: alfredojr commentedHere is what my error reports give back.
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'b.parent' in 'field list': SELECT b.parent AS parent FROM {browscap} b GROUP BY parent ORDER BY parent ASC; Array ( ) in mobile_tools_browscap_get_browscap_parents() (line 139 of /Users/alfredonevarez/Sites/tresplace/sites/all/modules/contrib/mobile_tools/mobile_tools_browscap/mobile_tools_browscap.module).
Comment #6
pablitt CreditAttribution: pablitt commentedDid you update your module recently ? when you update some modules you need to run /update.php
If not, did you try uninstalling the module from the backend ?
Comment #7
aptorian CreditAttribution: aptorian commentedHey alfredojr, that exception is related to #1717242: Add support for browser parent detection in mobile_tools_browscap and #1759968: Column not found: 1054 Unknown column 'b.parent' in 'field list'. You just need to have Browscap patched as described in /mobile_tools_browscap/README.txt.
Sms2luv, did you see the same exception or are you experiencing a different problem? Can you please post your error log/report?
Thanks.
Comment #8
dgreenyc CreditAttribution: dgreenyc commentedI'm experiencing the same issue - i just installed Mobile Tools on my Drupal 7.15 instance and when i try to edit the example Device Group or add a new Device Group i get the SQL exception listed above. Is there another module that needs to be installed that updates the correct table with the b.parent field?
Comment #9
Sms2luv CreditAttribution: Sms2luv commentedI am also getting the Same error
Comment #10
oldokh CreditAttribution: oldokh commentedPDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'b.parent' in 'field list': SELECT b.parent AS parent FROM {browscap} b GROUP BY parent ORDER BY parent ASC; Array ( ) in mobile_tools_browscap_get_browscap_parents() (line 139 of
This problem ?
Comment #11
shorouk CreditAttribution: shorouk commentedSame here! I applied the patch and still have the same problem, any suggestions?
Comment #12
shorouk CreditAttribution: shorouk commentedI downgraded the mobile-tools 7.3 to 7.2 and that works for me! http://ftp.drupal.org/files/projects/mobile_tools-7.x-2.x-dev.tar.gz
Comment #13
jlea9378 CreditAttribution: jlea9378 commentedI installed the patch for Browscap (http://drupal.org/node/1713570) but am still getting this error whenever I try to modify the default device group or add a new device group.
Drupal core 7.17
Chaos tool suite (ctools) 7.x-1.2+7-dev (2012-Nov-16)
Browscap 7.x-2.0
Context 7.x-3.0-beta4
Mobile Tools 7.x-3.x-dev (2012-Aug-07)
Persistent URL 7.x-1.0-beta1+11-dev (2012-Aug-20)
ThemeKey 7.x-2.3+8-dev (2012-Nov-26)
Comment #14
jlea9378 CreditAttribution: jlea9378 commentedOk apparently after patching Browscap you need to uninstall the module and reinstall it, since it modifies the .install file. This resolves the error. However there appears to be a problem with the patch that results in a different error.
Comment #15
apaderno