CMSB v3.50 Released - FREE VERSION

7 posts by 4 authors in: Forums > CMS Builder
Last Post: March 22, 2019   (RSS)

By gkornbluth - December 21, 2018 - edited: December 21, 2018

Hi All,

When the Flash uploader was being used the 'allowed file types' determined the files that would be shown in the upload dialog when searching for the files to upload.

With the new HTML5 uploader, the upload dialog seems to show 'all files' regardless of the 'allowed file types' restrictions.

Thought you'd want to know.

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 daniel - December 27, 2018

Hi Jerry,

Thanks for letting us know about that. We're looking at potentially replacing the HTML5 uploader library currently being used, and that can be something we take into consideration.

Cheers,

Daniel
Technical Lead
interactivetools.com

By gkornbluth - December 27, 2018

Thanks Daniel,

Best for the new year!

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 zaba - March 19, 2019

Recurring issue,

This is version 3.5 Build 2215

PHP v7.2.11

MySQL Community Server (GPL) v5.7.16

Hi when I am moving items in the Section Editor I get the following error

Error: MySQL Error: Incorrect datetime value: '0000-00-00 00:00:00' for column 'updatedDate' at row 1
 - in editTable_functions.php on line 380 by _saveFieldOrder_updateColumnOrder()

By Dave - March 22, 2019

Hey zaba, 

So this happens when you change the field order in a section, correct?  Does it happen in more than one section?

I'm wondering if one of your datetime columns has a default value that was set in MySQL from outside of CMSB.

Can you temporarily activate this plugin. It will list the mysql columns in the footer of the section editor "edit" page.  Then paste the results? 

<?php // save as: cmsb/plugins/showSectionColumns.php
/*
Plugin Name: Show Section Columns
Description: Debug Plugin
Version: 1.00
Requires at least: 3.50
*/

addAction('admin_footer', function() {
  if (@$_REQUEST['menu']   != 'database') { return; } 
  if (@$_REQUEST['action'] != 'editTable') { return; } 

  $query  = "SHOW COLUMNS FROM {$GLOBALS['tableName']}"; 
  $result = mysql_select_query($query) or die("MySQL Error: ". htmlencode(mysqli()->error) ."\n");

  showme($query);
  showme(json_encode_pretty($result));
});

// eof

Let me know what you find, thanks!

Dave Edis - Senior Developer
interactivetools.com

By Dave - March 22, 2019

Or, alternatively, email me details direct to dave@interactivetools.com and I can take a look.  

Dave Edis - Senior Developer
interactivetools.com