It happened again about 20 minutes ago when I tried to gain access via my laptop.
George
Dreaded PHP message.
-
- 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.
George, Julie, Leonie & Sean - Kotara, Newcastle
DIY 11.5M 1979 Bedford, Nissan/UD FE6T motor
DIY 11.5M 1979 Bedford, Nissan/UD FE6T motor
-
- Site Admin
- Posts: 9305
- Joined: Thu Nov 22, 2012 7:32 pm
- Location: Mannum, SA, 5238
- Has thanked: 36 times
- Been thanked: 36 times
Re: Dreaded PHP message.
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.
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
********************
BruceS
Mannum, SA
********************
-
- Posts: 31
- Joined: Tue Dec 04, 2012 9:31 am
- Location: Stawell
- Been thanked: 2 times
Re: Dreaded PHP message.
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.
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
-
- Posts: 194
- Joined: Sun Apr 14, 2013 5:35 pm
- Location: Sale Victoria
- Has thanked: 4 times
Re: Dreaded PHP message.
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
I won't catch up with him for a day or two though.
cheers
Vic
-
- Site Admin
- Posts: 9305
- Joined: Thu Nov 22, 2012 7:32 pm
- Location: Mannum, SA, 5238
- Has thanked: 36 times
- Been thanked: 36 times
Re: Dreaded PHP message.
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.
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
********************
BruceS
Mannum, SA
********************
-
- Posts: 2261
- Joined: Fri Jul 28, 2017 9:03 am
- Location: Adelaide, SA
- Been thanked: 6 times
Re: Dreaded PHP message.
Done it a few times to me this morning Bruce
You do not have the required permissions to view the files attached to this post.
-
- Posts: 2153
- Joined: Wed Dec 05, 2012 10:16 pm
-
- 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.
"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
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.
I plan to have another birthday next year.
-
- 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.
No problems earlier this morning however, 10 minutes ago it raised its' ugly head again.
George
George
George, Julie, Leonie & Sean - Kotara, Newcastle
DIY 11.5M 1979 Bedford, Nissan/UD FE6T motor
DIY 11.5M 1979 Bedford, Nissan/UD FE6T motor
-
- Posts: 176
- Joined: Wed Jan 15, 2014 12:40 pm
- Location: Fraser Coast Qld
Re: Dreaded PHP message.
Same hereNewcastle 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
Neil