Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

table '...main_associations' doesn't exist SQL=SEL
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 4 (Joomla 1.6/1.7/2.5+ compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: table '...main_associations' doesn't exist SQL=SEL

table '...main_associations' doesn't exist SQL=SEL 12 years, 7 months ago #29295

  • ekk
  • OFFLINE
  • Posts: 11
I'm not able to edit any menus on my J2.5.4 site, when trying to open Main Menu item from options in administrator panel the following error appears:

500 - Unknown error

Table 'usermain_defusr.main_associations' doesn't exist SQL=SELECT a.id, a.menutype, a.title, a.alias, a.note, a.path, a.link, a.type, a.parent_id, a.level, a.published as apublished, a.component_id, a.ordering, a.checked_out, a.checked_out_time, a.browserNav, a.access, a.img, a.template_style_id, a.params, a.lft, a.rgt, a.home, a.language, a.client_id,CASE a.type WHEN 'component' THEN a.published+2*(e.enabled-1) WHEN 'url' THEN a.published+2 WHEN 'alias' THEN a.published+4 WHEN 'separator' THEN a.published+6 END AS published,l.title AS language_title, l.image as image,u.name AS editor,c.element AS componentname,ag.title AS access_level,COUNT(asso2.id)>1 as association,e.name AS name FROM `main_menu` AS a LEFT JOIN `main_languages` AS l ON l.lang_code = a.language LEFT JOIN `main_users` AS u ON u.id = a.checked_out LEFT JOIN `main_extensions` AS c ON c.extension_id = a.component_id LEFT JOIN main_viewlevels AS ag ON ag.id = a.access LEFT JOIN main_associations AS asso ON asso.id = a.id AND asso.context='com_menus.item' LEFT JOIN main_associations AS asso2 ON asso2.key = asso.key LEFT JOIN main_extensions AS e ON e.extension_id = a.component_id WHERE a.id> 1 AND a.client_id = 0 AND (a.published IN (0, 1)) AND a.menutype = 'mainmenu' GROUP BY a.id ORDER BY a.lft asc Table 'usermain_defusr.main_associations' doesn't exist SQL=SELECT a.id, a.menutype, a.title, a.alias, a.note, a.path, a.link, a.type, a.parent_id, a.level, a.published as apublished, a.component_id, a.ordering, a.checked_out, a.checked_out_time, a.browserNav, a.access, a.img, a.template_style_id, a.params, a.lft, a.rgt, a.home, a.language, a.client_id,CASE a.type WHEN 'component' THEN a.published+2*(e.enabled-1) WHEN 'url' THEN a.published+2 WHEN 'alias' THEN a.published+4 WHEN 'separator' THEN a.published+6 END AS published,l.title AS language_title, l.image as image,u.name AS editor,c.element AS componentname,ag.title AS access_level,COUNT(asso2.id)>1 as association,e.name AS name FROM `main_menu` AS a LEFT JOIN `main_languages` AS l ON l.lang_code = a.language LEFT JOIN `main_users` AS u ON u.id = a.checked_out LEFT JOIN `main_extensions` AS c ON c.extension_id = a.component_id LEFT JOIN main_viewlevels AS ag ON ag.id = a.access LEFT JOIN main_associations AS asso ON asso.id = a.id AND asso.context='com_menus.item' LEFT JOIN main_associations AS asso2 ON asso2.key = asso.key LEFT JOIN main_extensions AS e ON e.extension_id = a.component_id WHERE a.id> 1 AND a.client_id = 0 AND (a.published IN (0, 1)) AND a.menutype = 'mainmenu' GROUP BY a.id ORDER BY a.lft asc LIMIT 0, 100 Table 'usermain_defusr.main_associations' doesn't exist SQL=SELECT a.id, a.menutype, a.title, a.alias, a.note, a.path, a.link, a.type, a.parent_id, a.level, a.published as apublished, a.component_id, a.ordering, a.checked_out, a.checked_out_time, a.browserNav, a.access, a.img, a.template_style_id, a.params, a.lft, a.rgt, a.home, a.language, a.client_id,CASE a.type WHEN 'component' THEN a.published+2*(e.enabled-1) WHEN 'url' THEN a.published+2 WHEN 'alias' THEN a.published+4 WHEN 'separator' THEN a.published+6 END AS published,l.title AS language_title, l.image as image,u.name AS editor,c.element AS componentname,ag.title AS access_level,COUNT(asso2.id)>1 as association,e.name AS name FROM `main_menu` AS a LEFT JOIN `main_languages` AS l ON l.lang_code = a.language LEFT JOIN `main_users` AS u ON u.id = a.checked_out LEFT JOIN `main_extensions` AS c ON c.extension_id = a.component_id LEFT JOIN main_viewlevels AS ag ON ag.id = a.access LEFT JOIN main_associations AS asso ON asso.id = a.id AND asso.context='com_menus.item' LEFT JOIN main_associations AS asso2 ON asso2.key = asso.key LEFT JOIN main_extensions AS e ON e.extension_id = a.component_id WHERE a.id > 1 AND a.client_id = 0 AND (a.published IN (0, 1)) AND a.menutype = 'mainmenu' GROUP BY a.id ORDER BY a.lft asc
The topic has been locked.

Re: table '...main_associations' doesn't exist SQL=SEL 12 years, 7 months ago #29298

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,
This problem is probably related to some plugin you have installed. I don't think such SQL comes from JoomSEF. JoomSEF also doesn't do anything in administrator, it works only on frontend.
ARTIO Support Team
The topic has been locked.

Re: table '...main_associations' doesn't exist SQL=SEL 12 years, 7 months ago #29302

  • ekk
  • OFFLINE
  • Posts: 11
fix database command saved the day
The topic has been locked.
  • Page:
  • 1
User Login Empty