Code: Select all
if (!defined('IN_PHPBB'))
{
exit;
}
/**
* @package module_install
*/
class acp_donation_mod_info
{
protected $mod_data = array();
function module()
{
return array(
Code: Select all
protected $mod_data = array();
What version of php are you running on the server that your site is hosted on....avr333 wrote:First off... Thank you for putting together this mod. Great job!
(Disclaimer: I'm new to php and phpBB)
I recently started to install the mod on v3.0.3. All files are in the appropriate dirs. When I click on Administration Control Panel within the System tab I receive the following error:
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /includes/acp/info/acp_donation_mod.php on line 25
Code: Select all
if (!defined('IN_PHPBB')) { exit; } /** * @package module_install */ class acp_donation_mod_info { protected $mod_data = array(); function module() { return array(
Line 25:
Code: Select all
protected $mod_data = array();
I need some assistance in resolving this error. I'm at a loss.
Thx in advance,
avr333
Requirements:
PHP 5.0 or above -- this MOD will NOT run on PHP4
wired076 wrote:What version of php are you running on the server that your site is hosted on....avr333 wrote:First off... Thank you for putting together this mod. Great job!
(Disclaimer: I'm new to php and phpBB)
I recently started to install the mod on v3.0.3. All files are in the appropriate dirs. When I click on Administration Control Panel within the System tab I receive the following error:
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /includes/acp/info/acp_donation_mod.php on line 25
Code: Select all
if (!defined('IN_PHPBB')) { exit; } /** * @package module_install */ class acp_donation_mod_info { protected $mod_data = array(); function module() { return array(
Line 25:
Code: Select all
protected $mod_data = array();
I need some assistance in resolving this error. I'm at a loss.
Thx in advance,
avr333
Please note that HoL has a disclamer on the first post stating:Requirements:
PHP 5.0 or above -- this MOD will NOT run on PHP4
Congratulations and great to hear its all working now!avr333 wrote:wired076 wrote:What version of php are you running on the server that your site is hosted on....avr333 wrote:First off... Thank you for putting together this mod. Great job!
(Disclaimer: I'm new to php and phpBB)
I recently started to install the mod on v3.0.3. All files are in the appropriate dirs. When I click on Administration Control Panel within the System tab I receive the following error:
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /includes/acp/info/acp_donation_mod.php on line 25
Code: Select all
if (!defined('IN_PHPBB')) { exit; } /** * @package module_install */ class acp_donation_mod_info { protected $mod_data = array(); function module() { return array(
Line 25:
Code: Select all
protected $mod_data = array();
I need some assistance in resolving this error. I'm at a loss.
Thx in advance,
avr333
Please note that HoL has a disclamer on the first post stating:Requirements:
PHP 5.0 or above -- this MOD will NOT run on PHP4
Thank you for the reply, i had php4.4 running on hosting server, i modified my htaccess file so it's now supporting php5.0 !! Everything is working fine now !
I have it working on 3.0.6, whats the problem?edit: i highly recommend not install this on 3.06... i cant uninstall it... so i am forced to do fresh install...