Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

the $compile_dir '/path/to/forum/cache/Smarty/compile' does not exist, or is not a directory*

david99david99 New
edited January 2013 in Vanilla 2.0 - 2.8

The default theme works fine, but the embed theme draws this up when the site is visited??

Fatal Error in PHP.trigger_error();
Smarty error: the $compile_dir '/path/to/forum/cache/Smarty/compile' does not exist, or is not a directory.
The error occurred on or near: /path/to/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:

/path/to//forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.phpPHP::Gdn_ErrorHandler();

[/path/to/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1113] PHP::trigger_error();

[/path/to/forum/library/vendors/Smarty-2.6.25/libs/internals/core.write_compiled_resource.php:20] Smarty->trigger_error();

[/path/to/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1451] PHP::smarty_core_write_compiled_resource();

[/path/to/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1274] Smarty->_compile_resource();

[/path/to/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1126] Smarty->fetch();

[/path/to/forum/library/core/class.smarty.php:81] Smarty->display();

[/path/to/forum/library/core/class.controller.php:1566] Gdn_Smarty->Render();

[/path/to/forum/library/core/class.controller.php:1141] Gdn_Controller->RenderMaster();

[/path/to/forum/library/core/class.pluggable.php:193] Gdn_Controller->xRender();

[/path/to/forum/applications/vanilla/controllers/class.discussionscontroller.php:148] Gdn_Pluggable->__call();

[/path/to/forum/applications/vanilla/controllers/class.discussionscontroller.php:148] DiscussionsController->Render();

[/path/to/forum/applications/vanilla/controllers/class.discussionscontroller.php:148] DiscussionsController->Index();

[/path/to/forum/library/core/class.dispatcher.php:322] PHP::call_user_func_array();

[/path/to/forum/index.php:53] Gdn_Dispatcher->Dispatch();

Variables in local scope:

[error_msg] 'the $compile_dir \'/hermes/waloraweb032/b1460/x/forum/cache/Smarty/compile\' does not exist, or is not a directory.'

snip

Comments

Sign In or Register to comment.