vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Profile.php Error (https://vborg.vbsupport.ru/showthread.php?t=104548)

Mastar 01-05-2006 07:13 PM

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
I opened Profile.php and searched for line 52 and
Code:

'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

Quote:

Originally Posted by harmor19
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?

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" />


Mastar 01-08-2006 03:58 PM

Any help from the great coders here???

This is my Profile.PhP

http://www.thebedrocktavern.com/My_P..._Php_Error.bmp


All times are GMT. The time now is 06:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02451 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete