Jump to content


Member Since 14 Jun 2017
Offline Last Active May 17 2019 04:09 AM

#15607 x2crm 7.1 version not working in Php version 7.2

Posted by Attila on 04 April 2019 - 12:20 AM



Try the following 



  • photo-thumb-11119.jpg?_r=1522885564
  • Administrators
  • admin.png
  • 75 posts

Posted 28 January 2019 - 07:47 PM

This appears to be caused by a null variable ($hiddenTags) within protected/components/TagCloud.php. We will provide a hotfix patch this week. You can also replace:

  1. if(count($hiddenTags)>0){
  2. $tagParams = AuxLib::bindArray ($hiddenTags);
  3. $params = array_merge ($params, $tagParams);
  4. $str1=" AND tag NOT IN (".implode (',', array_keys ($tagParams)).")";
  5. }else{
  6. $str1="";
  7. }


  1. if(!is_null($hiddenTags) && count($hiddenTags)>0){
  2. $tagParams = AuxLib::bindArray ($hiddenTags);
  3. $params = array_merge ($params, $tagParams);
  4. $str1=" AND tag NOT IN (".implode (',', array_keys ($tagParams)).")";
  5. }else{
  6. $str1="";
  7. }

in protected/components/TagCloud.php


#15595 x2 Engine User interface bug at 1024px resolution

Posted by Attila on 29 March 2019 - 01:43 AM

Hi Wiseman


If your install is a fresh install ver 6.9 then its a known issue on some servers, we couldn't figure out why. and no infor was forthcoming from the developers. 


To workaround this,   suggest that you install  6.3 then upgrade to 7.1 its pretty straight forward.



#15582 Known Issues with ver 7 upgrade

Posted by Attila on 19 March 2019 - 10:14 PM

Using 7.1 and php 7.3 I got a 500 error from framework/i18n/CNumberFormatter.php when it was passed a non numeric value.  In previous versions of php, this resulted in the return of 0.  To alleviate this, I added a check for numeric at the beginning of the function.  If I make changes like this should I submit them to the community github?


Thanks Ylandsman,  I think you should  do both as many members on this forum  can benefit from your findings .... 

#15576 Error 500 when opening reports

Posted by Attila on 18 March 2019 - 04:52 AM


I am getting a similar error report (see below). Is there are resolution?


Error 500
It looks like the application ran into an unexpected error. 

We apologize for the inconvenience and would like to do our best to fix this issue. If you would like to make a post on our forums we can actively interact with you in getting this resolved. If not, simply sending the error report helps us immensely and will only improve the quality of the software. Thanks!
Send Error Report
Here's a quick list of what will be included in the report:

Error Code: 500
Error Message: openssl_decrypt(): IV passed is 32 bytes long which is longer than the 16 expected by selected cipher, truncating
Stack Trace: [click to toggle display]
X2Engine Version: 6.6
PHP Version: 7.0.30

Email Address (optional)

Include phpinfo()? (optional, but recommended) 

Please Note: Any information in the $_GET or $_POST arrays included with the request will also be sent with the report.



Hello Juddra ,


Your problem is not the same as Eugenes and Enzos, you need to re-generate your encryption.iv and encryption.key files in protected/config.  You can do this by deleting encryption.iv and encryption.key (the app should then re-create them or you can manually create them by running protected/yiic cryptsetup). on my system I cant recreate them but the system seems to run ok without them.  

#15545 X2 In depth workflow manual

Posted by Attila on 23 February 2019 - 12:33 AM

Hi John 


I found this a while ago may be of some help 



#15526 UI Bug in Admin Module

Posted by Attila on 19 February 2019 - 09:06 PM

Pics please Eugene


Is it this kind of thing that I had initially 



#15462 Create Workflow Display Isuue

Posted by Attila on 21 January 2019 - 03:36 AM

Hi Rafer, 


I once had that same problem, running on Centos 7x and no one could help. The only thing that cured this problem is installing 6.6 and upgrading to 6.9. 


Have you tried  a fresh install  ver 7.1 ? 

#15239 7.0 downloads?

Posted by Attila on 30 October 2018 - 11:08 PM

Dont do it Tanami .... it was a security update that lead to a number of issues ...read some of the bug reports ..... wait until there is a proper upgrade 

#15198 Error with translations - no findings in searchgrid

Posted by Attila on 24 October 2018 - 04:45 AM

Just a "wild and wooly" thought Peter....  maybe a roll back feature will be helpful in future releases.     

#15142 Known Issues with ver 7 upgrade

Posted by Attila on 16 October 2018 - 09:24 PM

Hi folks.


By now you would be aware that Ver 7 upgrade has some unintended consequences, I thought that placing all know effects under one topic will be helpful, please add your findings herein below, I have alerted X2Josef  



1)  Email "Admin.maxFileSize"  -   Error  "Admin.maxFileSize" is not defined. /home/x2/public_html/x2engine/framework/base/CComponent.php L130   

    edit protected/components/behaviors/EmailDeliveryBehavior.php   

    Change   ->        if($size > ($admin->maxFileSize * 1024 * 1024)) { // 10mb file size limit is default

    To           ->        if($size > (10 * 1024 * 1024)) { // 10mb file size limit



2) Database fields:  -  Contacts Module -  renames field "Accounts" (name) to  "Company" (company)  and creates another "Accounts" (name) field which is empty

    there may be consequences if you have workflows or standard documentation with dependencies on Accounts (name) fields in the Contacts module. 

#15119 Email Campaign

Posted by Attila on 15 October 2018 - 08:26 AM

Yes you must have the minimum data for you contacts email is a compulsory field  


1) create a list from contacts 

2) create a campaign 

3) select your list and run campaign 

#15092 Gravity Forms Integration Solution [SOLVED AND AVAILABLE]

Posted by Attila on 01 October 2018 - 01:53 AM

Nice one Eugene  thank you 

#15054 An Open Letter to John

Posted by Attila on 05 September 2018 - 12:11 AM

Hi Gents 


Our fellow contributor,  Eugeneb,  mentioned to me that a lot has changed at X2, for example John Roberts  and a number of the old programmers have moved on, the company seems to be reshuffling/organising itself to be more commercially orientated.


I wrote to the new CEO, David Buchanan, in May and was told that they are working on a "Road Map" and would communicate to the forum, I was also assured that we would see more activity from X2 on this forum, well that was 3 months ago.


In the mean time I have forged on with some bespoke developed code and have a beautiful functioning system, in spite of the above. 







Ps: as a matter of interest Sugar CRM's community forum followed the similar fate as this one,  I'm sure there are many more.  




#15046 Workflow Logic Help Please - Solved

Posted by Attila on 30 August 2018 - 09:30 AM

Hiu Eugene 


Solved the issue using the conditional objects  - thing to remember  is that when you specify the "IF YES" condition you must also specify the "IF NO" condition 


In my case,  the formula worked well  but  once the term changed from 5 say to 3 years calculation changed  there was nothing specified to do on the NO condition. I had to create a Update Record  for the fields concerned .....


I agree there is no info available on the calcs and limitations 


Chat soon over tea



#15045 Logout Link on the Menu bar

Posted by Attila on 30 August 2018 - 09:14 AM

Thanks Eugene 


Done !!!!


BTW  come over for tea some time you will love the stuff we are now doing with this sys