Vheissu / Ci-Smarty

Smarty templating engine integration for Codeigniter 3.0+ with inbuilt theming and asset management.
http://ilikekillnerds.com
179 stars 43 forks source link

SmartyException : unable to write file #44

Closed KlustoR closed 9 years ago

KlustoR commented 9 years ago

I can't get this error to go away, any help plz ? Im on ubuntu linux.

An uncaught Exception was encountered

Type: SmartyException

Message: unable to write file ./templates_c/wrt55215dc18cc9c8_54532485

Filename: /opt/lampp/htdocs/CMS/application/third_party/Smarty/sysplugins/smarty_internal_write_file.php

Line Number: 46

Backtrace:

File: /opt/lampp/htdocs/CMS/application/third_party/Smarty/sysplugins/smarty_internal_template.php Line: 213 Function: writeFile

File: /opt/lampp/htdocs/CMS/application/third_party/Smarty/sysplugins/smarty_internal_templatebase.php Line: 155 Function: compileTemplateSource

File: /opt/lampp/htdocs/CMS/application/libraries/MY_Parser.php Line: 186 Function: fetch

File: /opt/lampp/htdocs/CMS/application/controllers/Smartytest.php Line: 33 Function: parse

File: /opt/lampp/htdocs/CMS/index.php Line: 292 Function: require_once

KlustoR commented 9 years ago

I created a dir templates_c in my root, and now its working. seems that its not loading the config. cant seem to find any reason why its not working properly

Vheissu commented 9 years ago

Are you still having the issue of the config file not loading? Are you getting any specific error messages?

KlustoR commented 9 years ago

Yes it still doesnt load, no specific errors after creating that directory. I recon it doesnt load as its still giving me the default compile directory, and none of the config options seem to work.

Vheissu commented 9 years ago

I have committed some fixes for this issue (better late than never, right?) which will make the config file load properly again.