Jump to content


Photo

install x2CRM 6.9 error

x2flow error

  • Please log in to reply
7 replies to this topic

#1 gsonline

gsonline

    Member

  • Members
  • PipPip
  • 28 posts
  • LocationTel-Aviv

Posted 08 August 2017 - 01:44 AM

I made a fresh install of x2 6.9 and when I go to the x2flow and try to make a new flow I get this error: 

 
Fatal error: Cannot instantiate abstract class BaseX2FlowLocation in /xxxx/xxxxx/public_html/xxxxx.com/xxxx/protected/components/x2flow/X2FlowItem.php on line 245
Attached File  2x-error.JPG   35.69KB   0 downloads
 
 
Anyone have an idea on how to fix this?


#2 X2Isaiah

X2Isaiah

    Advanced Member

  • Moderators
  • 256 posts

Posted 08 August 2017 - 09:03 AM

Hey gsonline,

 

The location actions have actually been deprecated and replaced for the more robust location shortcode. However, with the update process some of the code and files may not have 'deleted' properly.

 

Do you think you can send me the list of files that are in your /protected/components/x2flow/actions/* and we can try to debug from there.


Isaiah Solomon

Software Engineer

X2Engine Inc.


#3 gsonline

gsonline

    Member

  • Members
  • PipPip
  • 28 posts
  • LocationTel-Aviv

Posted 08 August 2017 - 10:07 AM

Here is the list of files - 

*This is a fresh install using softaculous*

Attached File  list of files.JPG   97.93KB   1 downloads



#4 X2Isaiah

X2Isaiah

    Advanced Member

  • Moderators
  • 256 posts

Posted 08 August 2017 - 11:03 AM

Hey gsonline,

 

What I would recommend (after backing up your database and files) is to go to the line in X2FlowItem where it mentions BaseX2FlowLocation and remove that text. Then I would remove the files BaseX2FlowLocation, X2FlowLocationActivityFeed, X2FlowLocationText, X2FlowLocationEmail, and X2FlowLocationNotification. That should fix the issue. Let me know what happens.


Isaiah Solomon

Software Engineer

X2Engine Inc.


#5 gsonline

gsonline

    Member

  • Members
  • PipPip
  • 28 posts
  • LocationTel-Aviv

Posted 09 August 2017 - 12:45 AM

X2Isaiah,

 

I am not sure I understand the change you are asking me to do. 

 

Should I remove the files:

  • BaseX2FlowLocation
  • X2FlowLocationActivityFeed
  • X2FlowLocationText
  • X2FlowLocationEmail
  • X2FlowLocationNotification

Just delete them?



#6 X2Isaiah

X2Isaiah

    Advanced Member

  • Moderators
  • 256 posts

Posted 09 August 2017 - 09:11 AM

Yes, or even better move them to a separate directory.


Isaiah Solomon

Software Engineer

X2Engine Inc.


#7 wcsr

wcsr

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 15 March 2018 - 02:07 AM

Hi,

 

I cannot install x2crm version 6.9.

I get the following message every time '

 

  • Error installing module "users". SQL statement "ALTER TABLE `x2_calendar_permissions` ADD CONSTRAI..." failed;HY000,1215,Cannot add foreign key constraint
     

I have tried every fix that I can find but nothing will get me passed this error on the install page.

 

Any help will be appreciated.

 

Regards

John



#8 alt_f4

alt_f4

    Advanced Member

  • Premium Members
  • PipPipPip
  • 286 posts
  • LocationGermany

Posted 15 March 2018 - 07:28 AM

May this could help... http://community.x2c...allation-error/







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users