Bug : Two Semicolon and Suggestion

Those php files should be one ; semicolon.

 

Dolphin-v.7.3.3/inc/classes/BxDolFilesPageHome.php:66:

            $sCode = MsgBox(_t("_Empty"));;

Dolphin-v.7.3.3/list_pop.php:171:

            $GLOBALS['_page']['header'] = _t('_Error occured');;

Dolphin-v.7.3.3/modules/boonex/files/classes/BxFilesSearch.php:266:

        $aUnit['titleLink'] = $this->getCurrentUrl('file', $aData['id'], $aData['uri']);;

Dolphin-v.7.3.3/modules/boonex/files/classes/BxFilesSearch.php:287:

        return $this->oModule->_oTemplate->parseHtmlByName('browse_unit_short.html', $aUnit, array('{','}'));;

Dolphin-v.7.3.3/modules/boonex/forum/classes/BxDb.php:43:

            exit;;

Dolphin-v.7.3.3/modules/boonex/profile_customize/classes/BxProfileCustomizeTemplate.php:12:

bx_import('BxDolAdminSettings');;

Dolphin-v.7.3.3/modules/boonex/site_customize/classes/BxSctrTemplate.php:12:

bx_import('BxDolAdminSettings');;

Dolphin-v.7.3.3/plugins/OAuth2/Storage/Cassandra.php:232:

        return empty($result['client_secret']);;

Dolphin-v.7.3.3/result.php:41:

        $header= _t("_RESULT1_H");;

Dolphin-v.7.3.3/templates/base/scripts/BxBaseFunctions.php:25:

        return DesignProgressPos ( _t("_XX match", $match_n), $GLOBALS['oTemplConfig']->iProfileViewProgressBar, 100, $match_n );;

 

My suggestion:

Dolphin-v.7.3.3/modules/boonex/forum/classes/BxDb.php:40:

        $this->link = @mysql_connect($full_host, $this->user, $this->password) or $this->error('Cannot connect to database');

 
change to:

$GLOBALS['MySQL']->connect();

$this->link = $GLOBALS['MySQL']->link;

 
https://www.insoler.com/ The first community site supports RAW photo formats !
Quote · 29 Dec 2016

Thank you for the report:

https://github.com/boonex/dolphin.pro/issues/515

Rules → http://www.boonex.com/terms
Quote · 31 Dec 2016

Happy New Year 2017!!!

this code maybe better.

 

if (!$GLOBALS['MySQL']->link) {

    $GLOBALS['MySQL']->connect();

}

$this->link = $GLOBALS['MySQL']->link;

https://www.insoler.com/ The first community site supports RAW photo formats !
Quote · 2 Jan 2017
 
 
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.