如何处理 GCP WordPress 错误“此页面无效" example.com 当前无法处理此请求.HTTP

How to deal with GCP WordPress error quot;This page isn’t working example.com is currently unable to handle this request. HTTP ERROR 500(如何处理 GCP WordPress 错误“此页面无效 example.com 当前无法处理此请求.HTTP 错误 500) - IT屋-程序员软
本文介绍了如何处理 GCP WordPress 错误“此页面无效" example.com 当前无法处理此请求.HTTP 错误 500的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

起初该网站运行良好,我安装了WordPress 一体化迁移插件"并将我的电影 wordpress 网站迁移到托管在谷歌云平台"的域.到这里一切正常,但是当点击一个帖子时,它重定向到一个空页面,上面写着找不到页面".我开始在 Wordpress 仪表板的WordPress 编辑器"选项中探索不同的东西,但没有任何效果,一天后网站完全关闭.我遇到的错误如下:此页面无效 watchlatestmovie.com 目前无法处理此请求.HTTP ERROR 500 如何摆脱?

At first the site was working pity fine i installed "WordPress all in one migration Plugin" and migrated my movies wordpress website to the domain am hosting at "Google Cloud Platform". Till here every thing was working fine, but when a post was clicked it redirected to an empety page saying "The page not found". I started exploring different things within "WordPress Edittor" option from Wordpress Dashboard but nothing worked, and after a day site was completely down. The error am having is as follow: This page isn’t working watchlatestmovie.com is currently unable to handle this request. HTTP ERROR 500 How to get out of it?

推荐答案

我得到了解决方案,是apache2.conf中的文件权限错误解决方法如下:在命令行中执行以下命令

I got the solution, it was a file permission error in apache2.conf Here is the solution: execute the following command in command line

sudo vi /etc/apache2/apache2.conf

  1. 按插入"进入编辑模式
  2. 向下滚动
  3. 将/var/www/权限从无"更改为全部"
  4. 按Esc"
  5. 写:qw"退出文件.
  6. 现在使用以下命令重启apache2服务器

  1. Press "insert" to get into editing mode
  2. Scroll down
  3. Change /var/www/ Permissions from "None" to "All"
  4. Press "Esc"
  5. write ":qw" to exit the file.
  6. Now restart the apache2 server with following command

sudo service apache2 restart

这篇关于如何处理 GCP WordPress 错误“此页面无效" example.com 当前无法处理此请求.HTTP 错误 500的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)