Question

Wordpress page not loading, php error instead

Hi there,

I’ve tried to install a certificate on my Wordpress droplet. Since then when I go to my URL (droplet in Wordpress), I’m getting the error below instead.

My URL is http://spieltagsgedichte.de

Who can help, please?

Many thanks

Felix


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Also:

felix@wordpress-s-1vcpu-1gb-fra1-01:~$ ps auxf | grep apache felix 1903 0.0 0.0 8156 656 pts/0 S+ 18:00 0:00 | _ grep --color=auto apache root 865 0.0 0.7 11204 7604 ? Ss 17:56 0:00 /usr/sbin/apache2 -k start www-data 876 0.0 0.5 757340 5328 ? Sl 17:56 0:00 _ /usr/sbin/apache2 -k start www-data 877 0.0 0.7 757468 7844 ? Sl 17:56 0:00 _ /usr/sbin/apache2 -k start

–> does this look correct?

felix@wordpress-s-1vcpu-1gb-fra1-01:~$ apachectl -t AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message

–> could this be the cause of the issue?

alexdo
Site Moderator
Site Moderator badge
January 5, 2023

Hello @felixwenzel73

It appears that the web service is down.

If you’ve made changes to the virtual host configuration files and then restarted Apache/Nginx and there was a syntax error in the config files this will return an error in the log files.

For example, to view the last twenty lines of the error log using tail, run the following command:

  1. sudo tail -n 20 /var/log/apache2/error.log

Here is a link to an answer on how to troubleshoot common Nginx problems:

https://www.digitalocean.com/community/questions/how-to-troubleshoot-common-nginx-issues-on-linux-server

Regards