HTTP ERROR 500

HTTP ERROR 500

by Pamela Taylor -
Number of replies: 6

Hello everyone, I accidentally deleted a plugin and now my site is not working. 

This page isn’t working

lexiaheroes.com is currently unable to handle this request.

HTTP ERROR 500



Average of ratings: -
In reply to Pamela Taylor

Re: HTTP ERROR 500

by Ken Task -
Picture of Particularly helpful Moodlers

Do you remember the plugin name?   Was it an addon or part of core?

Core plugin?

Get code from:
https://download.moodle.org/releases/legacy/
The 3.6.10 version.
Download and unzip locally.
Use ftp/other to upload the folder of the core plugin deleted to the same location in the server folders/files for moodle.

If addon, find plugin at:

https://moodle.org/plugins/

You want to download the version of the plugin compat with your sites version ... a 3.6.x?

Restore the plugin manually.

https://docs.moodle.org/39/en/Installing_plugins

'SoS', Ken


Average of ratings: Useful (1)
In reply to Ken Task

Re: HTTP ERROR 500

by Pamela Taylor -
Hello Ken and thank you, I believe it was an Add On, repository S3. The problem is that I'm no developer and can't get around PHPmyAdmin or Cpanel and can't find the error.

Edit: I'm hosting moodle in A2hosting
In reply to Pamela Taylor

Re: HTTP ERROR 500

by Ken Task -
Picture of Particularly helpful Moodlers

Well, you choose to host a moodle ... along with that comes admin of the Moodle AND admin of the server where you host using tools provided by the hosting provider ... cPanel to be specific with a2hosting.

Don't panic!!!   Focus on what you need to do ... re-install plugin you deleted.

Don't need to a programmer nor know PHPMyAdmin for this ...

Do need to use cPanel to find web server error logs to see what they say about the error 500.

https://www.a2hosting.com/kb/results/eyJyZXN1bHRfcGFnZSI6ImtiXC9yZXN1bHRzIiwia2V5d29yZHMiOiJlcnJvciA1MDAifQ

a2hosting does have a customer area to which you can login to check their Knowledgebase (link above comes from their KB and was a search for 'error 500' a2hosting also has contacts for hosting technical support:

https://my.a2hosting.com/clientarea.php

If the plugin was as you say:

https://moodle.org/plugins/pluginversion.php?id=22710

On the page above there are directions for installing the plugin.  You probably will be using your cPanel's file browser.

https://www.a2hosting.com/kb/cpanel

In poking around your Moodle, think it's a 3.6 version.   Can you verify that? (do you remember).

The plugin link above is supposedly for 3.6 -> 3.9.

'SoS', Ken

Average of ratings: Useful (1)
In reply to Ken Task

Re: HTTP ERROR 500

by Pamela Taylor -
Yes it's the 3.6 version, I uploaded the plugin but the site is still down.

I have also contacted a2hosting and said they're not seeing any problems.

I have gone to the Cpanel and looked on the metrics/error and now I get this:

Latest web server error log messages:
No recent web server errors exist for your domain: lexiaheroes.com
Latest suexec error log messages:
[2020-11-05 12:20:13]: uid: (1767/lexiaher) gid: (1768/lexiaher) cmd: redirect.cgi

In reply to Pamela Taylor

Re: HTTP ERROR 500

by Ken Task -
Picture of Particularly helpful Moodlers

Please share with a2hosting support the following:

https://forums.cpanel.net/threads/redirect-cgi-suexec-http-500.31452/

'SoS', Ken

Average of ratings: Useful (1)
In reply to Ken Task

Re: HTTP ERROR 500

by Pamela Taylor -
Thank you Ken, you are a life saver. Thanks to your input we were able to figure out our problem and it's fixed now.