简体   繁体   English

尝试通过 wp-admin 登录的 Wordpress 错误

[英]Wordpress error trying to login via wp-admin

I made a website in Wordpress and used a free hosting service because we were two guys working on it.我在 Wordpress 中创建了一个网站,并使用了免费托管服务,因为我们是两个人一起工作。 Now my client has finally bought the domain and the hosting and forwarded me the account information.现在我的客户终于购买了域名和主机,并将帐户信息转发给了我。

So I created the database, imported the other one (changed the URLs and stuff), uploaded the files.所以我创建了数据库,导入了另一个(更改了 URL 和内容),上传了文件。 The website works perfectly but when I try to access the wp-admin area, it prompts me for the username and password and after I hit enter it hits me with this error:该网站运行良好,但是当我尝试访问 wp-admin 区域时,它提示我输入用户名和密码,在我按 Enter 键后,它会出现以下错误:

Warning: Cannot modify header information - headers already sent by (output started at /home/rrozc21/public_html/wp-includes/class-phpass.php:483) in /home/rrozc21/public_html/wp-includes/pluggable.php on line 1315

I get this error 4 times on lines: 1315, 1317, 1319 and 1343.我在 1315、1317、1319 和 1343 行上收到 4 次此错误。

I have no PHP knowledge and don't know how to fix this.我没有 PHP 知识,不知道如何解决这个问题。 I'm a web designer, not a programmer.我是网页设计师,不是程序员。

You just check:您只需检查:

  1. The problem is likely caused by a plugin (since pluggable.php is involved).问题很可能是由插件引起的(因为涉及 pluggable.php)。 Try deactivating them one by one at a time.尝试一次一个地停用它们。

  2. or may you have gotten some text or whitespace (spaces, newline) before the opening PHP tag or after the closing PHP tag in your theme's functions.php file.或者您可能在主题的functions.php 文件中的PHP 开始标记之前或PHP 结束标记之后获得了一些文本或空格(空格、换行符)。 There can't be a single character before or after those tags.在这些标签之前或之后不能有单个字符。

may this help....这可能有帮助....

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM