phpBB 3.3.4-RC1 released

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The current feature release of phpBB 3 is 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
User avatar
3Di
Registered User
Posts: 951
Joined: Tue Nov 01, 2005 9:50 pm
Location: Milano 🇮🇹 Frankfurt 🇩🇪
Contact:

Re: phpBB 3.3.4-RC1 released

Post by 3Di »

P_I wrote: Thu Mar 18, 2021 1:11 pm ...
Could you pls test if removing

Code: Select all

if (!defined('PHPBB_ENVIRONMENT'))
{
	define('PHPBB_ENVIRONMENT', 'production');
}
from install/app.php and also removing the tip I posted above about config.php does the trick?
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades

User avatar
P_I
Community Team
Community Team
Posts: 146
Joined: Fri Oct 31, 2014 4:56 am

Re: phpBB 3.3.4-RC1 released

Post by P_I »

Sure can. It might take a bit of time as I need to restore the database from backup, which tends to be somewhat slow on my CentOS 7.9 server.

User avatar
3Di
Registered User
Posts: 951
Joined: Tue Nov 01, 2005 9:50 pm
Location: Milano 🇮🇹 Frankfurt 🇩🇪
Contact:

Re: phpBB 3.3.4-RC1 released

Post by 3Di »

P_I wrote: Thu Mar 18, 2021 6:47 pm Sure can. It might take a bit of time as I need to restore the database from backup, which tends to be somewhat slow on my CentOS 7.9 server.
Much appreciated, thx.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades

User avatar
P_I
Community Team
Community Team
Posts: 146
Joined: Fri Oct 31, 2014 4:56 am

Re: phpBB 3.3.4-RC1 released

Post by P_I »

Testcases:
  1. Commenting out the

    Code: Select all

    if (!defined('PHPBB_ENVIRONMENT'))
    {
    	define('PHPBB_ENVIRONMENT', 'production');
    }
    lines from install/app.php.

    Result: Upgrade completed successfully with no phpBB debug message. ✔
    --
  2. I presume this one is leave install/app.php unchanged and instead make change to config.php.
I also have the QuickInstall tool on this server so can test new installations of 3.3.4-RC1 if that would help.

User avatar
3Di
Registered User
Posts: 951
Joined: Tue Nov 01, 2005 9:50 pm
Location: Milano 🇮🇹 Frankfurt 🇩🇪
Contact:

Re: phpBB 3.3.4-RC1 released

Post by 3Di »

P_I wrote: Thu Mar 18, 2021 7:11 pm Testcases:
  1. Commenting out the

    Code: Select all

    if (!defined('PHPBB_ENVIRONMENT'))
    {
    	define('PHPBB_ENVIRONMENT', 'production');
    }
    lines from install/app.php.

    Result: Upgrade completed successfully with no phpBB debug message. ✔
    --
  2. I presume this one is leave install/app.php unchanged and instead make change to config.php.
I also have the QuickInstall tool on this server so can test new installations of 3.3.4-RC1 if that would help.
Not sure what you mean but the above snippet should be removed from the current install/app.php and the config.php should remain un-modified. As it is as usual I mean. So no need to modify config.php prior to update.
I also have the QuickInstall tool on this server so can test new installations of 3.3.4-RC1 if that would help.

It would be better to try without QuickInstall if possible. Just install a 3.3.4-rc1 commenting out that snippet from install/app.php
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades

User avatar
P_I
Community Team
Community Team
Posts: 146
Joined: Fri Oct 31, 2014 4:56 am

Re: phpBB 3.3.4-RC1 released

Post by P_I »

3Di wrote: Thu Mar 18, 2021 7:14 pm Not sure what you mean but the above snippet should be removed from the current install/app.php and the config.php should remain un-modified. As it is as usual I mean. So no need to modify config.php prior to update.
That's exactly what I did.

Testcase #2 was going to try the change you mentioned in viewtopic.php?p=342986#p342986

User avatar
3Di
Registered User
Posts: 951
Joined: Tue Nov 01, 2005 9:50 pm
Location: Milano 🇮🇹 Frankfurt 🇩🇪
Contact:

Re: phpBB 3.3.4-RC1 released

Post by 3Di »

P_I wrote: Thu Mar 18, 2021 7:22 pm That's exactly what I did.
Perfect. :) Thank you.

It remains to test a fresh 3.3.4-rc1 install using the same approach but NOT using QuickInstall, do you volunteer?
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades

User avatar
P_I
Community Team
Community Team
Posts: 146
Joined: Fri Oct 31, 2014 4:56 am

Re: phpBB 3.3.4-RC1 released

Post by P_I »

3Di wrote: Thu Mar 18, 2021 7:26 pm It remains to test a fresh 3.3.4-rc1 install using the same approach but NOT using QuickInstall, do you volunteer?
Yup. I haven't installed a fresh board (without QuickInstall) in years. I'll be following https://www.phpbb.com/support/docs/en/3 ... tallation/

User avatar
3Di
Registered User
Posts: 951
Joined: Tue Nov 01, 2005 9:50 pm
Location: Milano 🇮🇹 Frankfurt 🇩🇪
Contact:

Re: phpBB 3.3.4-RC1 released

Post by 3Di »

Much appreciated.
I'm trying to transfer all my 200 GB data from the old Win7 PC to the new Win10 PC as I had a crash recently, sorry to bother you.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades

User avatar
P_I
Community Team
Community Team
Posts: 146
Joined: Fri Oct 31, 2014 4:56 am

Re: phpBB 3.3.4-RC1 released

Post by P_I »

No problem. Just trying to contribute to a smooth release of phpBB 3.3.4.

A fresh 3.3.4-RC1 install with the lines removed from install/app.php was generally successful on my CentOS 7.9 (PHP 8.0.3) server.

There are a few phpBB debug messages.

Code: Select all

[phpBB Debug] "chmod(): Operation not permitted" in file /var/www/html/phpbb/phpbb/filesystem/filesystem.php on line 132
[phpBB Debug] "chmod(): Operation not permitted" in file /var/www/html/phpbb/phpbb/filesystem/filesystem.php on line 132
[phpBB Debug] "chown(): Operation not permitted" in file /var/www/html/phpbb/vendor/symfony/filesystem/Filesystem.php on line 230
[phpBB Debug] "Constant CONFIG_TABLE already defined" in file /var/www/html/phpbb/includes/constants.php on line 250
[phpBB Debug] "chown(): Operation not permitted" in file /var/www/html/phpbb/vendor/symfony/filesystem/Filesystem.php on line 230
[phpBB Debug] "chown(): Operation not permitted" in file /var/www/html/phpbb/vendor/symfony/filesystem/Filesystem.php on line 230
I believe all the chmod(): Operation not permitted are caused my SELinux. (see below)

Not sure about the

Code: Select all

[phpBB Debug] "Constant CONFIG_TABLE already defined" in file /var/www/html/phpbb/includes/constants.php on line 250
Per Knowledge Base - phpBB3 Chmod Permissions I believe the permissions are correct, but some folders need SELinux set to httpd_sys_rw_content_t.

The structure currently is:

Code: Select all

drwxr-xr-x. P_I apache system_u:object_r:httpd_sys_content_t:s0 adm
-rw-r--r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 app.php
drwxr-xr-x. P_I apache system_u:object_r:httpd_sys_content_t:s0 assets
drwxr-xr-x. P_I apache system_u:object_r:httpd_sys_content_t:s0 bin
drwxrwxrwx. P_I apache system_u:object_r:httpd_sys_content_t:s0 cache
-rw-r--r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 common.php
-rw-r--r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 composer.json
-rw-r--r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 composer.lock
drwxr-xr-x. P_I apache system_u:object_r:httpd_sys_content_t:s0 config
-rw-rw-r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 config.php
-rw-r--r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 cron.php
drwxr-xr-x. P_I apache system_u:object_r:httpd_sys_content_t:s0 docs
drwxr-xr-x. P_I apache system_u:object_r:httpd_sys_content_t:s0 download
drwxr-xr-x. P_I apache system_u:object_r:httpd_sys_content_t:s0 ext
-rw-r--r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 faq.php
-rw-r--r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 feed.php
drwxrwxrwx. P_I apache system_u:object_r:httpd_sys_content_t:s0 files
drwxr-xr-x. P_I apache system_u:object_r:httpd_sys_content_t:s0 images
drwxr-xr-x. P_I apache system_u:object_r:httpd_sys_content_t:s0 includes
-rw-r--r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 index.php
drwxr-xr-x. P_I apache system_u:object_r:httpd_sys_content_t:s0 install
drwxr-xr-x. P_I apache system_u:object_r:httpd_sys_content_t:s0 language
-rw-r--r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 mcp.php
-rw-r--r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 memberlist.php
drwxr-xr-x. P_I apache system_u:object_r:httpd_sys_content_t:s0 phpbb
-rw-r--r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 posting.php
-rw-r--r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 report.php
-rw-r--r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 search.php
drwxrwxrwx. P_I apache system_u:object_r:httpd_sys_content_t:s0 store
drwxr-xr-x. P_I apache system_u:object_r:httpd_sys_content_t:s0 styles
-rw-r--r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 ucp.php
drwxr-xr-x. P_I apache system_u:object_r:httpd_sys_content_t:s0 vendor
-rw-r--r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 viewforum.php
-rw-r--r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 viewonline.php
-rw-r--r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 viewtopic.php
-rw-r--r--. P_I apache system_u:object_r:httpd_sys_content_t:s0 web.config

Post Reply