Chat with us, powered by LiveChat
Smarty error in Cerberus

Smarty error in Cerberus

When PHP safe_mode is enabled on a server, there are issues with smarty templates in Cerberus. The quick and easy fix for this problem is as follows. Do not make this change unless you need to, as it decreases efficiency (only very slightly though).

Edit the file includes/cerberus-api/templates/templates.php and add a new line directly below the $this->caching line as follows:

$this->debugging = false;
$this->compile_check = true;
$this->caching = false;
$this->use_sub_dirs = false;

After adding the use_sub_dirs line as shown above, the helpdesk should function normally even with PHP safe_mode enabled on Dedicated Hosting, Cloud Hosting or Cheap VPS Hosting servers.

Latest posts by Sam (see all)

Sharing

Leave your comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.