Warning during update process to 3.3.9

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
User avatar
bennybernaer
Registered User
Posts: 602
Joined: Tue Mar 22, 2011 9:53 pm
Contact:

Warning during update process to 3.3.9

Post by bennybernaer »

Although the update from 3.3.8 to 3.3.9 went smoothly, I received 2 warnings during the update process.

Code: Select all

[phpBB Debug] "Constant PHPBB_ENVIRONMENT already defined" in file /home/deb78240n5/domains/ana4life.be/public_html/config.php on line 16

[phpBB Debug] "Constant PHPBB_INSTALLED already defined" in file /home/deb78240n5/domains/ana4life.be/public_html/config.php on line 14

@Crizzo indicated to check the config file but this all looks good at first sight.

The forum works without any problems and there are no error messages to be found.

Code: Select all

<?php
// phpBB 3.2.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'phpbb\\db\\driver\\mysqli';
$dbhost = '';
$dbport = '';
$dbname = 'delete';
$dbuser = 'delete';
$dbpasswd = 'delete';
$table_prefix = 'phpbb_';
$phpbb_adm_relative_path = 'adm/';
$acm_type = 'phpbb\\cache\\driver\\file';

@define('PHPBB_INSTALLED', true);
// @define('PHPBB_DISPLAY_LOAD_TIME', true);
@define('PHPBB_ENVIRONMENT', 'production');
// @define('DEBUG_CONTAINER', true);

Edit:
But can that warning just be ignored, or is this a bug?
User avatar
GTI
Registered User
Posts: 300
Joined: Mon Aug 24, 2020 4:59 pm
Location: West Sussex
Name: Laura

Re: Warning during update process to 3.3.9

Post by GTI »

Did you delete the config.php file out of the 3.3.9 package before updating?

I followed the phpBB 3.3 Upgrade Guide which says to delete it:
phpBB 3.3 Upgrade Guide wrote:
• Delete the following files from the package:
  • The config.php file
  • The files/ directory
  • The images/ directory
  • The store/ directory

That guide also says warnings are not really a concern:
phpBB 3.3 Upgrade Guide wrote:
You may receive FAILURES during this procedure. They should not be a cause for concern unless you see an actual ERROR, in which case the script will stop
Most of us will enjoy Christmas in the comfort of our own homes this year, however, sadly, that can't be said for people in the Ukraine who are suffering day after day, due to the Russian invasion.

If you would like to make a small donation to help Ukrainians in their time of need, you can donate to help all Ukrainians via BritishRedCross or you can donate to help the Ukrainian children via Unicef. 🇺🇦 Thank You 🇺🇦
User avatar
bennybernaer
Registered User
Posts: 602
Joined: Tue Mar 22, 2011 9:53 pm
Contact:

Re: Warning during update process to 3.3.9

Post by bennybernaer »

@GTI then I ignore this warning.

I never use the full update package, because of too many changes in the core files.
Post Reply

Return to “[3.3.x] Support Forum”