The requested URL was not found on this server.

This is the right place to report general bugs, make suggestions or ask for help.
carl078
Posts: 15
Joined: Sun Oct 02, 2022 5:04 pm

Re: The requested URL was not found on this server.

Post by carl078 » Mon Oct 10, 2022 5:58 pm

fraenkiman wrote: Mon Oct 10, 2022 5:02 pm Hmm, strange. From other sources I know that FlatPress runs on PHP 8.0. I still use PHP 7.4.30 from the Raspberry OS repository.

It might make sense to uninstall the server and set it up again. I am happy to provide you with my notes.

These include Apache FPM+MySQL (Maria-DB) PHP 7. I assume that although my notes are for PHP 7.4, they will also apply to PHP 8.0.

I would be happy if you would write to me with the results of the reinstallation.

Best Regards
Frank
Thank you for your reply.
I opened your notes and I think that I need something easier.
I think it would be useful to try with php7 and I don't think I have to follow the steps with mysql.

One difference between the RPI where it works and the RPI where it doesn't work opening correctly the page is that the first one runs Dietpi and the second one runs original Raspbian buster

User avatar
fraenkiman
Posts: 210
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: The requested URL was not found on this server.

Post by fraenkiman » Mon Oct 10, 2022 7:01 pm

Hello carl078,

I've merged my notes a bit (no MySQL, no SSL). Try PHP 7.4 on Raspberry OS (Bullseye). Later you can always install PHP 8.0 and switch between the two versions.

Best regards
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

carl078
Posts: 15
Joined: Sun Oct 02, 2022 5:04 pm

Re: The requested URL was not found on this server.

Post by carl078 » Mon Oct 10, 2022 8:00 pm

fraenkiman wrote: Mon Oct 10, 2022 7:01 pm Hello carl078,

I've merged my notes a bit (no MySQL, no SSL). Try PHP 7.4 on Raspberry OS (Bullseye). Later you can always install PHP 8.0 and switch between the two versions.

Best regards
Frank

Hello, I think that your notes doesn't specify php7, therefore php8 was installed and when I executed the last command following ERROR appears:

ERROR: Module php7.4 does not exist!
ERROR: The following modules depend on mpm_prefork and need to be disabled first: php8.1
Module mpm_worker already disabled


I also add that I can't install Bullseye and this is the version I have:

PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster

carl078
Posts: 15
Joined: Sun Oct 02, 2022 5:04 pm

Re: The requested URL was not found on this server.

Post by carl078 » Mon Oct 10, 2022 8:14 pm

Houston we have a big problem..
Now, I can't see any other of the webpages I had in /var/www/html... :(

carl078
Posts: 15
Joined: Sun Oct 02, 2022 5:04 pm

Re: The requested URL was not found on this server.

Post by carl078 » Mon Oct 10, 2022 8:48 pm

carl078 wrote: Mon Oct 10, 2022 8:14 pm Houston we have a big problem..
Now, I can't see any other of the webpages I had in /var/www/html... :(
UPDATE! Now it works :) Finally I can see the blog correctly! Thank you! It looks I had to restart apache... But it's not really clear to me.. :/

User avatar
fraenkiman
Posts: 210
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: The requested URL was not found on this server.

Post by fraenkiman » Mon Oct 10, 2022 10:43 pm

Hello carl078,

I'm glad to read that Apache with PHP 8.1 is now running on Buster - and so is FlatPress.

That probably means for me when I'm on vacation again: backup, update.

Don't forget to test FlatPress version 1.3.dev [smartyupdate] extensively and report any abnormalities.

It is best to add the following to index.php and admin.php from line 2:

Code: Select all

	ini_set('display_errors', 1);
	ini_set('display_startup_errors', 1);
	error_reporting(E_ALL);
This will write errors to the /var/log/syslog file, which you can then report.

Best regards
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 38 guests