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)
问题描述
起初该网站运行良好,我安装了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
- 按插入"进入编辑模式
- 向下滚动
- 将/var/www/权限从无"更改为全部"
- 按Esc"
- 写:qw"退出文件.
现在使用以下命令重启apache2服务器
- Press "insert" to get into editing mode
- Scroll down
- Change /var/www/ Permissions from "None" to "All"
- Press "Esc"
- write ":qw" to exit the file.
Now restart the apache2 server with following command
sudo service apache2 restart
这篇关于如何处理 GCP WordPress 错误“此页面无效" example.com 当前无法处理此请求.HTTP 错误 500的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何处理 GCP WordPress 错误“此页面无效" exa
基础教程推荐
- phpmyadmin 错误“#1062 - 密钥 1 的重复条目‘1’" 2022-01-01
- 找不到类“AppHttpControllersDB",我也无法使用新模型 2022-01-01
- 在 CakePHP 2.0 中使用 Html Helper 时未定义的变量 2021-01-01
- 如何在 XAMPP 上启用 mysqli? 2021-01-01
- 如何在 Symfony 和 Doctrine 中实现多对多和一对多? 2022-01-01
- PHP 守护进程/worker 环境 2022-01-01
- 在 yii2 中迁移时出现异常“找不到驱动程序" 2022-01-01
- 使用 PDO 转义列名 2021-01-01
- Doctrine 2 - 在多对多关系中记录更改 2022-01-01
- HTTP 与 FTP 上传 2021-01-01