Closed (fixed)
Project:
Mobile Tools
Version:
6.x-2.3
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2012 at 17:52 UTC
Updated:
25 Jul 2012 at 16:56 UTC
Hi,
Installed mobile tools on a new site along with mobile fusion. I am loading the dev site on my iPhone testing - just getting started with it. I went into the mobile tool conf and was toying around to see what it could do. So I set mobile device detection on (I can't recall the interface specifically). In any case I set the mobile URL redirect to a completely different site URL. I expected that when I loaded the site on my iPhone it would redirect. Well, the site is redirecting in my PC browser and I cannot get to the admin to turn it off. Site is totally broke! How can I rescue this site?
Odisey
Comments
Comment #1
odisey commentedI tried renaming the mobile tools module on a whim, and tried accessing the site. Although the wurlf module was installed it is not enabled on the site, as I was testing to use mobile tools to act as the theme switcher. I not have this error:
Fatal error: Call to a member function getDeviceForHttpRequest() on a non-object in /home/rockybro/public_html/sites/default/modules/wurfl/wurfl.module on line 101
Comment #2
odisey commentedI got it fixed through PhpMyAdmin.
1) I shut off all the modules using:
Disable the module example:
UPDATE `system` SET status=0 WHERE name='example';
2) Optimized cache table. You might try EMPTY table tab if you have older PhpMyAdmin version.
3) Went to site/update.php
4) Ran the update and my site came back online.
5) Spooked ---- probably will uninstall ....
Comment #3
thedavidmeister commentedYou could also try disabling the module through drush.
I wouldn't blame the module for this though as it is inevitable that you'd need to test various config for this type of task. If you're not prepared to do some debugging like this on a production site, you should setup staging/dev versions of your site that you can use to do this kind of testing.
Comment #4
devin carlson commentedThe issue in #1 is caused by the WURFL module. It looks like the OP successfully disabled Mobile Tools from the comment in #2.
I'd suggest trying the latest development release of Mobile Tools (6.x-2.x-dev) and seeing if the problem persists.
Comment #5
JimmyMoonJam commentedSame thing here. I created a new issue: http://drupal.org/node/1700404