I have an old site I wanted to update on localhost.
I made a copy in a subfolder and configured etc/hosts and apache to use a fake TLD (togethearth.con instead of .com). So on my machine: togethearth.con -> 127.0.0.1/togethearth
settings.php is configured accordingly (togethearth.con) to keep clean URL.
I kept the SAME database for the 2 versions (5.10 and 5.16).
After I updated togethearth.con from 5.10 to 5.16 + updated modules, there's no more collapsible menus in SOME settings (taxanomy user roles, OGUR, FCKeditor, ...).
in FF3 (Minefield on Mac) error console, I have:
Error: Drupal.settings is undefined
Source File: http://localhost/modules/admin_menu/admin_menu.js
Line: 5
And also in Safari Error Console:
Undefined value
And the same database with 5.10 (and old modules) is working fine in both Firefox and Safari! No errors and all collapsible menus are working.
I also get (for both 5.10 and 5.16 on FF3):
Error: [Exception... "Component is not available" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: file:///Applications/Minefield.app/Contents/MacOS/components/nsSessionStore.js :: sss_saveState :: line 1909" data: no]
Source File: file:///Applications/Minefield.app/Contents/MacOS/components/nsSessionStore.js
Line: 1909
Not sure if it's related.
Thanks for your help, and I hope it will help others.
| Comment | File | Size | Author |
|---|---|---|---|
| Picture 2.jpg | 52.25 KB | zanoman | |
| Picture 1.jpg | 29.39 KB | zanoman |
Comments
Comment #1
zanoman commentedSorry,
please read:
Error: Drupal.settings is undefined
Source File: http://togethearth.con/modules/admin_menu/admin_menu.js
Line: 5
Comment #2
Anonymous (not verified) commentedYou say you copied the DB did you copy the cache and session tables. Try
Report if that helps.
Comment #3
zanoman commentedI didn't copied the db.
It's different folders accessing the same db.
I restarted with fresh browser and cleared all cache tables, same results.
Comment #4
zanoman commentedI copied the 5.10 install elsewhere.
Updated and tested page version after version.
It works with 5.16.
Now the modules:
admin menu (5x-2.8) breaks part of the collapsible function, no more triangle, but at least it's expanded.
I rolled back to previous version and everything went back to normal. So admin menu is guilty.
I checked admin menu changelog:
Admin Menu 5.x-2.8, 2009-01-24
------------------------------
#362454 by sun: Fixed Drupal.settings.admin_menu is undefined JS error in some
browsers.
Well obviously, it's not fixed. I'll check out the link.
I rolled back the admin menu module in the 5.16 and everything is back on track.
Sorry guys, not a base bug, just a module.
Thanks Earnie for your quick reply and help.
Comment #5
dave reidMoving to the admin_menu issue queue so we can most likely find the duplicate issue. Your best bet is to try using the latest 5.x-3.x-dev version of admin_menu which always has all the latest fixes.
Comment #6
sunYep, this has been fixed in 3.x.