【WordPress的505错误】

安装wordpress时经常遇到505错误,下面列举出7个常见的解决方法。

问题1:
安装wordpress时出现505错误的原因一般有两个
1.wordpress文件夹及其子文件权限应该为755,如果为777则可能出现这种错误
2..htaccess里边的规则出现错误。

问题2:
Warning: Cannot modify header information – headers already sent by (output started at D:wwwrootwp-config.php:1) in D:wwwrootlwwwrootwp-admininstall.php on line 12
可能出现这种错误的原因为:手动修改wp-config.php文件
解决方法有:1.直接安装不修改
2.用editplus等编辑器修改不要用记事本
3.把wp-config.php这个文件另存为ANSI格式

问题3
Error establishing a database connectionThis either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.

* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?

If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
查找问题原因:正如英文中所说的“用户名密码是否正确”“hostname是否正确(一般为localhost)”“数据库服务是否正常”
问题4:
ERROR: that isn’t a valid e-mail address. E-mail addresses look like: username@example.com
邮件格式错误。

问题5:
WordPress database error: [Field ‘option_description’ doesn’t have a default value]
INSERT INTO wp_options (option_name, option_value, autoload) VALUES (‘siteurl’, ‘http://www.xxxxx.com’, ‘yes’)
清空数据库后重新安装

问题6:
Warning: ini_get() has been disabled for security reasons in /data/examle/www/wp-settings.php on line 27
这样的错误。
空间不支持ini_get().

问题7:
Warning: Unexpected character in input: ” (ASCII=92) state=1 in D:wwwwordpresswp-config.php on line 4
解决方法可参照问题2

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享
评论 共37条
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片
    • 头像the weight0
    • 头像action voip free download0
    • 头像wyniki za zywo0
    • 头像bet at home srbija0
    • 头像bet at home pl0
    • 头像Hosting Reviews0
    • 头像newegg code0
    • 头像personal loan0
    • 头像videos divertidos0
    • 头像filipino recipes0
    • 头像RaleOribeFare0
    • 头像ghd straighteners0
    • 头像竹下无为梦0
    • 头像小可人0
    • 头像xyz0
    • 头像Code之行人0
    • 头像Solo0
    • 头像书香阁0
    • 头像七叶草0
    • 头像朵未0
    • 头像德意0
    • 头像joyla0
    • 头像星星之火0
    • 头像秋上书0
    • 头像园林素材0
    • 头像创享·生活0
    • 头像david0
    • 头像蕾米莉亚0
    • 头像ixwebhosting中文0
    • 头像ugg boot0
    • 头像提供交通电子眼数据0
    • 头像❤•终于°0
    • 头像老马0
    • 头像BoKeam0
      • 头像三叶草0