我遇到了一些我在成爲網站站長時繼承的腳本問題。這是我們得到的錯誤:Filemtime錯誤?
Warning: filemtime() [function.filemtime]: stat failed for /home/public_html/site/modules/chat/cache/locations/2_0.tch in /home/public_html/site/modules/chat/areas/chat.window.php on line 101
在這個文件中一行101,我有:
$tch = filemtime(PATH . 'modules' . S . 'chat' . S . 'cache' . S . 'locations' . S . $get_['location'] . '_' . $get_['zone'] . '.tch');
現在這個.tch文件chmod'd到777,我也嘗試過在755.沒有骰子。 'S'是一個目錄分隔符,FYI。
任何幫助表示讚賞。我搜索和搜索....找到答案沒有運氣。
您是否檢查過當時是否存在文件2_0.tch? – chill0r 2013-03-26 19:42:33
是的,它確實存在。但是,它是空白的......這使我認爲在寫它寫入該文件時會有一些問題。再次,我對此的熟悉程度幾乎爲零,所以我可能會錯。 – 2013-03-26 19:44:18