正在查看 2 条回复
-
作者帖子
-
-
2022年4月3日 上午7:05 #22646
想在本地做一个测试站
用 All-in-One WP Migration 备份了整个网站的数据,到本地测试导入的时候总是100%也不还原
-
2022年4月3日 上午7:05 #22647
编辑器不知道为啥上传不了图片只能上传附件了
-
2022年4月3日 上午7:06 #22648
附件也上传不了。。。
-
-
2022年4月3日 下午3:20 #22650
现在可以传附件了,麻烦再贴一遍图吧
-
2022年4月3日 下午4:07 #22652
-
2022年4月3日 下午4:07 #22653
卡在这一上午了
-
2022年4月4日 上午10:03 #22655
f12 看一下网络请求。有可能是出错了,但是程序没做错误处理。
-
2022年4月4日 下午2:24 #22658
-
2022年4月5日 上午12:48 #22662
这不是显示接口 500 错误吗?然后你在 f12 的网络那里,点击这个接口,右侧会有响应值。那个里面包含的是详细的报错信息(前提是你开启 WP 的 Debug 模式),现在你需要把这个响应值贴上来,我们才好判断问题原因。
-
2022年4月5日 上午9:05 #22664
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>500 Internal Server Error</title> </head><body> <h1>Internal Server Error</h1> <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p> <p>Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.</p> <p>More information about this error may be available in the server error log.</p> <p>Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.</p> </body></html>
是这个吗?
-
2022年4月5日 下午10:40 #22667
你似乎没开启 Debug 模式?如果开启的话他会给你显示详细的错误信息,而不只是告诉你产生了 500 错误。
所谓的开启 Debug 模式,指的是你在站点的 wp-config.php 中将 WP_Debug 常量的值更改为 true
-
2022年4月6日 上午7:01 #22670
开DEBUG模式了
-
2022年4月6日 上午7:03 #22671
wp-content目录里也没有debug.log不知道为啥
-
2022年4月6日 上午9:41 #22673
大概率是被某个插件在代码层面禁用了错误显示,这种情况下几乎是没法确定错误原因的。
尝试在这个备份插件的入口文件(入口文件开头会有一大段注释,写明 Plugin Name 等信息)的开头添加如下两行代码强行打开错误显示:
ini_set( 'display_errors', 1 ); error_reporting( E_ERROR | E_WARNING | E_PARSE );
如果还是不行的话就用宝塔的站点导出功能迁移或者换个插件吧。
-
2022年4月6日 上午10:42 #22674
还是一样的内容
我直接拷贝文件吧。。。
-
2022年4月5日 上午9:16 #22665
面板里的错误日志
-
2022年4月5日 上午9:18 #22666
-
2022年4月4日 下午2:27 #22659
-
2022年4月4日 下午2:31 #22660
1
-
-
2022年4月4日 下午1:44 #22656
可以试试直接用宝塔传进去 然后恢复备份
-
-
-
-
作者帖子
正在查看 2 条回复
- 哎呀,回复话题必需登录。