/var/www/html/wordpress的操作都会发生相同的错误。我已经试过了这里的建议,也尝试过gpasswd -a www-data sudo,什么都没有.我现在不知道该怎么办了。/Edit2我只是在学习这教程,就像他从02:30到03:30:在/wp-content/themes/mytheme**中添加了一个文件夹,在mytheme中添加了一个style.css和index.php。当我进入仪表板时,它不是自动添加的,所以我尝试手动上传theme.zip。现在我收到了错误消息“无法创建目录”。我已经将** chmod -R 777设置为wordpress文件夹,但仍有以下内容
ls -la /var/www/html/wordpress的产出**:**
lrwxrwxrwx 1 fabio www-数据20 1月4日16:45 /var/www/html/wordpress -> /usr/share/wordpress
ls -ld /usr/share/wordpress的产出**:**
drwxrwxrwx 5 www-数据根目录4096 1月8日15:46 /usr/share/wordpress
在我的主题文件夹中,我只得到了index.php和style.css**,这就是它们是atm:**
index.php**:**
<h1>Hello, world!</h1>style.css**:**
/*
Theme Name: ThemeTutorial
Theme URI: http://github.com/FabioNevesRezende
Author: fabiotk
Author URI: http://github.com/FabioNevesRezende
Description: Descrição do tema
Version: 1.0
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: twentythirteen
Este tema foi criado por Fábio Neves Rezende
*/我放那些github链接只是因为我没有其他链接可放,我认为这不会造成任何错误,对吗?
发布于 2016-01-05 23:36:49
您的style.css文件顶部是否有类似的内容,可定制为您的主题?
/*
Theme Name: ! Startups in Boston
Theme URI: http://bostonstartupsguide.com/
Author: Jay Neely
Author URI: http://socialstrategist.com
Description: Theme for BostonStartupsGuide.com. Initially built using Whiteboard Framework (http://whiteboardframework.com), redesigned using HTML 5 Boilerplate and inspired by 960.gs.
Version: 1.0
*/https://wordpress.stackexchange.com/questions/213784
复制相似问题