Log in

View Full Version : Profile.php Error


Mastar
01-05-2006, 07:13 PM
I got this this error on my forum when I go to Usecp-->>Edit options in the header:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/satnews/domains/satnewsonline.com/public_html/forums/profile.php(2687) : eval()'d code on line 52

I opened Profile.php and searched for line 52 and'userfield_textbox', is there.
Does this apply to the 'userfield_textbox' template?
Any suggestion to resolve this?

harmor19
01-05-2006, 08:26 PM
Yes.

Edit the "userfield_textbox" and try to spot the mistake.
A common mistake is using, for example $vbphrase['text']
The single quotes do not belong

Mastar
01-06-2006, 01:31 PM
Yes.

Edit the "userfield_textbox" and try to spot the mistake.
A common mistake is using, for example $vbphrase['text']
The single quotes do not belong

I looked and didn't notice anything, can U take a L00k?


<fieldset class="fieldset">
<legend><label for="ctb_$profilefieldname">$profilefield[title]</label></legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>$profilefield[description]</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="userfield[$profilefieldname]" id="ctb_$profilefieldname" value="$bbuserinfo[$profilefieldname]" size="$profilefield[size]" maxlength="$profilefield[maxlength]" /></td>
</tr>
</table>
</fieldset>
<input type="hidden" name="userfield[{$profilefieldname}_set]" value="1" />

Mastar
01-08-2006, 03:58 PM
Any help from the great coders here???

This is my Profile.PhP

http://www.thebedrocktavern.com/My_Profile_Php_Error.bmp