Plastic
Member
Posts: 19
Registered: 5-18-2012
Member Is Offline
|
|
[Resolved] Syntax Error
Full Board URL: http://www.heybritneyforums.com
XMB Version: 1.9.11
I got this error today when i tried to edit a member profile:
Quote: | Parse error: syntax error, unexpected T_STRING, expecting ']' in /home/heyforum/public_html/editprofile.php(280) : eval()'d code on line 44
|
I don't know if when I installed the additional member hack i made a mistake or something.
Attachment: editprofile.php (14kB) This file has been downloaded 270 times
|
|
Mouser
XMB Contributor
Posts: 202
Registered: 4-14-2008
Member Is Offline
Mood: Christmasy. Yes, in September.
|
|
Hmm, looks like a template issue.
Could you attach the template "admintool_editprofile" in a TXT file to a post ?
|
|
Plastic
Administrator
Posts: 19
Registered: 5-18-2012
Member Is Offline
|
|
|
|
Mouser
XMB Contributor
Posts: 202
Registered: 4-14-2008
Member Is Offline
Mood: Christmasy. Yes, in September.
|
|
Yup. There is the mistake
Line 43 (error says line 44, but that's because it only notices it there)
Code: | <option value="Designer" $designerselect>{$lang['designer]}</option> |
Should be this;
Code: | <option value="Designer" $designerselect>{$lang['designer']}</option> |
|
|
Plastic
Administrator
Posts: 19
Registered: 5-18-2012
Member Is Offline
|
|
Ops i see what was the problem, thanks mouser.
|
|
Plastic
Administrator
Posts: 19
Registered: 5-18-2012
Member Is Offline
|
|
Oh just another fast question, if i want add another additional member status all i need to do is follow the same steps?. Idk if i need open a new
topic for this.
|
|
Mouser
XMB Contributor
Posts: 202
Registered: 4-14-2008
Member Is Offline
Mood: Christmasy. Yes, in September.
|
|
I haven't seen the entire hack (link the one you used?). Depends on how the number is created in (I mean to recall) header.php .... then : Yes.
|
|
Plastic
Administrator
Posts: 19
Registered: 5-18-2012
Member Is Offline
|
|
|
|