Jump to content
X2Community Forums

Foreign key constraint is incorrectly formed

Recommended Posts


Help me please, when I was installing X2CRM to my hosting I got error:

Installing X2CRM

  • Completed: set up core database structure
  • Completed: set up role-based access control (RBAC) permissions system
  • Completed: insert time zone data
  • Error installing module "users". SQL statement "ALTER TABLE `x2_calendar_permissions` ADD CONSTRAI..." failed;HY000,1005,Can't create table `kn_lgs_x2crm`.`x2_calendar_permissions` (errno: 150 "Foreign key constraint is incorrectly formed")

My sourse:

web-hosting (CPanel 98.0, Apache 2.4.51, php 7.4, 10.3.31-MariaDB)
X2CRM v7.1 from github


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...