Closed (fixed)
Project:
Gallery
Version:
6.x-1.x-dev
Component:
Module: Gallery Menu
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2008 at 10:57 UTC
Updated:
23 Oct 2008 at 00:03 UTC
Jump to comment: Most recent file
Comments
Comment #1
profix898 commentedThere is a bug in the menu system of Drupal 6. I created an issue for this at http://drupal.org/node/227486 (and a patch that should solve the problem). Can you please apply the patch, rebuild the menu and try again? Thx.
Comment #2
profix898 commentedhttp://drupal.org/node/249664 points to the same problem. Anyone tried the patch at http://drupal.org/node/227486?
user warning: Data too long for column 'load_functions' at row 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, page_callback, page_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('gallery/%/%/%/%', 'a:4:{i:1;a:1:{s:12:\"gallery_load\";a:2:{i:0;s:4:\"%map\";i:1;s:6:\"%index\";}}i:2;a:1:{s:12:\"gallery_load\";a:2:{i:0;s:4:\"%map\";i:1;s:6:\"%index\";}}i:3;a:1:{s:12:\"gallery_load\";a:2:{i:0;s:4:\"%map\";i:1;s:6:\"%index\";}}i:4;a:1:{s:12:\"gallery_load\";a:2:{i:0;s:4:\"%map\";i:1;s:6:\"%index\";}}}', '', 'gallery_item_access', 'a:1:{i:0;i:4;}', 'gallery_menu_album', 'a:1:{i:0;i:4;}', 16, 5, '', 'gallery/%/%/%/%', '', 't', '', 4, '', '', '', 0, '') in C:\Inetpub\wwwroot\drupal\includes\menu.inc on line 2353.Comment #3
donkasok commentedI checked whether the comming values are an array...it solves the entire issue.
You can see the patch below.... If you look into line 376 you can see that i added an if loop to check whether its an array. this solves the entire issue for me.Replace your menu with the patch or add an if loop in line 376. Please refer the patch
with regards,
Don
Comment #4
apophis.ch commentedThe Update to Drupal 6.5 fixes this issue for me completly! (and not only with this module)
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.