CMSB v3.57 Released (maintenance release)

10 posts by 5 authors in: Forums > CMS Builder
Last Post: November 17   (RSS)

By Dave - September 26

Hi everyone, 

We've just released CMS Builder v3.57, this is the official release with a few more fixes since the last beta release.  

This is mostly a maintenance release. 

  • We've patched some warnings and issues with PHP 8.x
  • We fixed an issue that caused PHP 8 to sometimes send emails as raw HTML
  • We resolved an issue introduced in 3.56 that prevented searches for zero from working
  • And installing a backup when installing now uses an incremental system to support very large backup files.

You can download the latest beta here:  https://www.interactivetools.com/order/download.php

Please post any feedback, questions, or bugs you find! Thanks! 

Thanks! :) 

Dave Edis - Senior Developer
interactivetools.com

By gversion - September 30

Hi Dave,

Thanks for the notification about this and, of course, for releasing v3.57!

Are the latest versions of all the plugins that are available to download from your website compatible with PHP 8? For example, I am wondering about the website membership plugin, which doesn't seem to have been updated since Jan 19, 2018 so I would be surprised if this didn't need an update.

Also, is there a free scanner/script that can identify code that won't work with PHP 8 or is is just a case of upgrading and then manually testing everything?

Thanks again,

Greg

By gversion - October 4

Hi Daniel,

Thanks for the reply.

Great to hear there will be updates coming soon for the main plugins and that's really useful to know about PHP 8.1.

Thanks again!

Regards,

Greg

By KennyH - November 16

I have migrated my websites to a new server and am running into a small issue with PHP v8.1.12 when using the forgot password feature. I haven't tried using any other SMTP functions in CMSB yet to see if the same issue happens.

E_DEPRECATED: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated
/home/[username]/domains/[domain-name]/public_html/cmsb/3rdParty/SwiftMailer5/classes/Swift/Transport/Esmtp/AuthHandler.php (line 251)
https://www.[domain-name]/cmsb/admin.phpmodifyerase

E_DEPRECATED: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated
/home/[username]/domains/[domain-name]/public_html/cmsb/3rdParty/SwiftMailer5/classes/Swift/Transport/EsmtpTransport.php (line 143)
https://www.[domain-name]/cmsb/admin.php

By gkornbluth - November 16

Hi KennyH,

There's a post that I copied into my CMSB Cookbook http://www.thecmsbcookbook.com/recipedetail.php?PHP-8.1-errors-various-629 where Daniel Louwe mentions:


To get rid of PHP 8.1 deprecation warnings (specifically ones that mention "passing null"), note which function and
parameter is throwing the warning, and add ??'' to the end of the
variable being passed to that parameter. It's also possible to remove the @ from the variable if there is one.

@$_REQUEST[$name]

becomes this:

$_REQUEST[$name]??''

There's another similar error noted in this post: https://www.interactivetools.com/forum/forum-posts.php?postNum=2245997

Other PHP 8 errors and some fixes are talked about in
https://www.interactivetools.com/forum/forum-posts.php?postNum=2246123
and https://www.interactivetools.com/forum/forum-posts.php?postNum=2246122

Hope that helps

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By KennyH - November 16

Thanks, Jerry!  I will take a look at that

KH

By Dave - November 17

Hi Kenny, 

Can you try these fixes and see if they work for you?  If they do will include them in the next release.

/cmsb/3rdParty/SwiftMailer5/classes/Swift/Transport/Esmtp/AuthHandler.php:line 251
From: if (!$mode = strtolower($this->_auth_mode)) {
To:   if (!$mode = strtolower($this->_auth_mode ?? '')) {

/cmsb/3rdParty/SwiftMailer5/classes/Swift/Transport/EsmtpTransport.php:line 143
From: $encryption = strtolower($encryption);
To:   $encryption = strtolower($encryption ?? '');

Let me know if that works for you!

Thanks!

Dave Edis - Senior Developer
interactivetools.com

By KennyH - November 17

Hi Dave - 

That fixed worked. After make the changes, the forgot password feature works without error now.

Thanks,

Kenny

By Dave - November 17

Perfect, thanks!

Dave Edis - Senior Developer
interactivetools.com