After enabling the mobileplugin module, this message is displayed on a white screen, site-wide:
The File /[...]/sites/all/modules/mobileplugin/wurfl-php-1.r0/resources/sites/tmp/wurfl does not exist!!!
My system temp file is set to "/tmp"
To regain access to my site, I must disable the module manually in the database.
Comments
Comment #1
teemule commentedSorry about that trouble! (btw your site was not down as the module activates only to the number 1 user automatically)
I had the same temporary setting in my tests and it worked.. will debug this more.
A work around:
Set a temporary path in mobileplugin/wurfl-php-1.r0/resources/wurfl-config.xml and make sure the directory exists and is writable.
Comment #2
SMonsen commentedI enabled the module and this is what I get:
The File […]/sites/all/modules/mobileplugin/wurfl-php-1.r0/resources/$$TMP does not exist!!!
Any work around for that?
Comment #3
cyberknat commentedFresh site nothing (except for one iframe from the nytimes which i am going to get rid of) on it. own server-installed mobile garland..Looked fine. Installed the Mobile Plugin- and WSOD sitewide..can't even get into administer-am just spposed to rm mods now? bummer..
update: this may be more of my fault as i forgot to chmod in and make those file changes
update (despite the chmods) WSOD
ITS DEF this mod. I move it out of the modules folder and the WSOD goes away. Put it in and it returns again.
Comment #4
teemule commentedThe automatic wurfl detection will definetly be ripped in the next release.. You need to manually check the wurfl-config.xml (comment 1) and the wurfl parsing requires up to 128M in php.ini memory_limit! Check your error log.
Comment #5
cyberknat commentedThe automatic wurfl detection will definetly be ripped in the next release.. You need to manually check the wurfl-config.xml (comment 1)
-did that
and the wurfl parsing requires up to 128M in php.ini memory_limit! Check your error log.
Vi'd in and bumped it up to 128M
still no change. The result is still WSOD when entering the main url or any page.
Comment #6
cyberknat commentedclarify which DIR needs chmod edits
Comment #7
cyberknat commentedComment #8
RAFA3L commentedsame problem here and I chmod 777 moduleplugin -R
The File […]/sites/all/modules/mobileplugin/wurfl-php-1.r0/resources/$$TMP does not exist!!!
Comment #9
teemule commentedYou have a bad setting in your wurfl-config, which is propably caused by not having write rights to the config-file during installing the module.
Look into: mobileplugin/wurfl-php-1.r0/resources/wurfl-config.xml
Change the directory in two places: <params>dir=/your/directory/choice</params>
I suggest a location somewhere else than in the modules folder which could cause very long scan times for modules. Also the temp folder could be a problem in case of cleaning it and corrupting the wurfl cache.
After make sure your apache has write rights to your chosen directory.
Comment #10
RAFA3L commentedSorry teemule,
It work perfect, I just did chmod to the wrong folder and now only the right file is writable. Now work perfect! Today I'll try the image resizing
Comment #11
cyberknat commentedI am sorry but I attempted yet again following all steps and still a site wide whiteout..
Comment #12
cyberknat commentedI am sorry but I attempted yet again following all steps and still a site wide whiteout..
Update: Maybe users should be warned that this mod can cause WSOD issues
Comment #13
RAFA3L commentedI think I got the WSOD before, but I up the memory_limit to 128M and work fine now
Comment #14
cyberknat commentedapache has write rights to your chosen directory.
Can you include the edits and what httpd config file needs to have them
Comment #15
baxterjones commentedHad the problem but fixed it.
what i did:
created a folder called "TMP" under sites/files/
open file "wurfl-config.xml" and edit where text "$$TMP" is and insert the dir location of the "TMP" under files...
(find the "wurfl..." file under "*/sites/all/modules/mobileplugin/wurfl-php-1.r0/resources/"
so true path e.g. /var/www/*you-site-dir*/sites/files/TMP
hope this helps someone.. i sure struggled to get this working :)
o and also when the module is being installed it takes some time.. about 1-2 minutesbefore the module pages is shown again, reason is (what i assume) to copy the cache files over to the newly created "TMP" dir.
i also notice that you have to change permissions to a file while i installed (as mentioned above) but don't worry which file it will show an error message.
Good luck
B
Comment #16
abdiman commentedRAFA3L,
Could you explain which file you've CHMOD exactly?
I am not sure WSOD here is caused by memory_limit less than 128M, as my php.ini memory is only 64M. The module can run. Even I still get error, perhaps regarding wurfl-config.
Comment #17
venusrising commentedSame issue with the WSOD. This module really needs a patch applied. Above fixes did not work. Went in to PHPMYADMIN to manually disable
Comment #18
albertc commentedComment #19
teemule commentedIn the future versions the WURFL will be separated from this module and provided only through it's own module.
Fixing the WURFL trouble will take some understanging and access to your server:
max_execution_time = 120
memory_limit = 128M
Mobile plugin will automatically only detect for user uid=1 so your site might not be unreachable while it looks like it for you.