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
[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 272 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


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


Sure.

Attachment: admintool_editprofile.txt (9kB)
This file has been downloaded 1991 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


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


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


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


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


View user's profile View All Posts By User

  Go To Top

Powered by XMB 1.9.12 (Debug Mode)
XMB Forum Software © 2001-2024 The XMB Group
[Queries: 16] [PHP: 29.8% - SQL: 70.2%]