Fatal Error in PHP.ErrorHandler();

Smarty error: unable to write to $compile_dir '/var/www/vhosts/whatcouldicook.com/httpdocs/forum/cache/Smarty/compile'. Be sure $compile_dir is writable by the web server user.

The error occurred on or near: /var/www/vhosts/whatcouldicook.com/httpdocs/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php

1109:      * @param integer $error_type
1110:      */
1111:     function trigger_error($error_msg, $error_type = E_USER_WARNING)
1112:     {
1113:         trigger_error("Smarty error: $error_msg", $error_type);
1114:     }
1115: 
1116: 
1117:     /**

Backtrace:

[/var/www/vhosts/whatcouldicook.com/httpdocs/forum/library/core/functions.error.php:132] PHP::include();
[/var/www/vhosts/whatcouldicook.com/httpdocs/forum/library/core/functions.error.php:132] PHP::ErrorHandler();
[/var/www/vhosts/whatcouldicook.com/httpdocs/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1113] PHP::trigger_error();
[/var/www/vhosts/whatcouldicook.com/httpdocs/forum/library/vendors/Smarty-2.6.25/libs/internals/core.write_compiled_resource.php:23] Smarty->trigger_error();
[/var/www/vhosts/whatcouldicook.com/httpdocs/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1451] PHP::smarty_core_write_compiled_resource();
[/var/www/vhosts/whatcouldicook.com/httpdocs/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1274] Smarty->_compile_resource();
[/var/www/vhosts/whatcouldicook.com/httpdocs/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1126] Smarty->fetch();
[/var/www/vhosts/whatcouldicook.com/httpdocs/forum/library/core/class.smarty.php:54] Smarty->display();
[/var/www/vhosts/whatcouldicook.com/httpdocs/forum/library/core/class.controller.php:985] Gdn_Smarty->Render();
[/var/www/vhosts/whatcouldicook.com/httpdocs/forum/library/core/class.controller.php:775] Gdn_Controller->RenderMaster();
[/var/www/vhosts/whatcouldicook.com/httpdocs/forum/library/core/class.pluggable.php:192] Gdn_Controller->xRender();
[/var/www/vhosts/whatcouldicook.com/httpdocs/forum/library/core/class.pluggable.php:192] Gdn_Pluggable->__call();
[/var/www/vhosts/whatcouldicook.com/httpdocs/forum/applications/garden/controllers/home.php:42] HomeController->Render();
[/var/www/vhosts/whatcouldicook.com/httpdocs/forum/library/core/class.dispatcher.php:227] HomeController->FileNotFound();
[/var/www/vhosts/whatcouldicook.com/httpdocs/forum/index.php:41] Gdn_Dispatcher->Dispatch();

Variables in local scope:

[error_msg] 'unable to write to $compile_dir \'/var/www/vhosts/whatcouldicook.com/httpdocs/forum/cache/Smarty/compile\'. Be sure $compile_dir is writable by the web server user.'
[error_type] 256

Need Help?

If you are a user of this website, you can report this message to a website administrator.

If you are an administrator of this website, you can get help at the Vanilla Community Forums.

Additional information for support personnel: