Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
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