DRUPAL 7.14 with minimal modules installed.
Library Module installed...
latest jQuery Mobile version 1.0.1
JQuery Version = 1.6.4
Local Files in Sites/all/Libraries
I also have a subtheme version of MObile_JQUERY theme
I am getting these RED warnings:
Notice: Undefined index: autoinitializepage in jquerymobile_admin_local_settings() (line 172 of /home/scai99/acs01/sites/all/modules/jquerymobile/jquerymobile.admin.inc).
Notice: Undefined index: subpageurlkey in jquerymobile_admin_local_settings() (line 180 of /home/scai99/acs01/sites/all/modules/jquerymobile/jquerymobile.admin.inc).
Notice: Undefined index: activepageclass in jquerymobile_admin_local_settings() (line 187 of /home/scai99/acs01/sites/all/modules/jquerymobile/jquerymobile.admin.inc).
Notice: Undefined index: activebtnclass in jquerymobile_admin_local_settings() (line 194 of /home/scai99/acs01/sites/all/modules/jquerymobile/jquerymobile.admin.inc).
Notice: Undefined index: ajaxenabled in jquerymobile_admin_local_settings() (line 201 of /home/scai99/acs01/sites/all/modules/jquerymobile/jquerymobile.admin.inc).
Notice: Undefined index: linkbindingenabled in jquerymobile_admin_local_settings() (line 209 of /home/scai99/acs01/sites/all/modules/jquerymobile/jquerymobile.admin.inc).
Notice: Undefined index: hashlisteningenabled in jquerymobile_admin_local_settings() (line 217 of /home/scai99/acs01/sites/all/modules/jquerymobile/jquerymobile.admin.inc).
Notice: Undefined index: pushstateenabled in jquerymobile_admin_local_settings() (line 225 of /home/scai99/acs01/sites/all/modules/jquerymobile/jquerymobile.admin.inc).
Notice: Undefined index: defaultpagetransition in jquerymobile_admin_local_settings() (line 233 of /home/scai99/acs01/sites/all/modules/jquerymobile/jquerymobile.admin.inc).
Notice: Undefined index: touchoverflowenabled in jquerymobile_admin_local_settings() (line 241 of /home/scai99/acs01/sites/all/modules/jquerymobile/jquerymobile.admin.inc).
Notice: Undefined index: defaultdialogtransition in jquerymobile_admin_local_settings() (line 249 of /home/scai99/acs01/sites/all/modules/jquerymobile/jquerymobile.admin.inc).
Notice: Undefined index: minscrollback in jquerymobile_admin_local_settings() (line 257 of /home/scai99/acs01/sites/all/modules/jquerymobile/jquerymobile.admin.inc).
Notice: Undefined index: loadingmessage in jquerymobile_admin_local_settings() (line 264 of /home/scai99/acs01/sites/all/modules/jquerymobile/jquerymobile.admin.inc).
Notice: Undefined index: pageloaderrormessage in jquerymobile_admin_local_settings() (line 271 of /home/scai99/acs01/sites/all/modules/jquerymobile/jquerymobile.admin.inc).
I am pretty sure the theme is working because I have tested it as the default theme.
And I have tried a couple differnt combinations for the jquery module. installing/ un-installing.
could someone give me a hint what the issue is?
Comments
Comment #1
irishgringo commentedI switched to the jQuery Mobile 7.x-2.0-beta1+6-dev version, and the issues disappeared... fyi
however, it was not working either.. the warning were gone, but I was never able to select my theme...
I am switching back to jQuery Mobile 7.x-2.0-beta1
Comment #2
awm commentedhaving the same issue after updating drupal installation
Comment #3
emmene-moi commentedYou should request lowercase array keys with array_change_key_case, in jquerymobile.inc for config load.
Change:
to:
Comment #4
emmene-moi commentedComment #5
minoroffense commentedThe keys coming from the database are in fact case sensitive since they need to match the case of the jquery mobile arrays listed here http://jquerymobile.com/demos/1.1.0/docs/api/globalconfig.html
So we need to retain the case of the keys
Comment #6
minoroffense commentedI'm pretty sure this line
should read
If you look at _jquerymobile_build_js() it's looking for array keys with camel casing (and so is the admin settings array).
I'll give it a try and report back.
Comment #7
minoroffense commentedComment #8
michaelgc commentedreturn array_change_key_case($result);This seemed to work for me. Thanks heaps!
Comment #9
er.mohit commentedUpdating the settings variable of function jquerymobile_admin_local_settings() in jquerymobile.admin.inc fixed this issue for me.
I am using version = "7.x-2.0-beta1" og the module.
Comment #10
aptorian commentedA fix for this bug has already been committed to the 7.x-2.x dev branch. The problem was simply that in the db schema the columns were defined in CamelCase, but in jquerymobile.admin.inc they were being referenced by name in lowercase. You should see it corrected in the next release so I'm going to mark this fixed.
Comment #11
egarias commentedThe dev version has Last updated: May 2, 2012 - 00:22
So i think he fix is not commited.
I have several errors in the watchdog each time a user sees my mobile version:
Comment #12
egarias commentedI am sorry I did not modify the status.
I think it is not closed. I am right?
Comment #13
egarias commentedI will open a new issue as no answer here