The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Profile.php Error
I got this this error on my forum when I go to Usecp-->>Edit options in the header:
Code:
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 Code:
'userfield_textbox', Does this apply to the 'userfield_textbox' template? Any suggestion to resolve this? |
#2
|
|||
|
|||
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 |
#3
|
||||
|
||||
Quote:
Code:
<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" /> |
#4
|
||||
|
||||
Any help from the great coders here???
This is my Profile.PhP |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|