Anyone can help me with this script error?

I believe the culprit is the template I bought and installed and the person who sold it to me is not responding...very FRUSTRATING

PLEASE PRETTY PLEASE

 

Warning: Missing argument 1 for get_member_thumbnail(), called in /home/igotmuse/public_html/index.php on line 77 and defined in /home/igotmuse/public_html/inc/design.inc.php on line 240

Warning: Missing argument 2 for get_member_thumbnail(), called in /home/igotmuse/public_html/index.php on line 77 and defined in /home/igotmuse/public_html/inc/design.inc.php on line 240

Warning: Missing argument 1 for dowa(), called in /home/igotmuse/public_html/index.php on line 83 and defined in /home/igotmuse/public_html/inc/design.inc.php on line 51

Warning: Missing argument 2 for dowa(), called in /home/igotmuse/public_html/index.php on line 83 and defined in /home/igotmuse/public_html/inc/design.inc.php on line 51

Warning: Invalid argument supplied for foreach() in /home/igotmuse/public_html/inc/design.inc.php on line 54

Warning: Missing argument 1 for PageCompFeatured(), called in /home/igotmuse/public_html/index.php on line 86 and defined in /home/igotmuse/public_html/inc/design.inc.php on line 603

Warning: Cannot modify header information - headers already sent by (output started at /home/igotmuse/public_html/inc/design.inc.php:240) in /home/igotmuse/public_html/inc/design.inc.php on line 166

Quote · 4 Aug 2011

Your index.php file is modified. You can replace it to the orignal one. This may work. If you can show the code, I can help you further.

----
Quote · 4 Aug 2011

here's the index.php

 

thanks in advance for your help

 

 

<?php

/***************************************************************************
*                            Dolphin Smart Community Builder
*                              -----------------
*     begin                : Mon Mar 23 2006
*     copyright            : (C) 2006 BoonEx Group
*     website              : http://www.boonex.com/
* This file is part of Dolphin - Smart Community Builder
*
* Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License.
* http://creativecommons.org/licenses/by/3.0/
*
* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the Creative Commons Attribution 3.0 License for more details.
* You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin,
* see license.txt file; if not, write to marketing@boonex.com
***************************************************************************/

define('BX_INDEX_PAGE', 1);

if ( !file_exists( "inc/header.inc.php" ) )
{
    // this is dynamic page -  send headers to do not cache this page
    $now = gmdate('D, d M Y H:i:s') . ' GMT';
    header("Expires: $now");
    header("Last-Modified: $now");
    header("Cache-Control: no-cache, must-revalidate");
    header("Pragma: no-cache");

    echo "It seems to be script is <b>not</b> installed.<br />\n";
    if ( file_exists( "install/index.php" ) ) {
        echo "Please, wait. Redirecting you to installation form...<br />\n";
        echo "<script language=\"Javascript\">location.href = 'install/index.php';</script>\n";
    }
    exit;
}

require_once( 'inc/header.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'admin.inc.php' );

require_once( BX_DIRECTORY_PATH_INC . 'db.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'profiles.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'prof.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'utils.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'membership_levels.inc.php' );
require_once( BX_DIRECTORY_PATH_CLASSES . 'BxDolPageView.php' );
require_once( BX_DIRECTORY_PATH_CLASSES . 'BxDolProfileFields.php' );
require_once( BX_DIRECTORY_PATH_ROOT . "templates/tmpl_{$tmpl}/scripts/BxTemplFormView.php" );
require_once( BX_DIRECTORY_PATH_ROOT . "templates/tmpl_{$tmpl}/scripts/BxTemplVotingView.php" );

bx_import("BxTemplIndexPageView");

//-- registration by invitation only --//;
if( (int)$_GET['idFriend'] && getParam('reg_by_inv_only') == 'on' ) {
    setcookie('idFriend', (int)$_GET['idFriend'], 0, '/');
}

check_logged();

$_page['name_index']     = 1;

$oSysTemplate->setPageTitle($site['title']);
$oSysTemplate->setPageDescription(getParam("MetaDescription"));
$oSysTemplate->setPageMainBoxTitle($site['title']);
$oSysTemplate->addPageKeywords(getParam("MetaKeyWords"));
$oSysTemplate->addCss(array('index.css'));

$oIPV = new BxTemplIndexPageView();

$_ni = $_page['name_index'];
$_page_cont[$_ni]['promo_code'] = getPromoCode();
$_page_cont[$_ni]['page_main_code'] = $oIPV -> getCode();
$_page_cont[$_ni]['main_logo'] = getMainLogo();   
$_page_cont[$_ni]['get_member_thumbnail'] = get_member_thumbnail();   

$_page_cont[$_ni]['login'] = getNickName();

$_page_cont[$_ni]['custom'] =  getSiteStatUser();

$_page_cont[$_ni]['status'] =  dowa();
$_page_cont[$_ni]['hello'] =  HelloMemberSection();

$_page_cont[$_ni]['topotos'] =  PageCompFeatured();


PageCode();

?>

index.php · 3.4K · 323 downloads
Quote · 4 Aug 2011

Yes, your template codes is faulty / outdated and thus conflicting with your dolphin 7 version. If your template vendor has not written the update code for that template,  You can contact me to rewrite the template codes for your dolphin version.

 

Your index.php is calling up some functions from your template dir, those functions have to be written to match your dolphin version.

If you replace the index.php with the original file from a fresh dolphin 7 version  download, the errors will dissapear,  but then some  built in features of that template will be missing  since the code will be incomplete.  You can choose to just remove the error messages as said above or request a complete template fix.

Your Success is permanent when you help others around you to Succeed.
Quote · 4 Aug 2011
 
 
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.