CMSB v3.78 Beta Released (PHP 8.1 Required, Plugin and Debug Tools)

7 posts by 4 authors in: Forums > CMS Builder
Last Post: June 19   (RSS)

Just checked out the showcase page. The category links in the left column are broken. Always displays all records.

Jeff Shields
yaadev.com

By Dave - June 16

Thanks Jeff,  That was actually related to a very obscure bug, so we found it and fixed it.

Dave Edis - Senior Developer
interactivetools.com

By Dave - June 16 - edited: June 16

Hi All,

We just released v3.78 beta 2! This update has some minor bug fixes (include the above issue) and some UI improvements for Debug Footers: 

Here's what we updated in the header: 

  • Total plugin time shows as seconds and percentage, so you can see at a glance how much of your page load is spent in plugins
  • PHP settings show max seconds, memory, and OpCache status, so you know what you're working with and how long you need to wait for OpCache to refresh the cache after changes
  • Remote IP is displayed to make it easy to copy and paste when writing debug code, e.g., if ($_SERVER['REMOTE_ADRR'] === '156.51.31.129') { ... }
<!-- DEBUG FOOTER (visible to admins only)

    PAGE PERFORMANCE                PHP SETTINGS              SYSTEM                        
    ----------------                ------------              ------                        
    Total Time:  0.007s             PHP Version: 8.4.8        CMS:       v3.78 (build 2902) 
    - CMS Core:  0.006s (92%)       Max Time:    120s         Remote IP: 156.51.31.129      
    - Plugins:   0.001s (8%)        Max Memory:  128M                                       
    Peak Memory: 1.40 MB            OpCache:     On (2s)      

And under Plugin hooks we added a Total (ms) column to make it extra clear what's what without having to do mental math to convert averages into totals.  For reference, 1.000 ms equals 0.001s.

    Plugin Hooks Called                                        Hook                                  Calls    Avg Time  Total (ms)  Total (s)
    ---------------------------------------------------------  ------------------------------------  -----  ----------  ----------  ---------
    /cmsb/plugins/websiteMembership/websiteMembership.php:37  viewer_postinit                           1     0.495ms     0.495ms     0.000s
    /cmsb/plugins/facebookLogin/facebookLogin.php:23          _websiteLogin_init.pre_actionHandler      1     0.025ms     0.025ms     0.000s
    /cmsb/plugins/permalinks/permalinks.php:29                viewer_output_rows                        5     0.003ms     0.013ms     0.000s
    /cmsb/plugins/permalinks/permalinks.php:27                init_complete                             1     0.005ms     0.005ms     0.000s
    /cmsb/plugins/simpleCart/simpleCart.php:18                viewer_postinit                           1     0.003ms     0.003ms     0.000s
    /cmsb/plugins/simpleCart/customCart.php:78                viewer_postinit                           1     0.001ms     0.001ms     0.000s
    /cmsb/plugins/facebookLogin/facebookLogin.php:24          _websiteLogin_init.pre_actionHandler      1     0.000ms     0.000ms     0.000s
    ---------------------------------------------------------  ------------------------------------  -----  ----------  ----------  ---------
                                                               TOTAL                                    11     0.049ms     0.542ms     0.001s

Thanks to these tools, we’ve already halved our CMS load time by half, by moving slower plugin setup from the per-page hook (admin_postlogin) into the plugin menu initialization (plugin_menu_init) and applying a few other tweaks.

Give it a try and share any feedback; otherwise, we’ll publish v3.78 as stable within the next few days.

Thanks for your help!

Dave Edis - Senior Developer
interactivetools.com

Awesome :-)

Does this release include the inclusion of columnEncryptionKey into the Env variables? And, the return of the login_isValidLogin hook (or similar) so we can add third party 2FA?

Cheers

Rob

Hey, Dave,

The latest beta looks great! I can move imported schemas freely in the database list again—no save needed.

As someone who watches site performance closely, the Debug Footer report should cut out a lot of guesswork - plenty of info to see there. I haven’t run into plugin issues myself, but a simple toggle sounds like an easy way to rule things out.

Looking forward to running 3.78 on my sites soon—thanks for the continued improvements!

~ Deborah

By Dave - June 19

Hi All, 

Rob: We haven't added those features yet, as v3.78 was feature frozen already for release.  But we can do that for the next release.  Thanks for the suggestions!

Deborah: Thank you so much for your ongoing testing and support. We appreciate it! :-)

And for everyone, we've released the official v3.78, and you can download it here: 

https://interactivetools.com/forum/forum-posts.php?CMSB-v3.78-Released-PHP-8.1-Required-Plugin-and-Debug-Tools-83028

Thank you!

Dave Edis - Senior Developer
interactivetools.com