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

pablitt’s picture

Hey Sms2luv, did you check the watchdog errors ?

Sms2luv’s picture

How to check

pablitt’s picture

Please 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

alfredojr’s picture

Here 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).

pablitt’s picture

Did 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 ?

aptorian’s picture

Status: Active » Postponed (maintainer needs more info)

Hey 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.

dgreenyc’s picture

Status: Postponed (maintainer needs more info) » Active

I'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?

Sms2luv’s picture

I am also getting the Same error

oldokh’s picture

Assigned: Unassigned » oldokh

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
This problem ?

shorouk’s picture

Same here! I applied the patch and still have the same problem, any suggestions?

shorouk’s picture

I 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

jlea9378’s picture

Priority: Major » Critical

I 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)

jlea9378’s picture

Ok 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.

apaderno’s picture

Assigned: oldokh » Unassigned
Issue summary: View changes
Status: Active » Closed (outdated)