Error in the acp_groups.php

  • Thread starter Thread starter Deleted member 5665
  • Start date Start date
D

Deleted member 5665

Error:
Code:
Parse error: syntax error, unexpected ';', expecting ')' in /home/mrcrazy/public_html/topsite101.com/includes/acp/acp_groups.php on line 413

Line 413:
Code:
						$test_variables[] = 'reputation_power';
 
Right well I went to that line on my forums installation and it doesn't have that line in it. Try one of two things.

Remove it, and see if any errors come back, if you get errors replace it with this...
Code:
'reputation_power' => 'int',

If you get another error, remove it and check your other edits. I don't seem to have this file on my board so I'm assuming you either don't need it or you did an edit wrong.
 
Could you post the lines around it probably 400 to 450, should be enough to assess 😉
 
Try replacing
Code:
                      $test_variables[] = 'reputation_power';

With

Code:
$test_variables['reputation_power'] = 'int';
 
Nathan that still kept showing the error. ;(

But Limited Luck worked and fixed it thanks! 😀
 
Glad I could be of assistance 🙂 My playing around with PHP is paying off 🙂
 
Yes but that line is required as its part of the mod removing it can cause problems with the mod.
 
I modified the installation so some things were not needed, anyway, it's solved now 🙂
 
Scourge said:
Error:
Code:
Parse error: syntax error, unexpected ';', expecting ')' in /home/mrcrazy/public_html/topsite101.com/includes/acp/acp_groups.php on line 413

Line 413:
Code:
						$test_variables[] = 'reputation_power';

Please post the 10 lines BEFORE line 413 please, generally when it says that the error is actually just above that line.
 
richazey said:
Yes but that line is required as its part of the mod removing it can cause problems with the mod.

As richazey said it could cause problems at a later date even if errors aren't showing just now.
 
Thanks John1 and also its a beta mod so your asking for trouble if you mess around with unstable code
 
Guys this is solved.. It works fine no errors I checked! ;D No worries.
 
Scourge said:
Guys this is solved.. It works fine no errors I checked! ;D No worries.

For now..

If code is removed and not replaced with adequate code which works the same (if not better) then you'll have problems later on. It'd be wise if you just either let them help you, or keep a close eye on it :great:
 
Back
Top Bottom