Hello. I have created a Mega menu, but when I try to save it, I get the message:
PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: 'http:' for column 'mid' at row 1: INSERT INTO {md_megamenu_tabs} (mid, position, settings, items) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3); Array ( [:db_insert_placeholder_0] => http: [:db_insert_placeholder_1] => 0 [:db_insert_placeholder_2] => a:2:{s:7:"general";a:7:{s:16:"is_dropdown_menu";b:0;s:12:"title_enable";b:1;s:5:"title";s:6:"Inicio";s:4:"path";s:7:"<front>";s:11:"description";s:0:"";s:4:"icon";s:0:"";s:9:"css_class";s:0:"";}s:6:"layout";a:4:{s:8:"col_grid";i:12;s:12:"rows_setting";a:0:{}s:13:"is_full_width";b:0;s:13:"submenu_width";s:0:"";}} [:db_insert_placeholder_3] => a:0:{} ) en MDMegaTab->save() (line 358 from /var/www/drupal/sites/all/modules/md_megamenu/includes/md_megamenu.class.inc).
Can you help me?
Hello, I have solved the issue.
It only happens when enter in "path" filed an url without "http"
Can you tell me how to get the message (from creating menu, add link...)? Because I tested with and without http every where and the message did not appear. I need to know to fix it.
Thank you
Hello, thanks for your quick reply.
I couldn't get the message again, I don't know why happend the first time, but it look everythig is fine with that issue.
Nevertheless, I have others issues with this module.
hello,
I have figured out that the issue with html component was that I used html view to add a table with 100% width, the problem was the "%" character in the code.
I need help to solve the issue with no english character in html componet, can you help me with that?
Hi,
For your questions:
Hi,
please replace attached files to md_megamenu module folder. I fixed % and non English charactor error.
Great.
Thank you very much