Errors Occuring After Automated Tasks

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
joshj
Forum Members
Forum Members
Posts: 16
Joined: Fri Sep 30, 2016 10:40 am

Errors Occuring After Automated Tasks

Post by joshj »

We are experiencing errors occurring on a website after automated tasks are carried out.

The error messages state "Unable to load template module..." and references various modules within the site. The modules which are displayed in the errors are Gallery, Uploads and LISE.

When the error occurs the site does go down, as well as the error messages being displayed in the Admin Log.

When logging back in, the username and password are refused and a password reset has to be carried out.

To fix this, we can clear the cache within System Maintenance, however, this issue appears to be underlying and does regularly repeat.

Advice of this situation would be appreciated. Thanks in advance.

System Information:
----------------------------------------------
Cms Version: 2.1.5
Installed Modules:
AceEditor: 1.0
AdminSearch: 1.0.2
CGBlog: 1.14.1
CGCalendar: 2.1.4.2
CGExtensions: 1.53.13
CGSimpleSmarty: 2.1.4
CGTweet: 1.2
CMSContentManager: 1.1.1
CMSForms: 1.11.2
CMSMailer: 6.2.14
Captcha: 0.5.3
DesignManager: 1.1.1
FileManager: 1.5.2
FormBrowser: 0.4.2
FormBuilder: 0.8.1.4
FrontEndUsers: 2.1.1
GBFilePicker: 1.3.3
Gallery: 2.1.6
InstaFeed: 3.0
JMFilePicker: 1.0
JQueryTools: 1.3.9
LISE: 1.2.1.1
LISEActivities: 1.2.1.1
LISESpecialOffers: 1.2.1.1
ListIt2: 1.4.1
MenuManager: 1.50.2
MicroTiny: 2.0.3
ModuleManager: 2.0.4
Navigator: 1.0.3
News: 2.50.5
Postcode: 1.2.1
Search: 1.50.2
SiteMapMadeSimple: 1.2.8
TemplateExternalizer: 2.1.6
ThemeManager: 1.1.8
Uploads: 1.24

Config Information:
php_memory_limit:
max_upload_size: 1024000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/London
permissive_smarty: false

Php Information:
phpversion: 5.6.25
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: 1024M
max_execution_time: 120
register_globals: Off (False)
output_buffering: 4096
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 1024M
upload_max_filesize: 1024M
session_save_path: /tmp (1777)
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: On (True)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
smarty_cache_udt: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Software: Apache
Server Api: fpm-fcgi
Server Os: FreeBSD 10.3-RELEASE-p7 On amd64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.6.32
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:
tmp: .../public_html/tmp (0755)
tmp_cache: .../public_html/tmp/cache (0755)
templates_c: .../public_html/tmp/templates_c (0755)
modules: .../public_html/modules (0755)
uploads: .../public_html/uploads (0755)
File Creation Mask (umask): .../public_html/tmp/cache (0755)
config_file: 0644
----------------------------------------------
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1619
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Errors Occuring After Automated Tasks

Post by DIGI3 »

You're not the first person to report this, we're currently trying to recreate it predictably. What is the automated task that is triggering it? Are there steps you can take to make it happen manually?
Not getting the answer you need? CMSMS support options
joshj
Forum Members
Forum Members
Posts: 16
Joined: Fri Sep 30, 2016 10:40 am

Re: Errors Occuring After Automated Tasks

Post by joshj »

We've been unable to recreate. It appears to be something related to the cache, as when this is cleared, the error resolves. However, it is odd that we cannot login following an error.

Automated tasks which cause the errors are:
UploadsCleanupExpiredTasks
Uploads\clean_tmp_files_task
Locked

Return to “CMSMS Core”