Page 1 of 1

[fixed] Update fail and redirection error

Posted: Wed Oct 15, 2014 12:54 pm
by jce76350
Hi,

on an update I have a message "Template content cannot be empty"
and the update continue but the table _version have the old field version =37
so when I go to the admin page
I am redirected to the url .... /install/upgrade.php :'(
This is a porblem from include.php line 168-169

Code: Select all

$current_version = cmsms()->get_installed_schema_version();
if ($current_version < $CMS_SCHEMA_VERSION) redirect($config['root_url'] . "/install/upgrade.php");