Downloaded as
phpBB-3.2.2_to_3.2.3.tar.bz2
, the contents of
install/update/index.php
are:
Code: Select all
<?php
if (!defined('IN_PHPBB'))
{
exit;
}
// Set update info with file structure to update
$update_info = array(
'version' => array('from' => '3.2.2', 'to' => '3.2.3'),
'files' => array(
'adm/style/acp_ext_list.html',
'adm/style/acp_groups.html',
'adm/style/acp_language.html',
'adm/style/acp_main.html',
'adm/style/acp_styles.html',
'adm/style/admin.css',
'adm/style/permission_mask.html',
'adm/style/tooltip.js',
'assets/javascript/core.js',
'composer.json',
'composer.lock',
'config/default/container/services_text_formatter.yml',
'includes/acp/acp_board.php',
'includes/acp/acp_forums.php',
'includes/acp/acp_groups.php',
'includes/acp/acp_main.php',
'includes/acp/acp_search.php',
'includes/acp/acp_styles.php',
'includes/acp/acp_users.php',
'includes/constants.php',
'includes/functions.php',
'includes/functions_messenger.php',
'includes/functions_posting.php',
'includes/mcp/mcp_queue.php',
'language/en/acp/board.php',
'language/en/acp/common.php',
'language/en/acp/search.php',
'language/en/acp/styles.php',
'language/en/captcha_recaptcha.php',
'language/en/common.php',
'language/en/help/faq.php',
'language/en/install.php',
'phpbb/auth/provider/oauth/oauth.php',
'phpbb/avatar/driver/upload.php',
'phpbb/db/driver/driver.php',
'phpbb/db/migration/data/v310/auth_provider_oauth.php',
'phpbb/db/migration/data/v32x/enable_accurate_pm_button.php',
'phpbb/db/migration/data/v32x/fix_user_styles.php',
'phpbb/db/migration/data/v32x/merge_duplicate_bbcodes.php',
'phpbb/db/migration/data/v32x/v323.php',
'phpbb/db/migration/data/v32x/v323rc1.php',
'phpbb/db/migration/data/v32x/v323rc2.php',
'phpbb/db/migration/tool/module.php',
'phpbb/debug/error_handler.php',
'phpbb/file_downloader.php',
'phpbb/filesystem/filesystem.php',
'phpbb/install/helper/database.php',
'phpbb/report/report_handler_pm.php',
'phpbb/report/report_handler_post.php',
'phpbb/search/fulltext_mysql.php',
'phpbb/search/fulltext_native.php',
'phpbb/search/fulltext_postgres.php',
'phpbb/search/fulltext_sphinx.php',
'phpbb/template/assets_bag.php',
'phpbb/textformatter/s9e/bbcode_merger.php',
'phpbb/textformatter/s9e/factory.php',
'phpbb/textreparser/plugins/poll_title.php',
'styles/prosilver/style.cfg',
'styles/prosilver/template/overall_footer.html',
'styles/prosilver/template/ucp_pm_viewmessage.html',
'styles/prosilver/template/viewtopic_body.html',
'styles/prosilver/template/viewtopic_topic_tools.html',
'styles/prosilver/theme/common.css',
'viewtopic.php',
),
'binary' => array(),
'deleted' => array(),
);
---------------------
After performing the "Full Package" update, I updated my database from the command line, I received several PHP warnings. The database update was successful.
Code: Select all
# php ./bin/phpbbcli.php db:migrate --safe-mode
Installed Schema: \phpbb\db\migration\data\v32x\enable_accurate_pm_button; Time: 0.00 seconds
Installed Data: \phpbb\db\migration\data\v32x\enable_accurate_pm_button; Time: 0.01 seconds
Installed Schema: \phpbb\db\migration\data\v32x\v323rc1; Time: 0.00 seconds
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/forum/phpbb/cache/driver/memory.php on line 191
Installed Data: \phpbb\db\migration\data\v32x\v323rc1; Time: 0.00 seconds
Installed Schema: \phpbb\db\migration\data\v32x\v323rc2; Time: 0.00 seconds
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/forum/phpbb/cache/driver/memory.php on line 191
Installed Data: \phpbb\db\migration\data\v32x\v323rc2; Time: 0.00 seconds
Installed Schema: \phpbb\db\migration\data\v32x\v323; Time: 0.00 seconds
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/forum/phpbb/cache/driver/memory.php on line 191
Installed Data: \phpbb\db\migration\data\v32x\v323; Time: 0.00 seconds
My config.php contains:
There may be some incompatibility with memcache and PHP (or, I need to modify a phpbb/cache/driver file). I will investigate further.
--------------------------
Next, I tested the automatic update package.
Knowledge Base > Updating 3.2.x is missing a critical step (delete
store/install_config.php)
.
After deleting
store/install_config.php)
, the database was updated as expected. I have updated my bug report with a suggested description. See:
[WEBSITE-1352] Knowledge Base - Updating 3.2.x - phpBB Tracker
This test was performed after the command line update. There was nothing to do, no errors.