CMSB v3.64 Released - MySQL 5.7+ now required

6 posts by 3 authors in: Forums > CMS Builder
Last Post: January 15, 2024   (RSS)

By Dave - December 8, 2023 - edited: January 3, 2024

And... We added one more post-release fix an open_basedir() warning that could popup on some servers under: Admin > General.

You can download cmsbuilder_3_64_build2461_release2.zip here: https://www.interactivetools.com/download/

Thanks!

Dave Edis - Senior Developer
interactivetools.com

CMSB v3.63 Released - MySQL 5.7+ now required

By mark99 - January 3, 2024

Shouldn't the title of this thread be v3.64 instead of v3.63? :)

By Dave - January 3, 2024 - edited: January 3, 2024

Ahh yes, you're right.  I've fixed that so it's not confusing for anyone.  Thanks! :-)

Dave Edis - Senior Developer
interactivetools.com

By zaba - January 15, 2024

I spotted a problem when upgrading. Because my database name contained hyphens, it was no longer recognised by the system.

To fix this I found the line in the file:

/cmsb/lib/zenDB/Assert.php

        if (!preg_match('/^\w+$/', $identifier)) {
            throw new InvalidArgumentException("Invalid database name '$identifier', can only contain (a-z, A-Z, 0-9, _)");
        }

and change it to

if (!preg_match('/^[\w\-]+$/', $identifier)) {

So that hyphens are recognised in the database name.

By Dave - January 15, 2024

Thanks Zaba!  I've updated that code for the next release.  Cheers!

Dave Edis - Senior Developer
interactivetools.com