Our installation of Drupal uses db table prefixes, and we get the following error:

user warning: Table 'photorajs.menu_links' doesn't exist query: UPDATE menu_links SET link_path=CONCAT(CONCAT(link_path,'/'),mlid) WHERE (link_path='nolink' OR link_path='separator') AND hidden!=-1 in /var/www/httpdocs/sites/all/modules/special_menu_items/special_menu_items.module on line 228.

I've added {} around the table name on line 228 in the file mentioned, which seems to have fixed the error. If this sounds correct, please add this to the next version of the module. Thanks!

CommentFileSizeAuthor
#2 special_menu_items.module.diff856 bytesDave Kinchlea

Comments

Dave Kinchlea’s picture

Status: Needs review » Reviewed & tested by the community

Ditto for me, I made the same change and I believe it is correct ... consider it reviewed

Dave Kinchlea’s picture

StatusFileSize
new856 bytes

I meant to add this simple patch, can't do that if you "edit" a comment but can if you "reply" but I'm not sure I understand why

Servit’s picture

Status: Reviewed & tested by the community » Fixed

Hi,

Sorry it took quite a while to get to this issue. Yes, it must have slipped my mind to add the curly braces.

will be added in the next version.

Khaled Zaidan

Servit’s picture

Status: Fixed » Closed (fixed)