header information - A lot of errors

This is the right place to report general bugs, make suggestions or ask for help.
Post Reply
cmarangon
Posts: 17
Joined: Thu Feb 03, 2022 6:35 pm
Location: Curitiba - Brazil
Contact:

header information - A lot of errors

Post by cmarangon » Sun Jun 23, 2024 3:41 pm

Hello!

I have moved my site to another server and I get the errors below.


Site adress:
http://areaseg.com/flat/

Please help me!

Errors report:
Image

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

Re: header information - A lot of errors

Post by fraenkiman » Sun Jun 23, 2024 11:01 pm

Hello cmarangon,

that is a strange error pattern. You can try deleting the header already set by PHP. However, this only works if the header has not yet been sent. To do this, open the defaults.php file in the blog root directory. In the second line, insert the following:

Code: Select all

if (!headers_sent()) {
	foreach (headers_list() as $header) {
		header_remove($header);
	}
}
If this does not work, check the server configuration (apache.conf or nginx.conf). The header may already be defined here. If it is an Apache web server, rename existing .htaccess files as a test (e.g. dot_htaccess).

It may also make sense to update from FlatPress 1.2.1 to FlatPress 1.3.1.
https://www.flatpress.org/download

With best regards
Frank
πŸ“ Project blogβ€ƒβ€ƒπŸ“– Docsβ€ƒβ€ƒπŸ˜ Mastodonβ€ƒβ€ƒπŸ“œ Forum RSS feedβ€ƒβ€ƒπŸ“œ Project blog RSS feedβ€ƒβ€ƒπŸ± GitHub  ❀️ Donate

My :de: FlatPress-Blog: https://frank-web.flatpress.org, synced with :elephant: Mastodon

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

Re: header information - A lot of errors

Post by fraenkiman » Sun Jun 23, 2024 11:54 pm

I have one more idea: check whether the problem also occurs with another theme.
πŸ“ Project blogβ€ƒβ€ƒπŸ“– Docsβ€ƒβ€ƒπŸ˜ Mastodonβ€ƒβ€ƒπŸ“œ Forum RSS feedβ€ƒβ€ƒπŸ“œ Project blog RSS feedβ€ƒβ€ƒπŸ± GitHub  ❀️ Donate

My :de: FlatPress-Blog: https://frank-web.flatpress.org, synced with :elephant: Mastodon

cmarangon
Posts: 17
Joined: Thu Feb 03, 2022 6:35 pm
Location: Curitiba - Brazil
Contact:

Re: header information - A lot of errors

Post by cmarangon » Mon Jun 24, 2024 3:46 am

Hello!

I sincerey don't know what happened.
Site is fine now. :)
Maybe some upgrade on the server!

http://areaseg.com/flat

Best regards,

Carlos

User avatar
Arvid
FlatPress Coder
Posts: 630
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: header information - A lot of errors

Post by Arvid » Mon Jul 01, 2024 5:15 pm

Awesome, thanks for letting us know :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest