Changes between Version 2 and Version 3 of 7.3.5-7.4.0


Ignore:
Timestamp:
Feb 8, 2019, 10:07:37 AM (5 years ago)
Author:
AlexT
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 7.3.5-7.4.0

    v2 v3  
    3535 
    3636== Step 4 == 
    37 Please follow and read all automatically completed steps of the upgrade script, paying special attention to the last step. The last step of this upgrade is '''IMPORTANT'''. You will be given special instructions by the script which you will have to do '''MANUALLY'''. 
     37Please follow and read all automatically completed steps of the upgrade script, paying special attention to the last step. The last step of this upgrade is '''IMPORTANT'''. You will be given special instructions by the script which you will have to do '''MANUALLY'''.  
     38Here is a copy of these instructions: 
     39 
     40- Add the following modifications into inc/header.inc.php file: 
     41    1. Add  
     42    {{{ 
     43$site['logError']          = true;   
     44$site['fullError']         = false;   
     45$site['emailError']        = true;   
     46    }}}  
     47    after `$site['bugReportMail']...` line. 
     48    2. Add  
     49    {{{ 
     50$db['persistent']          = true;   
     51    }}}  
     52    after `$db['db']...` line. 
     53    3. Add 
     54    {{{ 
     55define('BX_DOL_LOG_ERROR', $site['logError']); 
     56define('BX_DOL_FULL_ERROR', $site['fullError']); 
     57define('BX_DOL_EMAIL_ERROR', $site['emailError']); 
     58define('BX_DOL_REPORT_EMAIL', $site['bugReportMail']); 
     59    }}} 
     60    after `define('BX_DOL_URL_CACHE_PUBLIC'...` line. 
     61    4. Add 
     62    {{{ 
     63define('DATABASE_PERSISTENT', $db['persistent']); 
     64    }}} 
     65    after `define('DATABASE_NAME'...` line. 
     66    5. Change 
     67    {{{ 
     68$aErrors[] = (version_compare(PHP_VERSION, '5.3.0', '<')) ? '<font color="red">PHP version too old, please update to PHP 5.3.0 at least</font>' : ''; 
     69    }}} 
     70    to: 
     71    {{{ 
     72$aErrors[] = (version_compare(PHP_VERSION, '5.4.0', '<')) ? '<font color="red">PHP version too old, please update to PHP 5.4.0 at least</font>' : ''; 
     73    }}} 
     74    6. Change 
     75    {{{ 
     76if (version_compare(phpversion(), "5.3.0", ">=") == 1) 
     77    error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT); 
     78else 
     79    error_reporting(E_ALL & ~E_NOTICE); 
     80set_magic_quotes_runtime(0); 
     81ini_set('magic_quotes_sybase', 0); 
     82    }}} 
     83    to: 
     84    {{{ 
     85error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_WARNING); 
     86    }}} 
     87    7. Add 
     88    {{{ 
     89require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolExceptionHandler.php'); 
     90 
     91set_exception_handler([new BxDolExceptionHandler(), 'handle']); 
     92    }}} 
     93    after `require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolAlerts.php');` line. 
     94 
     95- Clean /cache/, /cache_public/ and /tmp/ folders via FTP or SSH, leave only .htaccess file there if one exists 
     96- Recompile system language file from Admin Panel -> Settings -> Languages Settings -> Languages 
     97- Clean /cache/ folder again 
     98- Recompile Forum language file for all templates from Admin Panel -> Modules -> Forum -> Manage Forum 
     99- Remove /upgrade/ directory 
     100 
    38101 
    39102== Step 5 == 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
Fork me on GitHub