*** Upgrading to 0.19.x ***
RackTables is now using PHP JSON extension which is included in the PHP core since 5.2.0.
-Installation process does not check for this extension because the lack of it does not affect
-base functionality. If some of ajax features are not working correctly, check if JSON extension
-is availible in your installation of PHP.
The barcode attribute was removed. The upgrade script attempts to preserve the data by moving
it to either the 'OEM S/N 1' attribute or to a Log entry. You should backup your database
'0.18.4' => 1364,
'0.18.5' => 1370,
'0.18.6' => 1370,
+ '0.18.7' => 1370,
'0.19.0' => 1559,
);
$nerrs += platform_function_test ('mb_strlen', 'Multibyte string extension');
platform_function_test ('ldap_connect', 'LDAP extension', 'Not found, LDAP authentication will not work.', 'trwarning');
platform_function_test ('pcntl_waitpid', 'PCNTL extension', '802.1Q parallel sync is unavailable.', 'trwarning');
- platform_function_test ('json_encode', 'JSON extension', 'JavaScript interface bits may fail.', 'trwarning');
+ $nerrs += platform_function_test ('json_encode', 'JSON extension', 'JavaScript interface bits may fail.');
platform_generic_test
(
(!empty($_SERVER['HTTPS']) and $_SERVER['HTTPS'] != 'off'),
3. Repair your RHEL/CentOS installation yourself by fixing its PCRE
RPM as explained here: http://bugs.centos.org/view.php?id=3252
ENDOFTEXT
+,
+ '0.19.0' => <<<ENDOFTEXT
+RackTables is now using PHP JSON extension which is included in the PHP core since 5.2.0.
+
+The barcode attribute was removed. The upgrade script attempts to preserve the data by moving
+it to either the 'OEM S/N 1' attribute or to a Log entry. You should backup your database
+beforehand anyway.
+ENDOFTEXT
,
);
'0.18.4',
'0.18.5',
'0.18.6',
+ '0.18.7',
'0.19.0',
);
if (!in_array ($v1, $versionhistory) or !in_array ($v2, $versionhistory))
$query = array_merge ($query, reloadDictionary ($batchid));
$query[] = "UPDATE Config SET varvalue = '0.18.6' WHERE varname = 'DB_VERSION'";
break;
+ case '0.18.7':
+ $query = array_merge ($query, reloadDictionary ($batchid));
+ $query[] = "UPDATE Config SET varvalue = '0.18.7' WHERE varname = 'DB_VERSION'";
+ break;
case '0.19.0':
$query = array_merge ($query, reloadDictionary ($batchid));
$query[] = 'ALTER TABLE `File` ADD `thumbnail` LONGBLOB NULL AFTER `atime`';