服务器显示旧版本的站点 [英] Server displays old version of site

查看:41
本文介绍了服务器显示旧版本的站点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.

我有一个站点(使用 zend 框架和 smarty 创建)托管在带有 centOS 5.2 的虚拟机(vmware)上.一切正常运行了大约 2 个月,但现在出现了问题.我正在尝试修改一些 .tpl 文件,在我保存并上传到服务器(虚拟机上的那个)之后,服务器给了我旧版本的页面.

I have a site (created with zend framework and smarty) hosted on a virtual machine (vmware) with centOS 5.2. Everything worked fine for about 2 month, but a problem occurred now. I am trying to modify some .tpl files and after I save and upload on server (the one on the virtual machine) the server gives me the old version of the page.

已清除缓存、更改浏览器等...与浏览器无关.我在不同的电脑上试过,结果都一样.

Already cleared cache, change browser, etc... is not browser related. I tried on different computers and all have the same result.

我也检查了上传的文件,它是新的.

I also checked the uploaded file and it is the new one.

缓存被禁用.

如果我删除文件,我会收到错误消息(这是正常的).如果我删除文件然后上传新文件,我仍然会得到旧版本.

If I delete the file I get the error (what is normal). If I delete the file then upload the new file I still get the old version.

我删除了文件中的所有内容(直接在上传的文件上 - ftp)我仍然得到旧版本.

I deleted everything inside the file (directly on the uploaded file - ftp) I still get the old version.

我没有任何其他想法,因此将不胜感激.

I don't have any other ideas so any help would be appreciated.

推荐答案

重启网络服务器 ?- 检查以确保删除所有缓存(Zend 和 Smarty)Smarty 也有缓存设置,也许可以尝试关闭它

Restart webserver ? - Check to ensure all caches deleted (Zend and Smarty) Smarty does have a cache setting too, maybe try turning that off

这篇关于服务器显示旧版本的站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆