wordpress · 2009-02-26

wordpress媒体错误 file_exists() [function.file-exists]

在wordpress后台操作[媒体]的时候,出现file_exists() [function.file-exists] is not within the allowed path…..错误的最下方倒是有出现图片,但是导致了浏览的不方便。
google了一下找到原因,是因为迁移博客的时候,目录的改变,路径变化所以导致了错误的发生。
修复步骤:
打开mysql的wp_options表,option_name,upload_path,把路径改为当前的路径,保存再退出就ok了~