unexpected T_VARIABLE

This add-on will allow you to give "moderators" access to manage users, and theire permissions, admin accounts are protected

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

unexpected T_VARIABLE

Postby dil pari on Tue 01. Feb, 2005 05:48

when i click the link to go to admin panel i am getting this error for Moderator CP. What is wrong??


Parse error: parse error, unexpected T_VARIABLE in c:\program files\easyphp1-7\www\bb\language\lang_english\lang_admin.php on line 753



line 753 is the code below.

Code: Select all
// Start add - ModCP
$lang['Modcp'] = 'ModeratorCP';
$lang['Modcp_title'] = 'Moderator Control Panel';
$lang['Modcp_explain'] = 'The form below will allow you to customize all the ModeratorCP options.';
$lang['Modcp_settings'] = 'ModCP Settings';
$lang['Module_disabled'] = 'Module disabled';

$lang['Module_disallow'] = 'Enable Disallow Module';
$lang['Module_disallow_explain'] = 'Allow moderators to access to the Disallow module.';
$lang['Module_mass_email'] = 'Enable Mass Email Module';
$lang['Module_mass_email_explain'] = 'Allow moderators to access to the Mass Email module.';
$lang['Module_ranks'] = 'Enable Ranks Module';
$lang['Module_ranks_explain'] = 'Allow moderators to access to the Ranks module.';
$lang['Module_smilies'] = 'Enable Smilies Module';
$lang['Module_smilies_explain'] = 'Allow moderators to access to the Smilies module.';
$lang['Module_user_ban'] = 'Enable User Ban Module';
$lang['Module_user_ban_explain'] = 'Allow moderators to access to the User Ban module.';
$lang['Module_users'] = 'Enable Users Module';
$lang['Module_users_explain'] = 'Allow moderators to access to the Users module.';
$lang['Module_words'] = 'Enable Words Module';
$lang['Module_words_explain'] = 'Allow moderators to access to the Words module.';
// End add - ModCP
dil pari
Poster
Poster
 
Posts: 2
Joined: Tue 01. Feb, 2005 05:31

Postby kooky on Thu 03. Feb, 2005 02:37

Hi

check your lang_admin.php
be sure you didn't add this code below the ?> (close tag for PHP)
kooky
brilliant supporter
 
Posts: 1329
Joined: Tue 31. Dec, 2002 17:52
Location: Au pays des rêves

Postby dil pari on Mon 07. Feb, 2005 04:59

kooky wrote:Hi

check your lang_admin.php
be sure you didn't add this code below the ?> (close tag for PHP)


nope i did not. now what?
dil pari
Poster
Poster
 
Posts: 2
Joined: Tue 01. Feb, 2005 05:31

Postby kooky on Tue 15. Feb, 2005 14:28

i see no error in your lang_admin.php
Could you attach your file into a zip archive?
kooky
brilliant supporter
 
Posts: 1329
Joined: Tue 31. Dec, 2002 17:52
Location: Au pays des rêves


Return to Moderator CP [2.0.17/EM]

Who is online

Users browsing this forum: No registered users and 0 guests

cron