Dolphin Upgrade Instructions from 7.3.5 to 7.4.0

Step 0

Back up your current Dolphin files, folders and database.

NOTE: This upgrade will work with official Dolphin 7.3.5 version ONLY. If you applied some fixes to your Dolphin 7.3.5 then this patch should work in most cases, but there are some fixes that may cause conflict.

Step 1

Download and extract the patch Dolphin-Patch-v.7.4.0 and upload its files to your current installation, replacing all old files. Make sure that old files were REALLY replaced - the site can become nonfunctional at all if old files are still in place.

Step 2

Remove the upgrade/.htaccess file via FTP or SSH.

Make sure that you removed .htaccess file from "upgrade" directory! Do not remove .htaccess file from Dolphin root folder, it will make almost all links on the site not working.

NOTE: You may need to change your FTP client settings to show hidden files to see the .htaccess file in your FTP manager.

Step 3

Open the following URL in your favorite browser:

http://your-domain.com/path-to-dolphin/upgrade/

Replace your-domain.com and path-to-dolphin with your real values.

Apply all available updates. The script detects suitable updates automatically.

Step 4

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. Here is a copy of these instructions:

  • Add the following modifications into inc/header.inc.php file:
    1. Add
      $site['logError']          = true;  
      $site['fullError']         = false;  
      $site['emailError']        = true;  
      
      after $site['bugReportMail']... line.
    2. Add
      $db['persistent']          = true;  
      
      after $db['db']... line.
    3. Add
      define('BX_DOL_LOG_ERROR', $site['logError']);
      define('BX_DOL_FULL_ERROR', $site['fullError']);
      define('BX_DOL_EMAIL_ERROR', $site['emailError']);
      define('BX_DOL_REPORT_EMAIL', $site['bugReportMail']);
      
      after define('BX_DOL_URL_CACHE_PUBLIC'... line.
    4. Add
      define('DATABASE_PERSISTENT', $db['persistent']);
      
      after define('DATABASE_NAME'... line.
    5. Change
      $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>' : '';
      
      to:
      $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>' : '';
      
    6. Change
      if (version_compare(phpversion(), "5.3.0", ">=") == 1)
          error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT);
      else
          error_reporting(E_ALL & ~E_NOTICE);
      set_magic_quotes_runtime(0);
      ini_set('magic_quotes_sybase', 0);
      
      to:
      error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_WARNING);
      
    7. Add
      require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolExceptionHandler.php');
      
      set_exception_handler([new BxDolExceptionHandler(), 'handle']);
      
      after require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolAlerts.php'); line.
  • Clean /cache/, /cache_public/ and /tmp/ folders via FTP or SSH, leave only .htaccess file there if one exists
  • Recompile system language file from Admin Panel -> Settings -> Languages Settings -> Languages
  • Clean /cache/ folder again
  • Recompile Forum language file for all templates from Admin Panel -> Modules -> Forum -> Manage Forum
  • Remove /upgrade/ directory

Step 5

Delete the following file manually via FTP or SSH:

plugins/Services_JSON.php

Step 6

Report any occurrence of bugs in this forum.

Last modified 22 months ago Last modified on Feb 8, 2019, 10:08:30 AM
 
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