boiteasite / cmsuno

An easy and clever tool to create one-page responsive websites
27 stars 8 forks source link

Some issues when installed at PHP 7. #4

Closed halojoy closed 7 years ago

halojoy commented 7 years ago

CMSUno is a very interesting software. Now when I install using PHP 7.1.1 there are some issues. The coding needs to change a bit in several places.

If you do this I will probably be able to use CMSUno.

Error log: [11-Feb-2017 19:33:06 Europe/Stockholm] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; StringReader has a deprecated constructor in C:\Apache24\htdocs\cmsuno\uno\includes\lang\php-gettext\streams.php on line 48 [11-Feb-2017 19:33:06 Europe/Stockholm] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; FileReader has a deprecated constructor in C:\Apache24\htdocs\cmsuno\uno\includes\lang\php-gettext\streams.php on line 84 [11-Feb-2017 19:33:06 Europe/Stockholm] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CachedFileReader has a deprecated constructor in C:\Apache24\htdocs\cmsuno\uno\includes\lang\php-gettext\streams.php on line 145 [11-Feb-2017 19:33:06 Europe/Stockholm] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; gettext_reader has a deprecated constructor in C:\Apache24\htdocs\cmsuno\uno\includes\lang\php-gettext\gettext.php on line 36

You can instead call those functions: __construct() Means you can rename those 4 functions.

boiteasite commented 7 years ago

Hi Halojoy,

Thanks for your report. I will fix that in the next update.

Regards,

boiteasite commented 7 years ago

Done. V1.4.1