duanhai7274 2012-12-30 08:57
浏览 67

Smarty无法访问templates_c中的编译文件

I just installed a cms system but I'm getting the following error:

[function.include]: failed to open stream: No such file or directory in
 /home/postertest/domains/buyuseraccounts.com/public_html/libs/Smarty.class.php 
on line 1283

When I check the templates_c file, the requested file is however there:

%%45^45E^45E480CD%%index.tpl.php

When i try to access the compiled file directly through the browser, it however gives a 404. When I rename the file (%%45^45E^45E480CD%%index.tpl.php) I can access it. It therefore seems that the error is caused by by Apache.. What should i do?

UPDATE

Actually, now that i test it out to another CMS on the same server, it appears there i can't access the files underneath templates_c directly as well. However there, Smarty doesn't cause any error. I tried putting the smarty distribution of the working cms to the non-working but still it gives the same error.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 vue3加ant-design-vue无法渲染出页面
    • ¥15 matlab(相关搜索:紧聚焦)
    • ¥15 基于51单片机的厨房煤气泄露检测报警系统设计
    • ¥15 路易威登官网 里边的参数逆向
    • ¥15 Arduino无法同时连接多个hx711模块,如何解决?
    • ¥50 需求一个up主付费课程
    • ¥20 模型在y分布之外的数据上预测能力不好如何解决
    • ¥15 processing提取音乐节奏
    • ¥15 gg加速器加速游戏时,提示不是x86架构
    • ¥15 python按要求编写程序