Previous Thread
Next Thread
Print Thread
Hop To
#250548 10/07/2012 9:44 PM
Joined: Jun 2006
Posts: 319
Enthusiast
Enthusiast
Joined: Jun 2006
Posts: 319
Hi All,

I was just updating the FAQ file through language editor and got this error message:

Parse error: syntax error, unexpected T_STRING in /home/outdoork/public_html/forum/languages/uk-english/faq.php on line 371

The first addition went through ok but when I added the reply I have totally lost the FAQ page and the above error comes up.

Can someone point me in the right direction to correct the error please.

Outdoorking #250550 10/08/2012 12:21 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Edit the file /languages/uk-english/faq.php with notepad or editplus (don't use word, don't use wordpad, don't use anything that'll add additional coding) and go to line 371, it doesn't like something in that line; post it here and I'm sure someone can help you with it.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #250552 10/08/2012 12:40 AM
Joined: Jun 2006
Posts: 319
Enthusiast
Enthusiast
Joined: Jun 2006
Posts: 319
Gimzo,

Thanks for the reply regarding the issue that I had but now I have another one where I have added a new FAQ item but it is not listing on the page but the file has been updated. Below is a cut out of the faq.php file:

The default user status colours are:<br/>
<span class=\"adminname\">Administration</span><br/>
<span class=\"globalmodname\">Global Moderator</span><br/>
<span class=\"modname\">Moderator</span><br/>
<span class=\"bots\">Search Engine Robot</span>";
$ubbt_lang['B_NPINDICATOR'] = "The numbers in parenthesise indicate how many new topics (or posts) have been made since your last visit to the forums.";
$ubbt_lang['F_MANUALS'] = "How do I gain access to Parts List & Manuals Area?";
$ubbt_lang['B_MANUALS'] = "In order to gain access you will need to click on \"My Stuff\"<br/>
Steps:<br/>
1. Click Subscriptions and view list of subscriptions available.<br/>
2. Click more details for the area that you are interested in and view details of subscription.<br/>
3. Click Payment method (PayPal) and then click subscribe.";
$ubbt_lang['F_NEWPOST'] = "How do I make a new post?";
$ubbt_lang['B_NEWPOST'] = "In order to make a new post you will need to do the following <br/>
Steps:<br/>
1. Select the forum in which you would like to post a question.i.e. Questions on Lawn Mower Frames<br/>
2. Then click on the specific forum. i.e. Victa Lawn Mower Frames<br/>
3. Then click on New Topic Button<br/>
4. Then type in the Subject Box your specific Title or Subject.<br/>
5. Then in the large post box you post your question. <br/>
6. After you have finished typing your question you then press Preview Post and if you are happy with what you have typed then click Submit.";
?>

Outdoorking #250553 10/08/2012 4:53 AM
Joined: Jun 2006
Posts: 319
Enthusiast
Enthusiast
Joined: Jun 2006
Posts: 319
Hi All,

I found the issue and it had to do with the faq.tpl file which was not being updated and I had to do it manually to get it to work.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (1 invisible), 879 guests, and 150 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)