html - WordPress 不显示主题

标签 html css wordpress wordpress-theming

内部服务器错误 服务器遇到内部错误或配置错误,无法完成您的请求。

请联系服务器管理员,并告知他们错误发生的时间,以及您可能执行的任何可能导致错误的操作。

有关此错误的更多信息可能在服务器错误日志中可用。

最佳答案

您可以通过 3 种方式增加内存限制,

编辑您的 wp-config.php 文件

define('WP_MEMORY_LIMIT', '256M'); // if this is not in your wp-config file.

编辑您的 PHP.ini 文件

如果您有权访问 PHP.ini 文件,请更改 PHP.ini 中的行

memory_limit = 256M ; Maximum amount of memory a script may consume (64MB) //If your line shows 64M try 256M:

编辑您的 .htaccess 文件

如果您无权访问 PHP.ini,请尝试将其添加到 .htaccess 文件中:

 php_value memory_limit 256M

希望对您有所帮助。

关于html - WordPress 不显示主题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54019733/

相关文章:

CSS 验证器 - Ruby

php - 使用post meta从wordpress中的自定义表中获取值

html - 文本全宽背景没有css但在Wordpress中只有html

html - IE8 中的 CSS div 宽度

html - Bootstrap 3.1.0 导航栏上的全宽输入组

css - 如何使用 CSS 隐藏元素一段时间?

html - 保持水平列表项居中对齐的最佳语义方式是什么?

php - 如何在 WordPress/WooCommerce 3+ 中将自定义字段添加到评论表单

html - 使用 HTML 和 CSS 内联添加多个图像

html - 如何等于高度图像?