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/vanilla/cache/Smarty/compile' does not exist, or is not a directory*

aguamelcaguamelc New
edited July 2012 in Vanilla 2.0 - 2.8

Can anyone help me solve the following problem:

Fatal Error in Smarty.trigger_error();

Smarty error: the $compile_dir '/home/portunes/public_html/vanilla/cache/Smarty/compile' does not exist, or is not a directory.
The error occurred on or near: /home/portunes/public_html/vanilla/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:
[/home/portunes/public_html/vanilla/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1113] PHP::Gdn_ErrorHandler();
[/home/portunes/public_html/vanilla/library/vendors/Smarty-2.6.25/libs/internals/core.write_compiled_resource.php:20] Smarty->trigger_error();
[/home/portunes/public_html/vanilla/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1451] PHP::smarty_core_write_compiled_resource();
[/home/portunes/public_html/vanilla/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1274] Smarty->_compile_resource();
[/home/portunes/public_html/vanilla/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1126] Smarty->fetch();
[/home/portunes/public_html/vanilla/library/core/class.smarty.php:81] Smarty->display();
[/home/portunes/public_html/vanilla/library/core/class.controller.php:1566] Gdn_Smarty->Render();
[/home/portunes/public_html/vanilla/library/core/class.controller.php:1141] Gdn_Controller->RenderMaster();
[/home/portunes/public_html/vanilla/library/core/class.pluggable.php:193] Gdn_Controller->xRender();
[/home/portunes/public_html/vanilla/applications/dashboard/controllers/class.homecontroller.php:63] Gdn_Pluggable->__call();
[/home/portunes/public_html/vanilla/applications/dashboard/controllers/class.homecontroller.php:63] HomeController->Render();
[/home/portunes/public_html/vanilla/library/core/class.dispatcher.php:322] HomeController->FileNotFound();
[/home/portunes/public_html/vanilla/library/core/class.controller.php:1300] Gdn_Dispatcher->Dispatch();
[/home/portunes/public_html/vanilla/library/core/class.dispatcher.php:324] Gdn_Controller->RenderException();
[/home/portunes/public_html/vanilla/index.php:53] Gdn_Dispatcher->Dispatch();
Variables in local scope:
[error_msg] 'the $compile_dir \'/home/portunes/public_html/vanilla/cache/Smarty/compile\' does not exist, or is not a directory.'
[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:
Application: Vanilla
Application Version: 2.0.18.2
PHP Version: 5.2.17
Operating System: Linux
Server Software: Apache/1.3.42 (Unix) mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.8e-fips-rhel5
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5
Request Uri: /vanilla/entry/emailconfirmrequest
Controller: Smarty
Method: trigger_error

Comments

  • Options

    the $compile_dir '/home/portunes/public_html/vanilla/cache/Smarty/compile' does not exist, or is not a directory.

    create the directory vanilla/cache/Smarty/compile

    I think it might need 755 or 777 permissions depending on the ownership.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.