Could you pls test if removing
Code: Select all
if (!defined('PHPBB_ENVIRONMENT'))
{
define('PHPBB_ENVIRONMENT', 'production');
}
install/app.php
and also removing the tip I posted above about config.php
does the trick?Could you pls test if removing
Code: Select all
if (!defined('PHPBB_ENVIRONMENT'))
{
define('PHPBB_ENVIRONMENT', 'production');
}
install/app.php
and also removing the tip I posted above about config.php
does the trick?Much appreciated, thx.
Code: Select all
if (!defined('PHPBB_ENVIRONMENT'))
{
define('PHPBB_ENVIRONMENT', 'production');
}
install/app.php
. install/app.php
unchanged and instead make change to config.php
.Not sure what you mean but the above snippet should be removed from the currentP_I wrote: ↑Thu Mar 18, 2021 7:11 pm Testcases:I also have the QuickInstall tool on this server so can test new installations of 3.3.4-RC1 if that would help.
- Commenting out the
lines fromCode: Select all
if (!defined('PHPBB_ENVIRONMENT')) { define('PHPBB_ENVIRONMENT', 'production'); }
install/app.php
.
Result: Upgrade completed successfully with no phpBB debug message. ✔
--- I presume this one is leave
install/app.php
unchanged and instead make change toconfig.php
.
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.
install/app.php
That's exactly what I did.
Perfect. Thank you.
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/
install/app.php
was generally successful on my CentOS 7.9 (PHP 8.0.3) server. 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
chmod(): Operation not permitted
are caused my SELinux. (see below) Code: Select all
[phpBB Debug] "Constant CONFIG_TABLE already defined" in file /var/www/html/phpbb/includes/constants.php on line 250
httpd_sys_rw_content_t
. 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