简体   繁体   English

Wordpress 升级失败。 管理面板不工作

[英]Wordpress Upgrade failed. Admin panel not working

I wanted to Upgrade the Wordpress installation, I clicked on the Upgrade to latest version link from my WP ADMIN panel and post that it has asked me to give FTP details for the Update for which FTP details were entered and Upgrade started.我想升级 Wordpress 安装,我从我的 WP ADMIN 面板单击升级到最新版本链接并发布它要求我提供 FTP 详细信息,以获取 ZC728A49363C9A93A43A7E7F2 的更新的详细信息。 After few minutes I got Below ERROR and Now WP ADMIN is not loading.几分钟后,我得到了错误,现在 WP ADMIN 没有加载。 I tried to clear browser cache and cookies but still not working.我试图清除浏览器缓存和 cookies 但仍然无法正常工作。 Please Help in resolving the issue.请帮助解决问题。

There has been a critical error on your website. Please check your site admin email inbox for instructions.

Learn more about debugging in WordPress.

I have further tried to debug and added below code in wp-config but i am not getting any errors on the page neither in the path /wp-content/debug.log file is there.我进一步尝试在 wp-config 中调试并添加以下代码,但我在页面上没有收到任何错误,路径 /wp-content/debug.log 文件也不存在。

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define( 'SCRIPT_DEBUG', true );

Reference: https://wordpress.org/support/topic/wordpress-upgrade-failed-wp-admin-panel-not-working/参考: https://wordpress.org/support/topic/wordpress-upgrade-failed-wp-admin-panel-not-working/

Dear users, please use manual update if you can't update automatically.亲爱的用户,如果不能自动更新,请使用手动更新。

See here:看这里:

Updating WordPress更新 WordPress

You can do it with cpanel:你可以用cpanel做到这一点:

  1. Simple copy wp-content & wp-config.php to a directory out of public_html (for example, create a folder by name “backupold” and put files in it)简单地将 wp-content & wp-config.php 复制到 public_html 之外的目录(例如,创建一个名为“backupold”的文件夹并将文件放入其中)
  2. Download latest version https://wordpress.org/latest.tar.gz下载最新版本https://wordpress.org/latest.tar.gz
  3. Upload it in your wordpress directory (output file will be in public_html/wordpress for example)将其上传到您的 wordpress 目录(例如,输出文件将在 public_html/wordpress 中)
  4. Copy (backuped contents) “wp-content” folder & “wp-config.php” file to “wordpress” folder & replace将(备份内容)“wp-content”文件夹和“wp-config.php”文件复制到“wordpress”文件夹并替换
  5. Move all files and folders from “wordpress” folder to your site directory (by default, public_html) & replace.将所有文件和文件夹从“wordpress”文件夹移动到您的站点目录(默认情况下,public_html)并替换。

Now enjoy!现在享受吧!

Warning: do a backup before, and do as i say enter code here警告:之前做一个备份,然后按照我说的enter code here

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

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