|
|
Joined: Nov 2000
Posts: 1,271
Kahuna
|
Kahuna
Joined: Nov 2000
Posts: 1,271 |
when i try to "add a graemlin" in my control panel, i get the following error
[]Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/robkam2/public_html/ubbthreads/languages/english/admin/addgraemlin.php on line 8[/]
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
what do you have on line 8 of ubbthreads/languages/english/admin/addgraemlin.php?
|
|
|
|
Joined: Nov 2000
Posts: 1,271
Kahuna
|
Kahuna
Joined: Nov 2000
Posts: 1,271 |
i never know how to determine which line is which , so this is my entire file: <br /><?<br />$ubbt_lang['ADD_NEW'] = "Add New Graemlin";<br />$ubbt_lang['GRAEMLIN_FORM'] = "Graemlins are graphic smilies that are used in posts. Please be sure that your /graemlins directory is writeable by the web server.";<br />$ubbt_lang['G_IMAGE'] = "Graemlin Image";<br />$ubbt_lang['M_STRING'] = "Markup String:";<br />$ubbt_lang['S_CODE'] = "Graemlin Code:";<br />$ubbt_lang['G_SUBMIT'] = "Add Graemlin";<br />$ubbt_lang['M_STRING_1'] = "This can be hardcoded, like \"smile\" so users can type :smile: or [smile] to add the smile graemlin to their post. You can also support multiple languages by using the \"$ubbt_lang['ICON_NAME']\" format. If you choose this format you will need to add the text strings into the generic.php language file in each language directory. Please use only one word - no spaces.";<br />$ubbt_lang['S_CODE_1'] = "If you wish to use a shorter code, such as <b>:)</b> for the new Graemlin, please enter it in this field rather than the Graemlin Code field. This field is optional.";<br />?>
|
|
|
|
Joined: Mar 2001
Posts: 644
Member
|
Member
Joined: Mar 2001
Posts: 644 |
|
|
|
|
Joined: Mar 2001
Posts: 644
Member
|
Member
Joined: Mar 2001
Posts: 644 |
Look for <br />\"$ubbt_lang['ICON_NAME']\"<br /> Change to: <br />\"\$ubbt_lang['ICON_NAME']\"<br />
|
|
|
|
Joined: Nov 2000
Posts: 1,271
Kahuna
|
Kahuna
Joined: Nov 2000
Posts: 1,271 |
aaah, that did it stupid tiny little error! i never woulda found that. thanks guys!!
|
|
|
|
Joined: Mar 2001
Posts: 644
Member
|
Member
Joined: Mar 2001
Posts: 644 |
No problem. I do that a lot myself. Glad I could be of assistance.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|