3.53 Upgrade Error

2 posts by 2 authors in: Forums > CMS Builder
Last Post: August 20, 2019   (RSS)

By KennyH - August 19, 2019

I am still getting an error with a 3.53 upgrade.

Notice: MySQL Error: Table 'cmsbuild.cms__log_audit' doesn't exist - in auditlog_functions.php on line 27 by mysql_insert() in /home/public_html/webadmin/lib/common.php on line 278

I checked the admin_functions.php and it looks like the fix for the previous version is there.

function upgradeIfNeeded() {
  global $SETTINGS, $APP;
  if (!isUpgradePending()) { return; }

  // rename default files
  renameOrRemoveDefaultFiles();

  // run upgrades
  require "lib/upgrade_functions.php";

  // log upgrade
  auditLog_addEntry('CMS Version Changed from ' . $SETTINGS['programVersion'] . ' to ' . $APP['version']);

  // update version in settings
  $SETTINGS['programVersion'] = $APP['version'];
  saveSettings();
}