Jump to content


gfl

Member Since 21 Dec 2016
Offline Last Active May 06 2020 02:04 AM
-----

Topics I've Started

How to set php version for x2crm that is different to the cpanel hosting version?

06 May 2020 - 12:02 AM

I'm hosting an x2crm on namecheap shared server hosting.

 

Unless the cpanel php is set to version 5.6 or thereabouts x2crm wont run. X2crm wont run when cpanel php is set to latest version.

 

I want to set PHP to the latest for hosting other apps, including wordpress.

 

I've tried recommended app php versioning, by adding code to .htaccess and including a php version 5.6 php.ini file, etc:

<FilesMatch ".(?:html|php)$">
SetHandler application/x-lsphp56
</FilesMatch>
lsapi_phpini /home/eoptz/3.eoptz.com//php.ini
 

 

Unless the cpanel php is set to version 5.6 x2crm wont run.

 

The current error message is Fatal error: Interface 'IBehavior' not found in /home/eoptz/3.eoptz.com/framework/base/CBehavior.php on line 21.


Date/Time Formula calculation

12 March 2020 - 08:54 PM

How to calculate the time difference in minutes between 2 date/time fields?

 

For example,

 

- calculating the minutes taken on a task by subtracting the start date/time field from the end date/time field.

- calculating the time since the record was created


How to print reports formatted the same as the reports generated, without added html ch...

04 November 2019 - 11:16 PM

Reports generated by the x2crm are ok, but printed, downloaded and emailed reports are not formatted the same as the generated reports e.g. instead of line breaks they containing ugly '<br />'. html characters...