I installed a new mod for my IPB forums called portal 1.3.5
and after setting it up I get this
Code:
Parse error: parse error, unexpected T_DOUBLE_ARROW in /home/porker/public_html/pido/Forums/index.php on line 236
heres a chunk where the error occured
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//================================================== =========================
// Generate choice array
//================================================== =========================

//--mod_portal begin
"portal" => array("mods/portal/mod_portal_func" , "portal","'birthdays', 'calendar',"),
//--mod_portal end

$choice = array(
"portal" => array("mods/portal/mod_portal_func" , "portal","'birthdays', 'calendar',"),
"idx" => array( "boards" , 'boards' ,"'birthdays', 'calendar'," ),
"sf" => array( "forums" , 'forums' ,"'announcements', 'multimod'," ),
"sr" => array( "forums" , 'forums' ),
"st" => array( "topics" , 'topics' ,"'attachtypes','bbcode', 'multimod','ranks','profilefields'," ),
"announce" => array( "announcements" , 'announcements',"'bbcode','badwords','emoticons',' ranks','profilefields'," ),
"login" => array( "login" , 'login' ),
"post" => array( "post" , 'post' ,"'attachtypes','badwords','bbcode','emoticons' ," ),
"poll" => array( "lib/add_poll" , 'poll' ),
"reg" => array( "register" , 'register' ),
"online" => array( "online" , 'online' ),
"members" => array( "memberlist" , 'memberlist' ,"'ranks','profilefields'," ),
"help" => array( "help" , 'help' ),
"search" => array( "search" , 'search' ,"'attachtypes','multimod','bbcode','ranks','profi lefields'," ),
"mod" => array( "moderate" , 'moderate' ,"'attachtypes','multimod','bbcode','emoticons' ," ),
"print" => array( "misc/print_page" , 'printpage' ,"'attachtypes','bbcode', 'multimod','ranks','profilefields'," ),
"forward" => array( "misc/forward_page" , 'forwardpage' ),
"mail" => array( "misc/contact_member", 'contactmember' ),
"invite" => array( "misc/contact_member", 'contactmember' ),
"icq" => array( "misc/contact_member", 'contactmember' ),
"aol" => array( "misc/contact_member", 'contactmember' ),
"yahoo" => array( "misc/contact_member", 'contactmember' ),
"msn" => array( "misc/contact_member", 'contactmember' ),
"report" => array( "misc/contact_member", 'contactmember' ),
"chat" => array( "misc/contact_member", 'contactmember' ),
"integ" => array( "misc/contact_member", 'contactmember' ),
'boardrules' => array( "misc/contact_member", 'contactmember' ),
"msg" => array( "messenger" , 'messenger' ,"'profilefields','attachtypes','badwords','bbcode ','emoticons'," ),
'store' => array( 'store/store' , 'store' ),
"usercp" => array( "usercp" , 'usercp' ,"'attachtypes','badwords','bbcode','emoticons' ," ),
"profile" => array( "profile" , 'profile' ,"'ranks','profilefields','badwords','bbcode','emo ticons',"),
"track" => array( "misc/tracker" , 'tracker' ),
"stats" => array( "misc/stats" , 'stats' ),
"attach" => array( "misc/attach" , 'attach' ,"'attachtypes'," ),
'legends' => array( 'misc/legends' , 'legends' ,"'badwords','bbcode' ,'emoticons'," ),
'calendar' => array( "calendar" , 'calendar' ),
'buddy' => array( "browsebuddy" , 'assistant' ),
'mmod' => array( "misc/multi_moderate", 'mmod' ,"'multimod',"),
'warn' => array( "misc/warn" , 'warn' ,"'badwords','bbcode' ,'emoticons'," ),
'home' => array( 'ipbportal' , 'ipdl' ,"'attachtypes','bbcode', 'multimod','ranks','profilefields'," ),
'module' => array( 'modules' , 'modules' ),
'toutline' => array( 'topics_outline' , 'toutline' ),
'task' => array( 'taskloader' , 'taskloader' ),
'findpost' => array( 'findpost' , 'findpost' ),
'arcade' => array( 'Arcade' , 'Arcade' ),
);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
near the top
anything I did wrong?
The Site