View Issue Details

IDProjectCategoryView StatusLast Update
0019561mantisbtupgradepublic2016-09-27 00:10
Reportervboctor Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.3.0-beta.2 
Summary0019561: Upgrade unattended fails when errors are set to halt
Description

If config_inc.php has the following lines while upgrading from 1.2.x:

$g_show_detailed_errors = ON;

$g_display_errors = array(
E_USER_ERROR => DISPLAY_ERROR_HALT,
E_WARNING => DISPLAY_ERROR_HALT,
E_ALL => DISPLAY_ERROR_HALT,
E_USER_ERROR => DISPLAY_ERROR_HALT,
);

function install_check_token_serialization() {
$query = 'SELECT * FROM {tokens} WHERE type=1 or type=2 or type=5';

$t_result = db_query( $query );
while( $t_row = db_fetch_array( $t_result ) ) {
    $t_id = $t_row['id'];
    $t_value = $t_row['value'];

**** $t_token = unserialize( $t_value );

TagsNo tags attached.

Relationships

related to 0021573 closedvboctor Error update from 1.2.19 to 1.3.0 / step 194 

Activities

vboctor

vboctor

2015-03-31 00:56

manager   ~0049307

Also the error handler attempted to generate html, so the page was messed up.

vboctor

vboctor

2016-09-27 00:09

manager   ~0054077

Based on latest code in 1.3.1, it seems this was already fixed.