[phpBB Debug] PHP Warning

Current Version: 2.3.0
Released: 2023-03-19
Forum rules
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.
Post Reply

Topic author
Karado58
Active Member
Posts: 11
Joined: 7. September 2023 07:49
phpBB.com User: Karado58

[phpBB Debug] PHP Warning

Post by Karado58 »

Hello,

Portal page has warning above, plus nothing showing under Top Posters, or Statistics, search box misaligned, calendar larger fonts.
Please see attachments

Started getting this error, without warning and without any changes to the site at least 3 days prior.
Someone know what caused this; database corruption, site hacked?
Anyway to fix it, and keep it from happening again?

Thank you! :)

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/board3/portal/modules/statistics.php on line 102: Division by zero
[phpBB Debug] PHP Warning: in file [ROOT]/ext/board3/portal/modules/statistics.php on line 103: Division by zero
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
Image
User avatar

Kirk
Dev
Posts: 1941
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: [phpBB Debug] PHP Warning

Post by Kirk »

Hi
What version of pure PHP and phpBB are you running?
Are there already posts in your forum?
If not, please create two test posts.
Gruß Udo

Topic author
Karado58
Active Member
Posts: 11
Joined: 7. September 2023 07:49
phpBB.com User: Karado58

Re: [phpBB Debug] PHP Warning

Post by Karado58 »

Hello Kirk,

Weird, Statistics and Top Posters mysteriously are now showing data. Search box still misaligned and Calendar still large font. What's going on??!!

Hosting support, told me forum had been hacked, and needed to recreate from scratch.
Admin password was 25 mixed characters, since then, made it 30 mixed characters!

PHP version: 7.4.33
Board version: 3.3.10

Just created 2 test posts.

Forum url: https://www.dakotanative.com
User avatar

Kirk
Dev
Posts: 1941
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: [phpBB Debug] PHP Warning

Post by Kirk »

I cannot reproduce this problem. The admin password has nothing to do with it.
If you deactivate the "Statistics" module, does the error message still appear?
Gruß Udo

Topic author
Karado58
Active Member
Posts: 11
Joined: 7. September 2023 07:49
phpBB.com User: Karado58

Re: [phpBB Debug] PHP Warning

Post by Karado58 »

The reason I mentioned the secure password, was because hosting support said forum was hacked.

Deactivated Statistics. error goes away, forum looks normal!!

So it must be the DB?!
Last edited by Kirk on 24. September 2023 21:28, edited 1 time in total.
Reason: Removed unnecessary complete quote
User avatar

Kirk
Dev
Posts: 1941
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: [phpBB Debug] PHP Warning

Post by Kirk »

Please do not always reply with a full quote!

Deactivate the portal (incl. Delete data), delete the portal EXT from the server via FTP. Download the version from here, unzip it and upload it again and install the portal.
Gruß Udo

Topic author
Karado58
Active Member
Posts: 11
Joined: 7. September 2023 07:49
phpBB.com User: Karado58

Re: [phpBB Debug] PHP Warning

Post by Karado58 »

Hi Kirk,

Followed your exact steps for removal.
Same exact error, calendar fonts large size, search bar misaligned, Recent topics large font size. All same as before.

Statistics module is showing data.

Topic author
Karado58
Active Member
Posts: 11
Joined: 7. September 2023 07:49
phpBB.com User: Karado58

Re: [phpBB Debug] PHP Warning (FIX FOUND)

Post by Karado58 »

Hello Kirk,

Found fix by Mark, Development Team Leader at phpBB.

phpBB ACP, General, Resynchronise statistics

Thanks for trying to help!!
User avatar

Kirk
Dev
Posts: 1941
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: [phpBB Debug] PHP Warning

Post by Kirk »

Thanks for the feedback. :)
The Resynchronise statistics would have been my second tip.
Gruß Udo
Post Reply

Return to “Board3 Portal 2.3.x - English Support”