tpl_top:59 error random times

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
User avatar
master3395
Forum Members
Forum Members
Posts: 94
Joined: Mon Mar 30, 2015 7:13 am
Location: Norway

tpl_top:59 error random times

Post by master3395 »

Move if put in the wrong section.

I get the error below, at random times.
If i just refresh the page, it loads.

I don't see any errors in CMS or in my templates.
Not sure what it can be.

Line 185 is the code pasted below.

Code: Select all

       // 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}'" : ''));
        }
https://newstargeted.com/uploads/images ... 0023cb.png

Code: Select all

----------------------------------------------

Cms Version: 2.2.5

Installed Modules:

AdminSearch: 1.0.4
BoxPacker: 1.2.6
CGBetterForms: 1.3.2
CGBlog: 1.15.7
CGCalendar: 2.5
CGClientTickets: 1.1.4.1
CGContentUtils: 2.2.2
CGEcommerceBase: 1.8.6
CGExtensions: 1.59.1
CGFBPost: 1.1.3
CGJobMgr: 1.3.6
CGMessageQueue: 1.0.1
CGMyOrders: 1.2.4
CGNotifier: 1.1
CGPaymentGatewayBase: 1.6.2
CGSimpleSmarty: 2.1.7
CGSmartImage: 1.22.1
CGSnapshot: 1.3
CGSocialBlaster: 1.1
CGTiny: 1.2.8
CGTweet: 1.3.2
CGUserDirectory: 1.5.1
CGWebPush: 1.1.1
CGml: 1.2
CMSContentManager: 1.1.6
CMSMailer: 6.2.14
Captcha: 0.5.5
CmsJobManager: 0.1.2
CustomGS: 3.2
DesignManager: 1.1.4
Disqus: 2.1.0
ErrorLogger: 1.5.1
FAQ: 2.0.3
FRTaxes: 1.3
FileManager: 1.6.5
FilePicker: 1.0.2
FormBuilder: 0.8.1.6
FrontEndUsers: 2.8.1
Harden: 0.0.1
JM_Forum: 1.1.rc.1
JQueryTools: 1.4.0.3
MenuManager: 1.50.3
MetaMax: 2.1.7
MicroTiny: 2.2.2
ModuleManager: 2.1.3
NMS: 2.13.2
Navigator: 1.0.8
News: 2.51.3
Orders: 1.23.2
PaypalGateway: 2.6
Piwik: 1.0.1
Products: 2.28.3
ProductsByVendor: 1.2.6
Promotions: 1.3.1.1
Search: 1.51.2
SelfRegistration: 1.13
Showtime2: 3.5.4
SimpleSiteInfo: 3.3
SimpleSiteMgr: 3.3.1
SitemapMgr: 1.5.3
Statistics: 1.2.1.2
TinyMCE: 3.2-beta3
Uploads: 1.25.8
Widgets: 1.1

Config Information:

php_memory_limit:
max_upload_size: 256000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/Oslo
permissive_smarty: true

Php Information:

phpversion: 7.1.11
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 32767
E_STRICT: 2048
E_DEPRECATED: 8192
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 512M
max_execution_time: 240
register_globals: Off (False)
output_buffering: 4096
disable_functions: system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, openlog, syslog, symlink, link, chgrp, leak, popen, escapeshellcmd, apache_child_terminate, virtual, mb_send_mail
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 256M
upload_max_filesize: 256M
session_save_path: /tmp (0700)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On

Performance Information:

allow_browser_cache: On (True)
browser_cache_expiry: 60
php_opcache: Off (False)
smarty_cache: On (True)
smarty_compilecheck: Off (False)
auto_clear_cache_age: On (True)
Server Information:

Server Software: Apache
Server Api: litespeed
Server Os: Linux 3.10.0-714.10.2.lve1.4.75.el7.x86_64 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 10.1.29
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:

tmp: /home/NewsTargeted.com/public_html/tmp (0755)
tmp_cache: /home/NewsTargeted.com/public_html/tmp/cache (0755)
templates_c: /home/NewsTargeted.com/public_html/tmp/templates_c (0755)
modules: /home/NewsTargeted.com/public_html/modules (0755)
uploads: /home/NewsTargeted.com/public_html/uploads (0755)
File Creation Mask (umask): /home/NewsTargeted.com/public_html/tmp/cache (0755)
config_file: 0444
----------------------------------------------
User avatar
master3395
Forum Members
Forum Members
Posts: 94
Joined: Mon Mar 30, 2015 7:13 am
Location: Norway

Re: tpl_top:59 error random times

Post by master3395 »

Seems like my site has a huge error when i log out, it all goes blank
But if i check the web source on the white page
I get the error below.

If i log into the admin panel, everything works fine.

Code: Select all

<bodyPHP Fatal error:  Uncaught exception 'Error' with message 'Call to undefined function smarty_function_root_url()' in /home/NewsTargeted.com/public_html/tmp/cache/p56^3dbf55e95fb6d38b9ed0e7d22c754f10637bc236.59.php:26
User avatar
PinkElephant
Forum Members
Forum Members
Posts: 169
Joined: Fri Feb 06, 2009 2:08 pm

Re: tpl_top:59 error random times

Post by PinkElephant »

I'd try turning off smarty caching under admin, manually deleting all files in the cache, logging out and testing from a different browser/machine.

If it looks good, turn the cache back on and see if debug mode reveals anything if/when it fails again.
User avatar
master3395
Forum Members
Forum Members
Posts: 94
Joined: Mon Mar 30, 2015 7:13 am
Location: Norway

Re: tpl_top:59 error random times

Post by master3395 »

Seems like that was the issue, thanks for suggesting that.
PinkElephant wrote:I'd try turning off smarty caching under admin, manually deleting all files in the cache, logging out and testing from a different browser/machine.

If it looks good, turn the cache back on and see if debug mode reveals anything if/when it fails again.
Locked

Return to “CMSMS Core”