Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
7 - 4 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     
[/code] I replaced that above with the one below, according with the code in include/common.php contained in 2.0.xx version: [code]startTime(); $xoopsLogger->startTime( 'XOOPS Boot' ); set_magic_quotes_runtime(0); include_once XOOPS_ROOT_PATH.'/class/logger.php'; $xoopsLogger =& XoopsLogger::instance(); $xoopsLogger->startTime(); define('XOOPS_DB_CHKREF', 0); // ############## Include common functions file ############## include_once XOOPS_ROOT_PATH.'/include/functions.php'; // #################### Connect to DB ################## require_once XOOPS_ROOT_PATH.'/class/database/databasefactory.php'; $xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection(); // ################# Include required files ############## require_once XOOPS_ROOT_PATH.'/kernel/object.php'; require_once XOOPS_ROOT_PATH.'/class/criteria.php'; // #################### Include text sanitizer ################## include_once XOOPS_ROOT_PATH.'/class/module.textsanitizer.php'; // ################# Load Config Settings ############## $config_handler =& xoops_gethandler('config'); $xoopsConfig =& $config_handler->getConfigsByCat(XOOPS_CONF); // #################### Error reporting settings ################## if ( $xoopsConfig['debug_mode'] == 1 || $xoopsConfig['debug_mode'] == 2 ) { error_reporting(E_ALL); $xoopsLogger->enableRendering(); $xoopsLogger->usePopup = ( $xoopsConfig['debug_mode'] == 2 ); } else { error_reporting(0); $xoopsLogger->activated = false; } // ################# Include version info file ############## include_once XOOPS_ROOT_PATH."/include/version.php"; // #################### Include site-wide lang file ################## if (file_exists(XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/global.php")) { include_once XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/global.php"; } else { include_once XOOPS_ROOT_PATH."/language/english/global.php"; } // ################ Include page-specific lang file ################ if (isset($xoopsOption['pagetype']) && false ===strpos($xoopsOption['pagetype'], '.')) { if (file_exists(XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/".$xoopsOption['pagetype'].".php")) { include_once XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/".$xoopsOption['pagetype'].".php"; } else { include_once XOOPS_ROOT_PATH."/language/english/".$xoopsOption['pagetype'].".php"; } } $xoopsOption = array(); if ( !defined("XOOPS_USE_MULTIBYTES") ) { define("XOOPS_USE_MULTIBYTES",0); } ?>[/code] Now the IPN test of Xdonations 1.9beta works properly with XOOPS 2.0.xx. I'm sorry for my dreadful English. I hope you understand what I mean. Greetings, Luca[/quote]" />

Re: xdonations 1.9- Call to undefined function: getinstance() in...
by windy on 2007/8/22 22:41:56

Thankyou for this fix worked perfect 2.0.15
Re: xdonations 1.9- Call to undefined function: getinstance() in...
by BDW on 2007/7/30 12:16:42

I've been waiting all this time and i hadnt noticed this.

Anways' nice one. This should be included with the release.
Re: xdonations 1.9- Call to undefined function: getinstance() in...
by Peekay on 2007/7/15 11:20:23

Many thx LucaNet!
Re: xdonations 1.9- Call to undefined function: getinstance() in...
by kotis on 2007/4/27 21:01:44

LucaNet you ROCK... that one solved my problem... THANK YOU!!!
Re: xdonations 1.9- Call to undefined function: getinstance() in...
by LucaNet on 2006/12/5 15:08:03

Who's Online

208 user(s) are online (170 user(s) are browsing Support Forums)


Members: 0


Guests: 208


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits