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.
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...
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.
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...
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.
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).
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)
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.
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).