Dreaded PHP message.

Please report any problems you encounter so we can get them fixed.
User avatar
Newcastle George
Posts: 3284
Joined: Wed Dec 05, 2012 3:21 pm
Location: Kotara, Newcastle
Has thanked: 2 times
Been thanked: 8 times

Re: Dreaded PHP message.

Post by Newcastle George »

It happened again about 20 minutes ago when I tried to gain access via my laptop.

George
George, Julie, Leonie & Sean - Kotara, Newcastle
DIY 11.5M 1979 Bedford, Nissan/UD FE6T motor
User avatar
BruceS
Site Admin
Posts: 9304
Joined: Thu Nov 22, 2012 7:32 pm
Location: Mannum, SA, 5238
Has thanked: 36 times
Been thanked: 36 times

Re: Dreaded PHP message.

Post by BruceS »

Is anyone else on here know a bit about coding?
VicA or Wimmera Jack?
I think I've found the small 'config' file that is read each time someone 'requests' a website page.
In that file on a lot older version it actually instructs it to read the version & if not up to or above a certain version, return an error & to not display the page.
This new updated version has that part removed but I suspect it still does it.
I'm thinking of entering an instruction to not report errors & to still display the page.
*******************
BruceS
Mannum, SA

********************
Wimmera Jack
Posts: 31
Joined: Tue Dec 04, 2012 9:31 am
Location: Stawell
Been thanked: 2 times

Re: Dreaded PHP message.

Post by Wimmera Jack »

Know nothing about code Bruce.
When the log-in fails, it suggests I am using an old version of the php thing and suggests I upgrade.
Did a search and they want dollars for the download and that was as a trial.
I have no problems on my desktop and only sometimes on my other laptop.
It loaded first time on the this more suspect laptop just now.

Regards

John.
John
User avatar
VicA
Posts: 194
Joined: Sun Apr 14, 2013 5:35 pm
Location: Sale Victoria
Has thanked: 4 times

Re: Dreaded PHP message.

Post by VicA »

Same here Bruce , out of my league. The only thing I can offer is to chat with my son who does a lot of programming.
I won't catch up with him for a day or two though.
cheers
Vic
User avatar
BruceS
Site Admin
Posts: 9304
Joined: Thu Nov 22, 2012 7:32 pm
Location: Mannum, SA, 5238
Has thanked: 36 times
Been thanked: 36 times

Re: Dreaded PHP message.

Post by BruceS »

Just in case you do follow it up Vic .....

When a request is forwarded. (hit a page) Along the line a file called "startup.php" is involved.
Part of this file contains the following code...

<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/

/**
*/
if (!defined('IN_PHPBB'))
{
exit;
}

// Report all errors, except notices and deprecation messages
$level = E_ALL & ~E_NOTICE & ~E_DEPRECATED;
error_reporting($level);

/**
* Minimum Requirement: PHP 7.2.0
*/
if (version_compare(PHP_VERSION, '7.2.0', '<'))
{
die('You are running an unsupported PHP version (' . PHP_VERSION . '). Please upgrade to PHP 7.2.0 or higher before trying to install or update to phpBB 3.3');
}


The part we're interested in is the version check & then if not 7.2.0 or above 'die' & issue the notice people are seeing.
Either it is seeing the wrong version at times or indeed the website hosting is sometimes dropping to below that 'level'.
I suspect I can put a 'tild' before the E_ALL to turn this reporting off. (A tild is ~)
I'll wait to see if the error rears it's head again before I test it.
Be turning off the checking it might still not produce the site any way.
*******************
BruceS
Mannum, SA

********************
RobertNotBob
Posts: 2261
Joined: Fri Jul 28, 2017 9:03 am
Location: Adelaide, SA
Been thanked: 6 times

Re: Dreaded PHP message.

Post by RobertNotBob »

Done it a few times to me this morning Bruce
IMG_7029.jpeg
You do not have the required permissions to view the files attached to this post.
pet-els
Posts: 2153
Joined: Wed Dec 05, 2012 10:16 pm

Re: Dreaded PHP message.

Post by pet-els »

This morning Bruce.

PeterH,
PeterH
User avatar
Keith Morris
Posts: 2569
Joined: Fri Dec 28, 2012 11:09 am
Location: WYALKATCHEM, WA
Has thanked: 50 times
Been thanked: 2 times

Re: Dreaded PHP message.

Post by Keith Morris »

"tanks" here---
Bruce, I am back without any difficulty this morning. The system wanted me to change my password, but eventually let me in without any new password. It must be ok now because it has let me connect.
Thanks, Keith
I'm now 87 years old, having experienced another birthday, and I'm still living in WA, single (gave up looking), white hair, no teeth, no money, no worries.
I plan to have another birthday next year.
User avatar
Newcastle George
Posts: 3284
Joined: Wed Dec 05, 2012 3:21 pm
Location: Kotara, Newcastle
Has thanked: 2 times
Been thanked: 8 times

Re: Dreaded PHP message.

Post by Newcastle George »

No problems earlier this morning however, 10 minutes ago it raised its' ugly head again.

George
George, Julie, Leonie & Sean - Kotara, Newcastle
DIY 11.5M 1979 Bedford, Nissan/UD FE6T motor
Paramountcruiser
Posts: 176
Joined: Wed Jan 15, 2014 12:40 pm
Location: Fraser Coast Qld

Re: Dreaded PHP message.

Post by Paramountcruiser »

Newcastle George wrote: Sun Nov 26, 2023 10:42 am No problems earlier this morning however, 10 minutes ago it raised its' ugly head again.

George
Same here
Neil

Return to “Report Problems”