Skip to content

Smarty error: the $compile_dir does not exist, or is not a directory #2

Description

@changtailiang

I got this from the nginx error log:

"FastCGI sent in stderr: "PHP message: PHP Fatal error: Smarty error: the $compile_dir '/data/examples/yaf/laruence-yaf-examples-2d7d8f0/custom-view/application/views/templates_c/' does not exist, or is not a directory.

I fixed it by 'mkdir -p /data/examples/yaf/laruence-yaf-examples-2d7d8f0/custom-view/application/views/templates_c/'.

So how about create an empty directory templates_c in the source to make it a quick demo?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions