[Discuss] phpBB 3.3.15-RC1 available for testing

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Anti-Spam Guide
User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5730
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc

[Discuss] phpBB 3.3.15-RC1 available for testing

Post by Marc »

Use this topic to discuss the phpBB 3.3.15-RC1 available for testing blog post.
User avatar
P_I
Community Team Member
Community Team Member
Posts: 2572
Joined: Tue Mar 01, 2011 8:35 pm
Location: Western Canada 🇨🇦

Re: [Discuss] phpBB 3.3.15-RC1 available for testing

Post by P_I »

Update my testing board that was running 3.3.14 using https://www.phpbb.com/support/docs/en/3 ... date_full/.

Versions:
PHP 8.3.17
Database server: MySQL(i) 10.11.8-MariaDB-0ubuntu0.24.04.1

Sanity tested all okay.
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
User avatar
ssl
Registered User
Posts: 2127
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: [Discuss] phpBB 3.3.15-RC1 available for testing

Post by ssl »

Updated using advanced update: https://www.phpbb.com/support/docs/en/3 ... _advanced/ from phpBB 3.3.14
PHP 8.3.16

Everything went as planned
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.14 | PHP: 8.3.15
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
canam800er
Registered User
Posts: 209
Joined: Thu Jul 21, 2011 7:42 pm

Re: [Discuss] phpBB 3.3.15-RC1 available for testing

Post by canam800er »

Update my testing board that was running 3.3.14 with Full Package
Versions:
PHP 7.4.33
Database server: MySQL(i) 10.5.19-MariaDB-0+deb11u2
The update went without any problems. But on ACP index I get the following error message:

Code: Select all

Fatal error: Uncaught Error: Call to undefined method RuntimeException::get_parameters() in /phpBB3/includes/acp/acp_main.php:490 Stack trace: #0 /phpBB3/includes/functions_module.php(684): acp_main->main('main', 'main') #1 /phpBB3/adm/index.php(81): p_master->load_active() #2 {main} thrown in /phpBB3/includes/acp/acp_main.php on line 490
Fatal error: Uncaught Error: Call to undefined method RuntimeException::get_parameters() in ./includes/acp/acp_main.php:463
The following has been changed:
Open: root/vendor/guzzlehttp/guzzle/src/functions.php
Find:

Code: Select all

    } elseif (!$handler) {
Replace with:

Code: Select all

    } elseif (!$handler && function_exists('curl_exec')) {
The ‘General’ page of the ACP is now accessible again and there is no fatal error in the Extensions Manager when running the re-check all versions.
It affects all extensions that have a version check. In my testboard (free webspace) the functions cURL, sockets, allow_url_fopen are deactivated.
Sorry for my bad english, I am German and translated with DeepL!
My Extensionen!
rxu
Extensions Development Team
Posts: 4059
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: [Discuss] phpBB 3.3.15-RC1 available for testing

Post by rxu »

There was the same issue with 3.3.14 viewtopic.php?p=16040440#p16040440
Looks like phpBB bug.

EDIT:
Suggested fix: https://github.com/phpbb/phpbb/pull/6786/files
User avatar
canam800er
Registered User
Posts: 209
Joined: Thu Jul 21, 2011 7:42 pm

Re: [Discuss] phpBB 3.3.15-RC1 available for testing

Post by canam800er »

rxu wrote: Mon Mar 03, 2025 4:13 pm There was the same issue with 3.3.14
That's right
rxu wrote: Mon Mar 03, 2025 4:13 pmSuggested fix
When I undo the previous change and make the change in /includes/acp/acp_main.php, I get this error message:

Code: Select all

Fatal error: Uncaught RuntimeException: GuzzleHttp requires cURL, the allow_url_fopen ini setting, or a custom HTTP handler. in /phpBB3/vendor/guzzlehttp/guzzle/src/functions.php:119 Stack trace: #0 /phpBB3/vendor/guzzlehttp/guzzle/src/HandlerStack.php(42): GuzzleHttp\choose_handler() #1 /phpBB3/vendor/guzzlehttp/guzzle/src/Client.php(65): GuzzleHttp\HandlerStack::create() #2 /phpBB3/phpbb/file_downloader.php(56): GuzzleHttp\Client->__construct(Array) #3 /phpBB3/phpbb/file_downloader.php(79): phpbb\file_downloader->create_client('https://www.php...', 443, 30) #4 /phpBB3/phpbb/version_helper.php(384): phpbb\file_downloader->get('www.phpbb.com', '/customise/db/e...', 'version_check', 443, 30) #5 /phpBB3/phpbb/version_helper.php(354): phpbb\version_helper->get_versions(false, false) #6 /phpBB3/phpbb/version_helper.php(273): phpbb\version_helper->get_versions_matching_stability(false, false) #7 /phpBB3/phpbb/extension/manager.php(557): phpbb\version_helper->get_ext_update_on_branch(false, false) #8 /phpBB3/includes/acp/acp_extensions.php(338): phpbb\extension\manager->version_check(Object(phpbb\extension\metadata_manager), false, false, NULL) #9 /phpBB3/includes/functions_module.php(684): acp_extensions->main('extensions', 'main') #10 /phpBB3/adm/index.php(81): p_master->load_active() #11 {main} thrown in /phpBB3/vendor/guzzlehttp/guzzle/src/functions.php on line 119
Edit:
Additional change in the root/vendor/guzzlehttp/guzzle/src/functions.php
Find:

Code: Select all

        throw new \RuntimeException('GuzzleHttp requires cURL, the '
Replace with:

Code: Select all

        throw new \phpbb\exception\runtime_exception('GuzzleHttp requires cURL, the '
It´s work without error message.

Edit2:
Is not correct, please ignore!
Last edited by canam800er on Mon Mar 03, 2025 6:50 pm, edited 1 time in total.
Sorry for my bad english, I am German and translated with DeepL!
My Extensionen!
rxu
Extensions Development Team
Posts: 4059
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: [Discuss] phpBB 3.3.15-RC1 available for testing

Post by rxu »

canam800er wrote: Mon Mar 03, 2025 5:47 pm I get this error message
Updated the fix.
User avatar
canam800er
Registered User
Posts: 209
Joined: Thu Jul 21, 2011 7:42 pm

Re: [Discuss] phpBB 3.3.15-RC1 available for testing

Post by canam800er »

I did the Updated fix, but the same error message.
Sorry for my bad english, I am German and translated with DeepL!
My Extensionen!
rxu
Extensions Development Team
Posts: 4059
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: [Discuss] phpBB 3.3.15-RC1 available for testing

Post by rxu »

canam800er wrote: Mon Mar 03, 2025 6:27 pm same error message
Another fix: https://github.com/phpbb/phpbb/pull/6788/files
User avatar
Stoker 4.0
Registered User
Posts: 1666
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: [Discuss] phpBB 3.3.15-RC1 available for testing

Post by Stoker 4.0 »

Updated a test board from 3.3.14 without any problems
~ The greatest achievement in life is to inspire ~
Regards Stoker
User avatar
canam800er
Registered User
Posts: 209
Joined: Thu Jul 21, 2011 7:42 pm

Re: [Discuss] phpBB 3.3.15-RC1 available for testing

Post by canam800er »

I had only made this fix: https://github.com/phpbb/phpbb/pull/6788/files
In the ACP index no error but this:
acp_index.jpg
Failed to obtain latest version information.
GuzzleHttp requires cURL, the allow_url_fopen ini setting, or a custom HTTP handler.
Re-Check version · More information »
Its in root/vendor/guzzlehttp/guzzle/src/functions.php on line 119
Even if I do this fix additionally: https://github.com/phpbb/phpbb/pull/6786/files
You do not have the required permissions to view the files attached to this post.
Last edited by canam800er on Tue Mar 04, 2025 1:54 pm, edited 1 time in total.
Sorry for my bad english, I am German and translated with DeepL!
My Extensionen!
rxu
Extensions Development Team
Posts: 4059
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: [Discuss] phpBB 3.3.15-RC1 available for testing

Post by rxu »

canam800er wrote: Tue Mar 04, 2025 1:22 pm In the ACP index no error but this
Well, this is how it should work eventually. Thanks for verifying the fix.
User avatar
canam800er
Registered User
Posts: 209
Joined: Thu Jul 21, 2011 7:42 pm

Re: [Discuss] phpBB 3.3.15-RC1 available for testing

Post by canam800er »

The correct message is still missing
Currently:
Failed to obtain latest version information.
GuzzleHttp requires cURL, the allow_url_fopen ini setting, or a custom HTTP handler.
This should be the message:
Failed to obtain latest version information.
The operation could not be completed because the fsockopen function has been disabled or the server being queried could not be found.
Sorry for my bad english, I am German and translated with DeepL!
My Extensionen!
rxu
Extensions Development Team
Posts: 4059
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: [Discuss] phpBB 3.3.15-RC1 available for testing

Post by rxu »

You didn't mention fsockopen is disabled on your server.
With the fix, phpBB translates the actual message thrown by RuntimeException in GuzzleHTTP, which informs about the real issue and seems to be inline with the code logic.
But yes, the message can be adjusted on phpBB side to not mention Guzzle, f.e. to something like The operation could not be completed because cURL PHP extension and allow_url_fopen PHP ini setting have been disabled and no other HTTP handler could be found.
User avatar
canam800er
Registered User
Posts: 209
Joined: Thu Jul 21, 2011 7:42 pm

Re: [Discuss] phpBB 3.3.15-RC1 available for testing

Post by canam800er »

rxu wrote: Tue Mar 04, 2025 4:41 pm You didn't mention fsockopen is disabled on your server.
I have, look here: viewtopic.php?p=16055032#p16055032
The Message is good.
Sorry for my bad english, I am German and translated with DeepL!
My Extensionen!

Return to “phpBB Discussion”