Code: Select all
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/admin/domains/pronosky.com/public_html/forum/includes/acp/info/acp_donation.php on line 30
Code: Select all
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/admin/domains/pronosky.com/public_html/forum/includes/acp/info/acp_donation.php on line 30
Code: Select all
Parse error: syntax error, unexpected ',' in /home/admin/domains/pronosky.com/public_html/forum/includes/acp/info/acp_donation.php on line 31
'adjust_topstats' => array('title' => 'DONATION_CONFIG', 'auth' => 'acl_a_board', 'cat' => array('ACP_DONATION_MOD')),
Code: Select all
'adjust_topstats' => array('title' => 'DONATION_CONFIG', 'auth' => 'acl_a_board', 'cat' => array('ACP_DONATION_MOD')),
Code: Select all
<?php
/**
*
* @author Stoker 4.0
* @package Donation MOD
* @version $Id: acp_donation.php, v1.0.2 20011/20/11 07:19:43 Exp $
* @copyright (c) 2011 Stoker 4.0
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}
/**
* @package module_install
*/
class acp_donation_info
{
function module()
{
return array(
'filename' => 'acp_donation',
'title' => 'ACP_DONATION_MOD',
'ts_version' => '1.0.2',
'adjust_topstats' => array('title' => 'DONATION_CONFIG', 'auth' => 'acl_a_board', 'cat' => array('ACP_DONATION_MOD')),
),
);
}
}
?>
i have redownload your pack, and reup all files.. but it doesn't workStoker wrote:I now have installed this mod on 3 different sites, 2 different servers.
I am just not able to reproduce the error you have.
2 solutions:
Check you have the correct files
or
PM me ftp and admin access to your board and I will have a look.
Code: Select all
/**
* @package module_install
*/
class acp_donation_info
{
function module()
{
return array(
'filename' => 'acp_donation',
'title' => 'ACP_DONATION_MOD',
'ts_version' => '1.0.2',
'adjust_topstats' => array('title' => 'DONATION_CONFIG',
'auth' => 'acl_a_board',
'cat' => array('ACP_DONATION_MOD')),
);
}
}
Code: Select all
<?php
/**
*
* @author Stoker 4.0
* @package Donation MOD
* @version $Id: acp_donation.php, v1.0.2 20011/20/11 07:19:43 Exp $
* @copyright (c) 2011 Stoker 4.0
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}
/**
* @package module_install
*/
class acp_donation_info
{
function module()
{
return array(
'filename' => 'acp_donation',
'title' => 'ACP_DONATION_MOD',
'ts_version' => '1.0.2',
'modes' => array(
'configuration' => array('title' => 'DONATION_CONFIG', 'auth' => 'acl_a_board', 'cat' => array('ACP_DONATION_MOD')),
),
);
}
function install()
{
}
function uninstall()
{
}
}
?>