XMB Forum Software
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author: Subject: [Resolved] Syntax Error
Plastic
Member
***




Posts: 19
Registered: 5-18-2012
Member Is Offline


posted on 9-25-2012 at 02:51 AM Edit Post Reply With Quote
[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 350 times
View user's profile View All Posts By User
Mouser
XMB Contributor
********




Posts: 202
Registered: 4-14-2008
Member Is Offline

Mood: Christmasy. Yes, in September.

posted on 9-25-2012 at 07:12 AM Edit Post Reply With Quote



Hmm, looks like a template issue.

Could you attach the template "admintool_editprofile" in a TXT file to a post ?
View user's profile View All Posts By User
Plastic
Member
***




Posts: 19
Registered: 5-18-2012
Member Is Offline


posted on 9-25-2012 at 09:58 PM Edit Post Reply With Quote



Sure.

Attachment: admintool_editprofile.txt (9kB)
This file has been downloaded 2046 times

View user's profile View All Posts By User
Mouser
XMB Contributor
********




Posts: 202
Registered: 4-14-2008
Member Is Offline

Mood: Christmasy. Yes, in September.

posted on 9-26-2012 at 06:04 PM Edit Post Reply With Quote



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>

View user's profile View All Posts By User
Plastic
Member
***




Posts: 19
Registered: 5-18-2012
Member Is Offline


posted on 9-26-2012 at 11:19 PM Edit Post Reply With Quote



Ops i see what was the problem, thanks mouser. :P
View user's profile View All Posts By User
Plastic
Member
***




Posts: 19
Registered: 5-18-2012
Member Is Offline


posted on 9-26-2012 at 11:24 PM Edit Post Reply With Quote



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.
View user's profile View All Posts By User
Mouser
XMB Contributor
********




Posts: 202
Registered: 4-14-2008
Member Is Offline

Mood: Christmasy. Yes, in September.

posted on 9-27-2012 at 06:34 AM Edit Post Reply With Quote



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.
View user's profile View All Posts By User
Plastic
Member
***




Posts: 19
Registered: 5-18-2012
Member Is Offline


posted on 9-27-2012 at 08:28 PM Edit Post Reply With Quote



View user's profile View All Posts By User

  Go To Top

Powered by XMB 1.10.00-alpha (Debug Mode)
XMB Forum Software © 2001-2025 The XMB Group
[Queries: 14] [PHP: 54.0% - SQL: 46.0%]