News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Php line error (Aeva Media)

Started by Wooderson, March 09, 2014, 07:28:46 PM

Previous topic - Next topic

Wooderson

Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /usr/www/••••••/public/Sources/Profile.php on line 332

'activateaccount' => array(
'file' => 'Profile-Actions.php',
'function' => 'activateAccount',
'sc' => 'get',
'select' => 'summary',
'permission' => array(
'own' => array(),
'any' => array('moderate_forum'),
),
),
),
),


// Aeva Media changes
'aeva' => array(
'title' => $txt['aeva_gallery'],
'areas' => array(
'aeva' => array(
'file' => 'Aeva-Gallery2.php',
'function' => 'aeva_profileSummary',
'label' => $txt['aeva_profile_sum'],
'permission' => array(
'own' => array('aeva_viewprofile'),
'any' => array('aeva_viewprofile'),
),
'load_member' => true,
),
'aevaitems' => array(
'file' => 'Aeva-Gallery2.php',
'function' => 'aeva_profileItems',
'label' => $txt['aeva_view_items'],
'permission' => array(
'own' => array('aeva_viewprofile'),
'any' => array('aeva_viewprofile'),
),
'load_member' => true,
),
'aevacoms' => array(
'file' => 'Aeva-Gallery2.php',
'function' => 'aeva_profileComments',
'label' => $txt['aeva_view_coms'],
'permission' => array(
'own' => array('aeva_viewprofile'),
'any' => array('aeva_viewprofile'),
),
'load_member' => true,
),
'aevavotes' => array(
'file' => 'Aeva-Gallery2.php',
'function' => 'aeva_profileVotes',
'label' => $txt['aeva_view_votes'],
'permission' => array(
'own' => array('aeva_viewprofile'),
'any' => array('aeva_viewprofile'),
),
'load_member' => true,
),
),
),
// End Aeva Media changes


331 through 377 are the Aeva code. I had a test error in install so I edited the profile.php myself, but seemed to fail. :(


Kindred

You added the area code on the wrong side of that final parens

Do note, however, that mod specific questions should be asked in the support thread for that mod.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: