Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

ARGHH!


  • Please log in to reply

#1
Nathan_Benton

Nathan_Benton

    Member

  • Member
  • PipPipPip
  • 114 posts
I'm installing a shoutbox hack for my board, I think I know what I'm doing except when I go to see my board I get this.

"Parse error: parse error, unexpected T_DOUBLE_ARROW in /home/ugsf/public_html/forum/index.php on line 271"

Any help? Line 271 looks like this:

");'shoutbox' => array( 'D2mods/Shoutbox/Shoutbox', 'shoutbox', "'sbox_stats','sbox_badwords','emoticons','bbcode','badwords'," ),"
  • 0

Advertisements


#2
Nathan_Benton

Nathan_Benton

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 114 posts
Sorry to double post, but has anybody been able to figure this T_DOUBLE_ARROW error thing out?
  • 0

#3
ditto

ditto

    - i pwn n00bs -

  • Member
  • PipPipPipPip
  • 1,260 posts
);'shoutbox' -> array( 'D2mods/Shoutbox/Shoutbox', 'shoutbox', "'sbox_stats','sbox_badwords','emoticons','bbcode','badwords'," ),"


try that
  • 0

#4
Nathan_Benton

Nathan_Benton

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 114 posts
Now I'm having another error just like that, in line 174

Here is line 173-185

);
      2500 => array(
      1 => array( 'Arcade Main Settings', 'act=arcade&code=settings' ),
      2 => array( 'Games List'    , 'act=arcade' ),
      3 => array( 'Categories' ,  'act=arcade&code=cat' ),
      4 => array( 'Add Game'            , 'act=arcade&code=add_game' ),
      5 => array( 'Tournaments'  , 'act=arcade&code=tourney' ),
      6 => array( 'Group Permissions'  , 'act=arcade&code=groups' ),
      7 => array( 'Member Manage'  , 'act=arcade&code=user_search' ),
      8 => array( 'IP Banning' , 'act=arcade&code=ip_ban' ),
      9 => array( 'Score Tools'  , 'act=arcade&code=score_tools' ),
      10 => array( 'Custom Game Sorting' , 'act=arcade&code=custom' ),
                ),


  • 0

#5
ditto

ditto

    - i pwn n00bs -

  • Member
  • PipPipPipPip
  • 1,260 posts
replace the => with ->
  • 0

#6
Nathan_Benton

Nathan_Benton

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 114 posts

  2500 -> array(
      1 => array( 'Arcade Main Settings', 'act=arcade&code=settings' ),
      2 => array( 'Games List'    , 'act=arcade' ),
      3 => array( 'Categories' ,  'act=arcade&code=cat' ),
      4 => array( 'Add Game'            , 'act=arcade&code=add_game' ),
      5 => array( 'Tournaments'  , 'act=arcade&code=tourney' ),
      6 => array( 'Group Permissions'  , 'act=arcade&code=groups' ),
      7 => array( 'Member Manage'  , 'act=arcade&code=user_search' ),
      8 => array( 'IP Banning' , 'act=arcade&code=ip_ban' ),
      9 => array( 'Score Tools'  , 'act=arcade&code=score_tools' ),
      10 => array( 'Custom Game Sorting' , 'act=arcade&code=custom' ),
                ),

I tried that and I get an

Parse error: parse error, unexpected T_OBJECT_OPERATOR in /home/ugsf/public_html/forum/sources/admin/admin_pages.php on line 174

is that what I should have put? I'm going nuts!!!!
  • 0

#7
ditto

ditto

    - i pwn n00bs -

  • Member
  • PipPipPipPip
  • 1,260 posts
try replacing all of them.
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP