Fork me on GitHub

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Current release is 2.1.6 (21 Nov 2014).

Users who have not yet upgraded to 2.1 should get security release 2.0.18.14 (1 Nov 2014). We will stop providing these security releases to 2.0 at the end of this year.

[Solved] Bonk Error when i try Apply or Preview Mobile theme or Embed Friendly Theme

H00jH00j
edited May 2012 in Vanilla 2.0 Help

No errors in error.log . Before i get raged at for not looking ...

I found this http://vanillaforums.org/discussion/19957/documentationmobile-bonk-message-when-applying-themes-error-code-copied

That suggested i add $Configuration['Garden']['MobileTheme'] = 'mobile';

To config, when i did that i gave a bonk error on my mobile phone.

Here is my

`

Generated May 11, 2012, 8:21 pm
Version: $Configuration['Conversations']['Version'] = '2.0.18.4';

Plugin: // EnabledPlugins

Plugin: $Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed';

Plugin: $Configuration['EnabledPlugins']['Flagging'] = TRUE;

Plugin: $Configuration['EnabledPlugins']['SplitMerge'] = TRUE;

Plugin: $Configuration['EnabledPlugins']['Tagging'] = TRUE;

Plugin: $Configuration['EnabledPlugins']['VanillaStats'] = TRUE;

Plugin: $Configuration['EnabledPlugins']['cleditor'] = TRUE;

Plugin: $Configuration['EnabledPlugins']['AllViewed'] = TRUE;

Plugin: $Configuration['EnabledPlugins']['massmail'] = TRUE;

Plugin: $Configuration['EnabledPlugins']['Quotes'] = TRUE;

Plugin: $Configuration['EnabledPlugins']['WhosOnline'] = TRUE;

Plugin: $Configuration['EnabledPlugins']['Voting'] = TRUE;

Version: $Configuration['Garden']['Version'] = '2.0.18.4';

Plugin: // Plugin

Plugin: $Configuration['Plugin']['MassMail']['Title'] = 'test';

Plugin: $Configuration['Plugin']['MassMail']['Content'] = 'teatgat';

Plugin: $Configuration['Plugin']['Traditional']['ForumDescription'] = 'My Forum Description';

Plugin: // Plugins

Version: $Configuration['Vanilla']['Version'] = '2.0.18.4';


`

Here is the error

`Fatal Error in PHP.trigger_error(); Smarty error: the $compile_dir '/home/mywebsite/public_html/cache/Smarty/compile' does not exist, or is not a directory. The error occurred on or near: /home/mywebsite/public_html/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/mywebsite/public_html/library/vendors/Smarty-2.6.25/libs/Smarty.class.phpPHP::Gdn_ErrorHandler();

[/home/mywebsite/public_html/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1113] PHP::trigger_error();

[/home/mywebsite/public_html/library/vendors/Smarty-2.6.25/libs/internals/core.write_compiled_resource.php:20] Smarty->trigger_error();

[/home/mywebsite/public_html/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1451] PHP::smarty_core_write_compiled_resource();

[/home/mywebsite/public_html/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1274] Smarty->_compile_resource();

[/home/mywebsite/public_html/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1126] Smarty->fetch();

[/home/mywebsite/public_html/library/core/class.smarty.php:81] Smarty->display();

[/home/mywebsite/public_html/library/core/class.controller.php:1566] Gdn_Smarty->Render();

[/home/mywebsite/public_html/library/core/class.controller.php:1141] Gdn_Controller->RenderMaster();

[/home/mywebsite/public_html/library/core/class.pluggable.php:193] Gdn_Controller->xRender();

[/home/mywebsite/public_html/applications/vanilla/controllers/class.discussionscontroller.php:148] Gdn_Pluggable->__call();

[/home/mywebsite/public_html/applications/vanilla/controllers/class.discussionscontroller.php:148] DiscussionsController->Render();

[/home/mywebsite/public_html/applications/vanilla/controllers/class.discussionscontroller.php:148] DiscussionsController->Index();

[/home/mywebsite/public_html/library/core/class.dispatcher.php:322] PHP::call_user_func_array();

[/home/mywebsite/public_html/index.php:53] Gdn_Dispatcher->Dispatch();

Variables in local scope:

[error_msg] 'the $compile_dir \'/home/mywebsite/public_html/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.4
PHP Version: 5.4.3-1
Operating System: Linux
Server Software: Apache
Referer: http://mywebsite.org/index.php?p=/dashboard/settings/themes
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20100101 Firefox/12.0
Request Uri: /index.php?p=/
Controller: PHP
Method: trigger_error

`

Answers

Sign In or Register to comment.