[Joomla] Delete failed: ‘5d3370c8cf39dcebf24c.php’

在 Joomla 後台刪除文章之類的操作, 如果遇到類似以下訊息:

Delete failed: ‘5d3370c8cf39dcebf24c.php’

解法:

(前提假設1: web server 是 apache, 且 apache user/group 是 apache/apache)

(前提假設2: Joomla 安裝在 …/Joomla/ 目錄)

cd …/Joomla/cache/ ; chown apache.apache -R *
cd …/Joomla/ ; chmod 1777 cache/
cd …/Joomla/administrator/cache/ ; chown apache.apache -R *
cd …/Joomla/administrator/ ; chmod 1777 cache/

註1: 如果無法 telnet 或 ssh 去 login server 的話, 上面的 1777 屬性可以用 FTP 或其他工具改成 777)

註2: 如果可以telnet 或 ssh 去 login server 的話, 也可以直接開放 other 的 讀 寫 執行 (rwx) 權限即可, 即 chmod o+rwx cache/ 之類的操作)

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.