Vitalii 2 Posted October 14, 2021 Report Share Posted October 14, 2021 Hello! 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 Quote Link to post Share on other sites
alt_f4 57 Posted October 14, 2021 Report Share Posted October 14, 2021 Try stepping down to PHP 7.1 1 Quote Link to post Share on other sites
Vitalii 2 Posted October 15, 2021 Author Report Share Posted October 15, 2021 I will try. But is there another way? Because there are some applications on hosting, which require php 7.4 Quote Link to post Share on other sites
alt_f4 57 Posted October 15, 2021 Report Share Posted October 15, 2021 May want to read here or ask @jack for an ETA. Quote Link to post Share on other sites
Vitalii 2 Posted October 17, 2021 Author Report Share Posted October 17, 2021 Thank you for help! I could install with 5.6 PHP, there weren't any problem! The problem was php 7... 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.