Previous Thread
Next Thread
Print Thread
Hop To
#267039 05/09/2026 3:28 AM
Joined: Jun 2006
Posts: 353
Enthusiast
Enthusiast
Joined: Jun 2006
Posts: 353
Hi All,

I am getting this error message when I click on CONTACT US at the bottom of my forum:
Parse error: syntax error, unexpected token "[" in /home/public_html/libs/smarty/sysplugins/smarty_internal_template.php on line 196

Lines from 194 to 204 but don't know what I have to do to correct the error.

// checks if template exists
if (!$this->source->exists) {
throw new SmartyException(
"Unable to load template '{$this->source->type}:{$this->source->name}'" .
($this->_isSubTpl() ? " in '{$this->parent->template_resource}'" : '')
);
}
// disable caching for evaluated code
if ($this->source->handler->recompiled) {
$this->caching = Smarty::CACHING_OFF;
}

I have tis version Forum Software 8.0.0 and PHP Version 8.3.30.

Any help would be appreciated.

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
What do you have selected for the value on
CP -> Display -> General -> General Tab -> General Settings -> "Contact Link Type" and "Contact URL"


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
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 #267044 05/10/2026 2:25 AM
Joined: Jun 2006
Posts: 353
Enthusiast
Enthusiast
Joined: Jun 2006
Posts: 353
Originally Posted by Gizmo
What do you have selected for the value on
CP -> Display -> General -> General Tab -> General Settings -> "Contact Link Type" and "Contact URL"
Hi Gizmo,

I don't have anything in the two boxes. Image below
Attachments
Forum_1.jpg

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
If they aren't set you shouldn't see a contact us link, at least one generated by UBB.threads as it'd be either the forum email address or a contact us URL...

EDIT: Ok, I see the issue, you're not using the UBB.threads contact options at all, you have a link in your footer to a non-UBB.threads page:
https://www.outdoorking-forum.com.au/index.php?main_page=contact_us

As this isn't a UBB.threads page there isn't anything we can do in regards to its coding.

Upon further inspection it looks like whatever system you have running on the web root of your domain are returning issues https://www.outdoorking-forum.com.au/ as they are not stock UBB.threads files I'm not sure how they've been coded to operate the main site there.

Last edited by Gizmo; 05/10/2026 2:52 AM.

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
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 #267052 05/10/2026 5:05 PM
Joined: Jun 2006
Posts: 353
Enthusiast
Enthusiast
Joined: Jun 2006
Posts: 353
Originally Posted by Gizmo
If they aren't set you shouldn't see a contact us link, at least one generated by UBB.threads as it'd be either the forum email address or a contact us URL...

EDIT: Ok, I see the issue, you're not using the UBB.threads contact options at all, you have a link in your footer to a non-UBB.threads page:
https://www.outdoorking-forum.com.au/index.php?main_page=contact_us

As this isn't a UBB.threads page there isn't anything we can do in regards to its coding.

Upon further inspection it looks like whatever system you have running on the web root of your domain are returning issues https://www.outdoorking-forum.com.au/ as they are not stock UBB.threads files I'm not sure how they've been coded to operate the main site there.

Hi Gizmo,

The correct file location (for the files are) is https://www.outdoorking-forum.com.au/forum and it was installed by UBB (paid for) staff.

If I put this in https://www.outdoorking-forum.com.au/forum/index.php?main_page=contact_us it goes to the main page of the website.

So if any coding was done it was by UBB.

Do I need to pay them again to fix the issue?

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
That set of scripts isn't anything Isaac or myself has done (it doesn't even follow our naming scheme, short urls, or UBB urls); we're 3rd party contractors with UBB Systems, if you paid for him to modify your forms that's something you'd have to take up with him as these are not a part of the UBB.threads system.

BTW your footer link is what's sending users to the web root, if the files do exist in the forum directory you'd want to update that URL (I'm assuming it's in the HTML includes section of the Control Panel, but I'm not thinking it is as the contact link https://www.outdoorking-forum.com.au/forum/index.php?main_page=contact_us loads the portal page, like it would do if a script page wasn't detected).


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
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 #267055 05/10/2026 7:30 PM
Joined: Jun 2006
Posts: 353
Enthusiast
Enthusiast
Joined: Jun 2006
Posts: 353
Originally Posted by Gizmo
That set of scripts isn't anything Isaac or myself has done (it doesn't even follow our naming scheme, short urls, or UBB urls); we're 3rd party contractors with UBB Systems, if you paid for him to modify your forms that's something you'd have to take up with him as these are not a part of the UBB.threads system.

BTW your footer link is what's sending users to the web root, if the files do exist in the forum directory you'd want to update that URL (I'm assuming it's in the HTML includes section of the Control Panel, but I'm not thinking it is as the contact link https://www.outdoorking-forum.com.au/forum/index.php?main_page=contact_us loads the portal page, like it would do if a script page wasn't detected).

Hi Gizmo,

Thanks for the reply but I have not done anything on that server. I had it updated by UBB and no one else has done anything that i know of since it was updated and moved from one server to another.

I am getting this error message if I put outdoorking-forum.com.au into browser:
Parse error: syntax error, unexpected token "[" in /home/xxxx/public_html/libs/smarty/sysplugins/smarty_internal_template.php on line 196

If I put outdoorking-forum.com.au/forum it loads up.

This is the version that is running:
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Release build 20240826)

Last edited by Outdoorking; 05/10/2026 8:09 PM.
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Originally Posted by Outdoorking
I am getting this error message if I put outdoorking-forum.com.au into browser:
Parse error: syntax error, unexpected token "[" in /home/xxxx/public_html/libs/smarty/sysplugins/smarty_internal_template.php on line 196
Again, this is due to the custom coding of scripts in your web root; your UBB.threads software is located in /forums which is working fine.

https://www.outdoorking-forum.com.au/ running non-UBB.threads stock code
https://www.outdoorking-forum.com.au/forum/ running UBB.threads


Read your paths:
/home/xxxx/public_html/libs/smarty/sysplugins/smarty_internal_template.php

This is not pulling code from the forum folder. It's likely a non-PHP8 version of Smarty being utilized (likely smarty 3.1.xx, the newer versions of smarty included in UBB.threads8 lacks a sysplugins folder (which your error is having issues with).


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
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!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (Gizmo), 156 guests, and 110 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)