I just install jquerymobile and when I load the page I got this:
Notice: Undefined index: autoinitializepage in _jquerymobile_build_js() (line 78 of /home/deb29871n2/domains/avlis.nl/public_html/drukkers/sites/all/modules/jquerymobile/jquerymobile.inc).
Notice: Undefined index: subpageurlkey in _jquerymobile_build_js() (line 79 of /home/deb29871n2/domains/avlis.nl/public_html/drukkers/sites/all/modules/jquerymobile/jquerymobile.inc).
Notice: Undefined index: activepageclass in _jquerymobile_build_js() (line 80 of /home/deb29871n2/domains/avlis.nl/public_html/drukkers/sites/all/modules/jquerymobile/jquerymobile.inc).
Notice: Undefined index: activebtnclass in _jquerymobile_build_js() (line 81 of /home/deb29871n2/domains/avlis.nl/public_html/drukkers/sites/all/modules/jquerymobile/jquerymobile.inc).
Notice: Undefined index: ajaxenabled in _jquerymobile_build_js() (line 82 of /home/deb29871n2/domains/avlis.nl/public_html/drukkers/sites/all/modules/jquerymobile/jquerymobile.inc).
Notice: Undefined index: hashlisteningenabled in _jquerymobile_build_js() (line 83 of /home/deb29871n2/domains/avlis.nl/public_html/drukkers/sites/all/modules/jquerymobile/jquerymobile.inc).
Notice: Undefined index: defaultpagetransition in _jquerymobile_build_js() (line 84 of /home/deb29871n2/domains/avlis.nl/public_html/drukkers/sites/all/modules/jquerymobile/jquerymobile.inc).
Notice: Undefined index: defaultdialogtransition in _jquerymobile_build_js() (line 85 of /home/deb29871n2/domains/avlis.nl/public_html/drukkers/sites/all/modules/jquerymobile/jquerymobile.inc).
Notice: Undefined index: loadingmessage in _jquerymobile_build_js() (line 86 of /home/deb29871n2/domains/avlis.nl/public_html/drukkers/sites/all/modules/jquerymobile/jquerymobile.inc).
Notice: Undefined index: loadingmessage in _jquerymobile_build_js() (line 87 of /home/deb29871n2/domains/avlis.nl/public_html/drukkers/sites/all/modules/jquerymobile/jquerymobile.inc).
Notice: Undefined index: pageloaderrormessage in _jquerymobile_build_js() (line 88 of /home/deb29871n2/domains/avlis.nl/public_html/drukkers/sites/all/modules/jquerymobile/jquerymobile.inc).
Notice: Undefined index: linkbindingenabled in _jquerymobile_build_js() (line 89 of /home/deb29871n2/domains/avlis.nl/public_html/drukkers/sites/all/modules/jquerymobile/jquerymobile.inc).
Notice: Undefined index: pushstateenabled in _jquerymobile_build_js() (line 90 of /home/deb29871n2/domains/avlis.nl/public_html/drukkers/sites/all/modules/jquerymobile/jquerymobile.inc).
Notice: Undefined index: touchoverflowenabled in _jquerymobile_build_js() (line 91 of /home/deb29871n2/domains/avlis.nl/public_html/drukkers/sites/all/modules/jquerymobile/jquerymobile.inc).
there is a similar issue that puts the blame on the case of the vars. I tried those suggestions but with no luck.
Greetings,
Eduardo
Comments
Comment #1
voj commentedMe too...
It seems that the settings from the database cannot be read.
subscribe
Comment #2
IKE0088 commentedsame here...subscribe.
Comment #3
IKE0088 commentedsame here...subscribe.
Comment #4
JerryJ commentedNow just replace to dev version. and wait for next release
Comment #5
JoeRobertsPhotography commentedI think I found a fix for this. There are two issues.
Issue 1:
From this page admin/config/jquerymobile/settings after you check one of the Mobile Themes. Lets say I choose mobile_jquery. The page reloads and then gives you a tab at the top. When you go to this tab and make your selections and submit it. It reloads the page and nothing seems to have been saved. This issue is because the deault_value for each of the form elements is case sensitive. Example you have autoinitializepage and it should be autoInitializePage with the "I" and the "P" capitalized. This will fix the form.
FIX 1:
All you have to do is go in and update the jquerymobile.admin.inc file on line(s):
Second Issue:
The code for the function _jquerymobile_build_js() inside jquerymobile.module also needs to be udpated. The same issue as above. The capitalization of $settings array needs to match.
Fix 2:
Below is an updated copy of the function _jquerymobile_build_js():
I hope that helps. These two issues only seem to come up if you change the default settings.
Thanks,
Joe
Comment #6
grient commentedThanks Joe, seems to resolve the error. I found the
_jquerymobile_build_jsfunction injquerymobile.incthough.Cheers, Leon
Comment #7
geoffAuthor commentedYes. I confirm this fix works. Should the module be updated with this?
Comment #8
jordan8037310 commentedJust an FYI for anyone who stumbles upon this page with the same issue... The dev version has this fixed already even though there is no patch here.
Comment #9
kscheirerYeah, this is fixed in dev.
Comment #11
hanmant.sapkal commentedEdit for #5 ---- _jquerymobile_build_js() function is in jquerymobile.inc and not in jquerymobile.module