bug fixed in defines.php extendprefix used rather than extendprefix_constant and date format changed