Warning: The author of this contribution does not provide support for it anymore.

ACP Add User MOD

Parse error: syntax error, unexpected T_DOUBLE_ARROW - ACP Add User MOD

Parse error: syntax error, unexpected T_DOUBLE_ARROW

by Barachiel- » Sat Oct 22, 2011 10:43 pm

Hello there. I'm still kinda new to this, so I was wondering if anyone could assist me with this issue. After installing the mod, this error message appears whenever I try to access the Users and Groups tab:

Code: Select all

Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/a8811693/public_html/includes/acp/acp_users.php on line 1804


This is the line in question:

//multiple ranks mod by Goz
'S_RANK2' => true,
'S_RANK2_OPTIONS' => $s_rank2_options,
'S_RANK3' => true,
'S_RANK3_OPTIONS' => $s_rank3_options

Thank you for taking the time to help me out. =)
Barachiel-
Registered User
Posts: 1
Joined: Sat Oct 22, 2011 10:35 pm

Re: Parse error: syntax error, unexpected T_DOUBLE_ARROW

by RMcGirr83 » Sun Oct 30, 2011 10:40 am

This mod doesn't touch that file at all so more than likely you have always had that error.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Parse error: syntax error, unexpected T_DOUBLE_ARROW

by alydhiends » Fri Nov 18, 2011 4:57 am

Hi Barachiel-, did u manage to solve the problem? I'm having the same one...
Hostgator Coupons:
"ALYDHIENDS" - $9.95 OFF
"ALYDHIENDS25per" - 25% OFF
User avatar
alydhiends
Registered User
Posts: 26
Joined: Tue Nov 01, 2005 5:16 pm
Location: New York

Re: Parse error: syntax error, unexpected T_DOUBLE_ARROW

by alydhiends » Sat Nov 19, 2011 2:41 am

nvm i got it

I simply moved the closed parenthesis ")" down after rank3

"'S_RANK3_OPTIONS' => $s_rank3_options)"
Hostgator Coupons:
"ALYDHIENDS" - $9.95 OFF
"ALYDHIENDS25per" - 25% OFF
User avatar
alydhiends
Registered User
Posts: 26
Joined: Tue Nov 01, 2005 5:16 pm
Location: New York

Re: Parse error: syntax error, unexpected T_DOUBLE_ARROW

by RMcGirr83 » Sat Nov 19, 2011 10:41 am

In other words, it had nothing to do with this mod.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr