I have debugged the Alpha User point and found the bug in the alpha user point.
The bug is located in the
administrator\components\com_alphauserpoints\assets\synch\synch.php
They does not perform a correct joomla 1.7/2.5 initialization.
You must replace the code at the begining of the file
--- Bad code ---
define( '_JEXEC', 1 );
if (stristr( $_SERVER['SERVER_SOFTWARE'], 'win32' )) {
define( 'JPATH_BASE', realpath(dirname(__FILE__).'\..\..\..\..' ));
} else define( 'JPATH_BASE', realpath(dirname(__FILE__).'/../../../..' ));
define( 'DS', DIRECTORY_SEPARATOR );
require_once ( JPATH_BASE.DS.'includes'.DS.'defines.php' );
Please report the bug to Alpha User Point with the fix that must be put in the file.
--- Replaced by good initialisation (standard joomla 1.7/2.5 initialization) ----
define( '_JEXEC', 1 );
define('DS', DIRECTORY_SEPARATOR);
if (file_exists( dirname( dirname( dirname( dirname( dirname(__FILE__))))) .DS. 'defines.php')) {
include_once dirname( dirname( dirname( dirname( dirname(__FILE__))))) .DS. 'defines.php';
}
if (!defined('_JDEFINES')) {
define('JPATH_BASE', dirname( dirname( dirname( dirname( dirname(__FILE__))))));
require_once JPATH_BASE.'/includes/defines.php';
}