Jump to content


Photo

PHP 5.6 End of Life


  • Please log in to reply
15 replies to this topic

#1 gnurob

gnurob

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 27 June 2018 - 07:28 AM

Hi,

 

PHP 5.6 was initially released in 2014, and hits end of life this December, however it seems there are a fair number of changes between PHP 7.1 and the current version, PHP 7.2, which are causing enough bugs that X2 appears to be unusable. Is there any effort or timeline in place for making X2 compatible?

 

Thanks,

 

Rob



#2 phil

phil

    Newbie

  • Moderators
  • 4 posts

Posted 10 July 2018 - 01:45 PM

Hi Rob,

 

We are currently testing X2 in PHP 7.1 & 7.2 to eliminate bugs. If you are running X2 in one of these versions, we would appreciate it if you could report any bugs with the running of X2CRM with PHP 7.1 or 7.2.
 

We are hoping to have the testing done and the app updated and ready by the end of November. 

 

-Phil



#3 gnurob

gnurob

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 25 August 2018 - 06:25 AM

Hi Phil,

 

I'd be glad to helped, but after several attempts, I can't get my installation past login; so no bugs to report. Otherwise I would be happy to volunteer time.

 

Regards



#4 Craig Donovan

Craig Donovan

    Member

  • Members
  • PipPip
  • 14 posts
  • LocationAustralia

Posted 13 November 2018 - 04:35 PM

Hi Phil,

 

I'd be glad to helped, but after several attempts, I can't get my installation past login; so no bugs to report. Otherwise I would be happy to volunteer time.

 

Regards

 

I need to update my PHP to something more than 7.0, however, X2CRM does not currently work in PHP 7.1 or 7.2.

 

When will you be finished the work to make it compatible with at least 7.1?

 

Thanks

Craig


Craig Donovan
Carnaby Consulting
Australia

e: craig@carnabyconsulting.com.au


#5 gnurob

gnurob

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 14 November 2018 - 03:55 PM

Yes, I was very excited by this new release. PHP7 speeds are tremendously better as well. Hopefully the X2 crowd can make it happen in the near future. For now, I'm still off-line since summer.



#6 Attila

Attila

    Advanced Member

  • Members
  • PipPipPip
  • 106 posts
  • LocationJohannesburg, South Africa

Posted 14 November 2018 - 10:32 PM

there was a post from X2Peter recently that  indicated that support for PHP7x will be completed in the December-ish timeframe ...... 


Never allow waiting to become a habit. Live your dreams & take risks. Life is happening NOW !


#7 gnurob

gnurob

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 16 November 2018 - 07:26 AM

That would be excellent news. I'm really looking forward to where X2 goes.



#8 ylandsman

ylandsman

    Member

  • Members
  • PipPip
  • 11 posts

Posted 12 December 2018 - 03:43 AM

Any update on this?  We are already at mid december



#9 jack

jack

    Newbie Member

  • Moderators
  • 17 posts

Posted 13 December 2018 - 02:08 PM

Hi guys,

 

We are currently testing 7.0 php, and if all goes well we hope to have it out in January.

 

-Jack 



#10 gnurob

gnurob

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 17 December 2018 - 08:29 AM

PHP is past end-of-life, and 7.1 expires in 2019. There isn't a big difference between 7.0 and 7.1, but 7.2 does have a few more significant changes. It would really be beneficial to test on 7.2.

 

http://php.net/manua...migration72.php

http://php.net/supported-versions.php

 

Glad to see the project is progressing, thank you!



#11 Craig Donovan

Craig Donovan

    Member

  • Members
  • PipPip
  • 14 posts
  • LocationAustralia

Posted 16 January 2019 - 09:09 PM

Hi guys

 

Is there any expected release date for X2CRM Open Source to be compatible with php 7.x?

 

Thanks

Craig


Craig Donovan
Carnaby Consulting
Australia

e: craig@carnabyconsulting.com.au


#12 Attila

Attila

    Advanced Member

  • Members
  • PipPipPip
  • 106 posts
  • LocationJohannesburg, South Africa

Posted 16 January 2019 - 09:27 PM

Hi  Craig, 

 

Yes  PHP 7.X+  is now supported with X2CRM ver 7.1  

 

 

A word of Caution don't rush in and upgrade to 7.1 and change the php  to 7  in a live environment there are issues  


Never allow waiting to become a habit. Live your dreams & take risks. Life is happening NOW !


#13 gnurob

gnurob

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 17 January 2019 - 05:15 AM

Thanks Attila. 7.1 is EOL this year, any word on 7.2?



#14 Attila

Attila

    Advanced Member

  • Members
  • PipPipPip
  • 106 posts
  • LocationJohannesburg, South Africa

Posted 17 January 2019 - 11:34 PM

Here you go gents 

 

http://community.x2c...rt-for-php-72/ 


Never allow waiting to become a habit. Live your dreams & take risks. Life is happening NOW !


#15 X2Peter

X2Peter

    Advanced Member

  • Administrators
  • 73 posts

Posted 18 January 2019 - 09:44 AM

Hello Everyone,

 

The 7.1 update comes with compatibility with PHP 7.2+.



#16 Craig Donovan

Craig Donovan

    Member

  • Members
  • PipPip
  • 14 posts
  • LocationAustralia

Posted 24 January 2019 - 07:57 PM

Hello Everyone,

 

The 7.1 update comes with compatibility with PHP 7.2+.

I updated X2CRM to version 7.1 and it works ok with PHP 7.1 but not PHP 7.2.

 

 
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: count(): Parameter must be an array or an object that implements Countable
Stack Trace: [click to toggle display]
PHP warning in /home/ozpharmc/public_html/x2/protected/components/TagCloud.php(55)
#0 /home/ozpharmc/public_html/x2/framework/web/CBaseController.php(170): TagCloud->run()
#1 /home/ozpharmc/public_html/x2/protected/components/SortableWidgets.php(163): SortableWidgets->widget()
#2 /home/ozpharmc/public_html/x2/protected/controllers/x2base.php(833): SortableWidgets->run()
#3 /home/ozpharmc/public_html/x2/protected/views/layouts/column3.php(104): ProfileController->widget()
#4 /home/ozpharmc/public_html/x2/framework/web/CBaseController.php(126): require()
#5 /home/ozpharmc/public_html/x2/framework/web/CBaseController.php(95): ProfileController->renderInternal()
#6 /home/ozpharmc/public_html/x2/protected/controllers/x2base.php(716): ProfileController->renderFile()
#7 /home/ozpharmc/public_html/x2/protected/controllers/x2base.php(735): ProfileController->renderLayout()
#8 /home/ozpharmc/public_html/x2/protected/controllers/ProfileController.php(1686): ProfileController->render()
#9 unknown(0): ProfileController->actionView()
#10 /home/ozpharmc/public_html/x2/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs()
#11 /home/ozpharmc/public_html/x2/framework/web/actions/CInlineAction.php(47): CInlineAction->runWithParamsInternal()
#12 /home/ozpharmc/public_html/x2/framework/web/CController.php(308): CInlineAction->runWithParams()
#13 /home/ozpharmc/public_html/x2/framework/web/filters/CFilterChain.php(134): ProfileController->runAction()
#14 /home/ozpharmc/public_html/x2/protected/controllers/x2base.php(581): CFilterChain->run()
#15 /home/ozpharmc/public_html/x2/framework/web/filters/CInlineFilter.php(58): ProfileController->filterSetPortlets()
#16 /home/ozpharmc/public_html/x2/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter()
#17 /home/ozpharmc/public_html/x2/framework/web/filters/CFilter.php(40): CFilterChain->run()
#18 /home/ozpharmc/public_html/x2/framework/web/CController.php(1148): CAccessControlFilter->filter()
#19 /home/ozpharmc/public_html/x2/framework/web/filters/CInlineFilter.php(58): ProfileController->filterAccessControl()
#20 /home/ozpharmc/public_html/x2/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter()
#21 /home/ozpharmc/public_html/x2/protected/controllers/x2base.php(581): CFilterChain->run()
#22 /home/ozpharmc/public_html/x2/framework/web/filters/CInlineFilter.php(58): ProfileController->filterSetPortlets()
#23 /home/ozpharmc/public_html/x2/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter()
#24 /home/ozpharmc/public_html/x2/framework/web/filters/CFilter.php(40): CFilterChain->run()
#25 /home/ozpharmc/public_html/x2/framework/web/filters/CFilterChain.php(131): FileUploadsFilter->filter()
#26 /home/ozpharmc/public_html/x2/framework/web/filters/CFilter.php(40): CFilterChain->run()
#27 /home/ozpharmc/public_html/x2/framework/web/filters/CFilterChain.php(131): X2AjaxHandlerFilter->filter()
#28 /home/ozpharmc/public_html/x2/framework/web/CController.php(291): CFilterChain->run()
#29 /home/ozpharmc/public_html/x2/framework/web/CController.php(265): ProfileController->runActionWithFilters()
#30 /home/ozpharmc/public_html/x2/framework/web/CWebApplication.php(282): ProfileController->run()
#31 /home/ozpharmc/public_html/x2/protected/components/X2WebApplication.php(65): X2WebApplication->runController()
#32 /home/ozpharmc/public_html/x2/framework/base/CApplication.php(185): X2WebApplication->processRequest()
#33 /home/ozpharmc/public_html/x2/index.php(67): X2WebApplication->run()
X2Engine Version: 7.1
PHP Version: 7.2.14

 

 

Also on another instance, this error:

 

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: CDbCommand failed to execute the SQL statement: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '78649702f2dcf560ba47f58c13f73460' for key 'PRIMARY'

Stack Trace: [click to toggle display]

CDbException in /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/db/CDbCommand.php(358)

#0 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/db/ar/CActiveRecord.php(1083): CDbCommand->execute()

#1 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/db/ar/CActiveRecord.php(811): CActiveRecord->insert(NULL)

#2 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/protected/components/behaviors/CommonSiteControllerBehavior.php(231): CActiveRecord->save()

#3 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/base/CComponent.php(261): CommonSiteControllerBehavior->login(Object(LoginForm))

#4 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/protected/controllers/SiteController.php(1651): CComponent->__call('login', Array)

#5 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/web/actions/CInlineAction.php(49): SiteController->actionLogin()

#6 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/web/CController.php(308): CInlineAction->runWithParams(Array)

#7 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/web/filters/CFilterChain.php(134): CController->runAction(Object(CInlineAction))

#8 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/web/filters/CFilter.php(40): CFilterChain->run()

#9 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/web/CController.php(1148): CFilter->filter(Object(CFilterChain))

#10 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/web/filters/CInlineFilter.php(58): CController->filterAccessControl(Object(CFilterChain))

#11 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))

#12 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/protected/controllers/x2base.php(581): CFilterChain->run()

#13 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/web/filters/CInlineFilter.php(58): x2base->filterSetPortlets(Object(CFilterChain))

#14 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))

#15 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/protected/controllers/x2base.php(581): CFilterChain->run()

#16 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/web/filters/CInlineFilter.php(58): x2base->filterSetPortlets(Object(CFilterChain))

#17 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))

#18 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/web/filters/CFilter.php(40): CFilterChain->run()

#19 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/web/filters/CFilterChain.php(131): CFilter->filter(Object(CFilterChain))

#20 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/web/filters/CFilter.php(40): CFilterChain->run()

#21 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/web/filters/CFilterChain.php(131): CFilter->filter(Object(CFilterChain))

#22 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/web/CController.php(291): CFilterChain->run()

#23 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/web/CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)

#24 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/web/CWebApplication.php(282): CController->run('login')

#25 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/protected/components/X2WebApplication.php(65): CWebApplication->runController('site/login')

#26 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/framework/base/CApplication.php(185): X2WebApplication->processRequest()

#27 /home/ozpharmc/public_html/carnabyconsulting.com.au/x2/index.php(67): CApplication->run()

#28 {main}

X2Engine Version: 7.1

PHP Version: 7.2.14


Craig Donovan
Carnaby Consulting
Australia

e: craig@carnabyconsulting.com.au





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users