I had everything going OK, the only problem was the IOS wasn't running correctly, but all other browsers were. I had the WURFL module installed and accicentally chose that as the detection method in Mobile ToOls. Suddenly, I was only getting white screens, yes, this was a production scenerio. I quickly disabled the mobile tools module in PHPmyadmin, and things are working sans browser detection/theme switching.

I need a way to change the mobile tools, back to it's default detection method. Is that in the database somewhere? A line of code I can change in the module itself? and I need to know ASAP, it was a major goof on my part to be messing with that sort of thing on my production server, but low and behold, arggg. I did it.
Thanks everyoine!

Comments

irishjays’s picture

OK, this issue is sort-of solved.
If you have the Wurfl module activated it will appear in the mobile tools external device detection options. ITs right there for you to click as an external module. However WURFL is not totally installed even though the module was activated... If wurfl isn't properly installed *and working* you will NOT be able to get back in and change detection module back to MOBILE TOOLS. Therefore be very careful to make certain Wurfl is working on its own before selecting it for use with MObile ToOLs. Sure it seems logical, but I would urge the developers to place some sort of warning or safegaurd so that this doesn't happen to anyone else. In my case, the option was there and available, so I figured, oh Wurfl, maybe that will make things better for me, I'll select that, no wait, it doesn't--- work-- oh no. White screen.

IF it does happen to you...

You need to disable the Mobile Tools Module in Phpmyadmin. Go to the system table and change the Mobile Tools cell from 1 to 0.

Your site will now be visible. Now the tricky part.
Backup often.
go to modules -> uninstall
Uninstall Mobile-Tools

remove the folder Mobile Tools from the modules or sites/all/modules area
Disable contributed modules (or targeted modules like WURFL)
Run update.php
(also a good time to upgrade core as I did)

restart and clear everything

download latest version of Mobile Tools if you don't have it already, unpack in modules folder,
reactivate all modules in Site Building -> Modules

Try not to mess this up.

stolin1’s picture

I was able to go in and Change the Mobile Tools Cell from 1 to 0, and I can get to my front page now, but no other page will display, so I cannot login to get to any of the admin pages (not that I think it would display).

Getting http 500 error for all pages except front.

Any ideas?

-S

jwillard’s picture

Or, you can just make sure the WURFL library is installed correctly. Then, your white screens should go away and the detection will start working. Plus, you'll be able to use your admin section as you normally would.

You have to make sure you have the correct permissions for the resources (or cache) folder. The documentation tries to spell this all out but it's a little unclear. You can have all the correct files in place (wurfl library, wurfl.xml, wurfl-config.xml, etc) but if your permissions for the persistence folder you have specified are incorrect; you'll still get white screens. I hope this helps. I can detail the wurfl library setup that I've found to work if that would help.

J-Chance’s picture

Actually @jwillard that would help. Im getting a white screen myself.

minoroffense’s picture

Status: Active » Closed (won't fix)

Since we aren't supporting WURFL nor the 1.x branch I'm going to close this issue. Feel free to continue discussing if you like.

Thanks!