1. 程式人生 > >Zend Studio 開發Resource is out of sync with the file system的解決辦法

Zend Studio 開發Resource is out of sync with the file system的解決辦法

SVN上down下來的專案,本地執行卻無法顯示頁面,經過嘗試給模板檔案改名就能迴避這個問題。

定位到是模板快取的問題,於是清模板快取。

但是發現ThinkPHP專案Runtime目錄下的快取檔案在刪除時候會提示:

Resource is out of sync with the file system

原因是由於在不同的檔案系統之間修改造成檔案系統不同步。

解決方法是在Zend左側的專案上右鍵-Refresh。或者F5重新整理檔案即可。

模板名字不用改名,再試,頁面可正常開啟。問題解決

建議在設定中設為自動重新整理,自動同步檔案修改。操作方法:Window->Preferences->General->Workspace選擇Refresh on access