Page 1 of 1
I need help asap thanks Fatal error
Posted: Thu Jun 17, 2010 11:12 am
by icezero
hello every one i hope u can help i installed addons on my shoppingcart and it stuffed up and i would really like to know what i have to do to fix thanks
Fatal error: Call to undefined method ISC_ADDON::loadaddonvars() in /web/
www.wesite.com.au/addons/ysm/addon.ysm.php on line 107
reg
Re: I need help asap thanks Fatal error
Posted: Thu Jun 17, 2010 11:31 am
by flying_circus
The error is telling you what is wrong.
Fatal error: Call to undefined method ISC_ADDON::loadaddonvars() in /web/
www.wesite.com.au/addons/ysm/addon.ysm.php on line 107
Look at file: /web/
www.wesite.com.au/addons/ysm/addon.ysm.php
Look at line: 107
You're making a call to method loadaddonvars(), which as the error implies, does not exist within class ISC_ADDON
Re: I need help asap thanks Fatal error
Posted: Thu Jun 17, 2010 12:15 pm
by icezero
i have had a look but it makes no sense to me at all and i cant log back in to disable these addons it is a interspire shopping cart
/**
* Init
* Initialize any other addon-specific code that needs to run
*/
function init()
{
$this->SetHelpText(GetLang('YSMHelpText'));
$this->_SetVariables();
$this->ShowSaveAndCancelButtons(false);
parent::loadaddonvars(); <<<(line107)
// Has content match been ticked?
if(isset($_POST["contentmatch"])) {
$this->_contentmatch = true;
}
// What's the maximum CPC?
if(isset($_POST["maxcpc"])) {
$this->_maxcpc = FormatPrice($_POST["maxcpc"], false, false, true);
}
}