zrunner
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WSoD in different pages + debug not workingThanks. I’ll keep these info somewhere, if I need it later. Now I just hope everything will go right!
Forum: Fixing WordPress
In reply to: WSoD in different pages + debug not workingTo simplify the structure of my folders and return to a more classic state, I moved all my wordpress files to the /var/www/html/minecon folder, so that I only have one folder for the site. After modifying the index.php accordingly, I noticed that even the permalink generation, with the.htaccess, works again!
I still had a problem of 404 for the api and articles, but modifying the permalinks on the ‘simple’ structure (?p=123) fixed these errors. From what I see, everything is working perfectly! I put the Avira theme back to test it, and I still have no error. I think that not having a custom url is a lesser evil, compared to not having a site at all 😀
I would like to take this opportunity to ask one last question, is it really necessary to update php? I have version 7.0.33, and I see that version 7.2 is available, but I have no idea how to update it (probably a complete uninstall-reinstall?)
In any case, a big thank you for your help, I was starting to despair of my case x)
Forum: Fixing WordPress
In reply to: WSoD in different pages + debug not workingEdit: actually I cannot even publish or save any article, which is pretty annoying for a blog… Plus I noticed that the default wordpress post returns a 404 page when I try to access it from the home page. No idea why
Forum: Fixing WordPress
In reply to: WSoD in different pages + debug not workingThank @bcworkz, I tried some things, here’s my work:
The php user is indeed www-data (I checked it via
<?php echo exec('whoami'); ?>in a php page).
According to thestatcommand, the owner of the folders is www-data, in the name of the same group (name verified via thegroups www-datacommand), and all rights are in 644 for files, 755 for folders. Besides, in which folder is this file supposed to be created? Because it always returns me an error of missing rights…For themes and plugins I said in my first message that I had disabled them all, with the default theme, so nothing on that side.
I found the php.ini file, as well as the error section, but the line
error_log = syslogwas commented. I added one just below by specifying a path, then restarted apache2, and now the theme preview works again. But since the/var/log/apache2/error.logfile was almost empty, I deleted my line in php.ini, restarted apache2, and everything still works. I assume it was the restart that fixed this problem.I went back to the “Site Health Status” page, and the REST API error is still present. More precisely “The requested URL /minecon/wp-json/wp/v2/types/post was not found on this server.”. By doing some tests I noticed that this url address was wrong, and that maybe that’s why the preview of the articles didn’t work (since the error is similar); the real address is /minecon/index.php/wp-json/wp/v2/types/post. But no idea how to fix it….
Thanks again for your help, which has already helped me unlock one of the white screens!