无法在我的 wordpress 博客中导入 BlogML.XML [英] unable to import BlogML.XML in my wordpress blog
问题描述
我无法在我的 wordpress 博客中导入 BlogML.XML.它给出以下错误创建 .htaccess 后 ->
I am unable to import BlogML.XML in my word press blog. It giving the following error after creating .htaccess ->
无法将上传的文件移动到/htdocs/blog.myblog.com/wp-content/uploads/2010/12.
以下是我的.htaccess文件的内容-->
The following are the content of my .htaccess file-->
php_value upload_max_filesize 40M
php_value upload_max_filesize 40M
php_value post_max_size 40M
php_value post_max_size 40M
php_value max_execution_time 2000
php_value max_execution_time 2000
php_value max_input_time 2000
php_value max_input_time 2000
推荐答案
我想说的是上传文件夹存在权限问题.您可以使用媒体库上传任何文件(如图像)吗?如果没有,您必须修复权限(很可能是上传文件夹的组).
I would say that there is a permission issue with the uploads folder. Can you upload any file (like an image) using the Media Library? If not, you have to fix the permissions (most probably the group of the upload folder).
要设置正确的权限,请通过 SSH 连接到您的服务器,导航到 wp-content 文件夹并使用以下命令:
To set the correct permissions, connect to your sevrer through SSH, navigate to the wp-content folder and use the following commands:
chgrp GROUP_NAME_OF_APACHE_SERVER -R .
chmod g+w -R .
那应该可以解决上传问题.
That should fix the upload issue.
这篇关于无法在我的 wordpress 博客中导入 BlogML.XML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!