Closed (won't fix)
Project:
Administration menu
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2009 at 19:54 UTC
Updated:
24 Dec 2009 at 15:17 UTC
Installing Administration Menu 6.x-1.5 in a clean D2.15 causes and incessant "Please wrap your JavaScript code in function.....to be compatible" error prompt on every admin page load!
Comments
Comment #1
Todd Young commentedOK not 100% sure, because I uninstalled and still saw the error. I guess it could be something with 2.15 itself, but I didn't see it until I installed this module.
Comment #2
Todd Young commentedFlushed all caches and things seem fine (?!?)
Comment #3
Todd Young commentedComment #4
gpk commentedIt shouldn't be necessary to flush caches in this way but maybe something quirky went wrong during the installation.. which should flush caches anyway. If someone else has the problem I'm sure they will find this issue.
Comment #5
vitis commentedAfter I upgraded to 6.15 on my pc's wamp test site, admin menu (dowloaded a few months ago) had no items. I ran update.php again, with no change. Didn't try clearing the cache. Admin menu problems didn't surprise me; when I upgraded to 6.14, admin menu didn't work well. I ended up uninstalling it and re-installing a fresh download when I first upgraded to 6.14.
So, this evening, I disabled admin menu > ran update.php > deleted admin menu file from sites/all/modules > ran update.php again > downloaded the latest development release of admin menu 6.x-3.x-dev 2009-Nov-14 > unpacked and put it in sites/all/modules > enabled the new admin menu - just the basic one > saved configuration > ran update.php
then I got this error message on the top of every page:
Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:1770425:\"MySQL server has gone away\nquery: UPDATE cache_menu SET data = 'a:2:{s:4:\\"tree\\";a:84:{i:19968;a:2:{s:4:\\"link\\";a:37:{s:14:\\"load_functions\\";s:26:\\"a:1:{i:3;s:9:\\"menu_load\\";}\\";s:16:\\"to_arg_functions\\";s:0:\\"\\";s:15:\\"access_callback\\";s:11:\\"user_access\\";s:16:\\"access_arguments\\";s:33:\\"a:1:{i:0;s:15:\\"administer menu\\";}\\";s:13:\\"page_callback\\";s:15:\\"drupal_get_form\\";s:14:\\& in C:\Programs3\drupal\wamp\www\drupal-6.15\includes\database.mysqli.inc on line 128and no errors in log entries.
Then I cleared cached data -> no change.
Next, I uninstalled the latest dev -> error messages all gone. Then I removed latest dev of admin menu from sites/all/modules > ran update.php > downloaded and installed most recent recomended version of admin menu 6.x-1.5 2009-Jul-02 > ran update.php > Works Fine Now.
I imagine its a bit overkill with update.php, but, running that has solved admin menu problems when I upload my database live <-> test.
Summary: Latest dev did not work for me on 6.15. Recommended version worked fine for me on 6.15. Didn't try alpha.
Comment #6
sunThis notice only existed in D7 during its development cycle. Not sure which other module or thing implemented this code in D6, but it's definitely not contained in the regular Drupal 6 core.
Hence, nothing to fix for admin_menu here.