Page 1 of 1

update 2.2.10

Posted: Wed May 01, 2019 4:38 pm
by Barrowboy
I have recently updated our site to 2.2.10 and everything is working fine.

But it now shows that the module CGExtentions requires updating to 1.62.6

When I do this the site crashes both front end and admin with error 500 I have to recover from the backup.

Why??

What version of PHP is required on the server?

Re: update 2.2.10

Posted: Wed May 01, 2019 4:50 pm
by Rolf

Re: update 2.2.10

Posted: Fri May 03, 2019 1:12 pm
by Barrowboy
When I try to update the CGextention 1.62.7

The site crashes with this error

Fatal error: Default value for parameters with a class type hint can only be NULL in /home/buscaor/public_html/heritage/modules/CGExtensions/CGExtensions.module.php on line 851

Can you advise

Re: update 2.2.10

Posted: Fri May 03, 2019 3:24 pm
by calguy1000
CGExtensions 1.62.6+ Now require PHP 7.2.1+

in versions of php < 7.2 'string' was not identified as a scalar type. It was assumed to be a class.... therefore you get that error.

Re: update 2.2.10

Posted: Fri May 03, 2019 6:48 pm
by Barrowboy
Thanks for the info I will get the server upgraded.

My hosting company are planning on moving to a cloud hosting system and have asked me to check what spec requirements are needed to run CMSMS

Could you tell me what the full spec is for now and the future of CMSMS

i.e.
PHP
Mysql

etc.

Re: update 2.2.10

Posted: Fri May 03, 2019 7:11 pm
by DIGI3
CMSMS requirements are here: https://docs.cmsmadesimple.org/installa ... quirements
Third party modules have their own requirements, the CG suite of modules in particular usually require quite recent PHP versions.

For future versions of CMSMS you'll just need to keep an eye on news releases. If you're in the "recommended" range for the current version, you should be fine. Read the release notes before upgrading.

Re: update 2.2.10

Posted: Sun May 05, 2019 8:45 am
by Barrowboy
Hi

We now have the site fully up to date apart from the CGExtension and is running with PHP set to version 5.6 every thing is working.

But when we switch to PHP version 7.2.17 the site layout is not correct the menu and items not displayed correctly.

we would like to move to version 7.2.17 for any future updates.

Any help

Re: update 2.2.10

Posted: Sun May 05, 2019 2:04 pm
by DIGI3
You'll need to check your PHP error logs. There's probably an extension missing, or something else minor that needs changing.