Page 1 of 1

Upgrade error: A required module info file is missing: acp_send_statistics

Posted: Mon Feb 13, 2017 1:43 am
by EoN604
Hi all,

I'm upgrading from 3.0.4 to 3.2

I've strictly following instructions outlined here:
viewtopic.php?f=556&t=2377631

After running the update process at /myphpbb/install/ > Click Update > Submit for update database only, I see the following red error message:
A required module info file is missing: acp_send_statistics
Can anyone suggest how I can resolve this? Happy to go in and retro-fit a module if it's necessary. Would just need to be guided as to where I should be looking.

Many thanks.

Re: Upgrade error: A required module info file is missing: acp_send_statistics

Posted: Mon Feb 13, 2017 2:12 am
by 3Di
Isn't possible to go straight from 3.0.4 to 3.2.0, there are various factors to be taken in consideration behind the scene, as a front end user though you should update first 3.0.4 to 3.0.14.
https://download.phpbb.com/pub/release/ ... 3.0.14.zip
(suggested flowchart, to be quite sure everything will be alright)

One of the reasons is why the acp_send_statistics has been added in 3.0.6-rc1.

The above mentioned module has been removed since 3.2.0-rc1 in favour of acp_help_phpbb, the migration is trying to delete that module, is not able to find it and that's why the error as per above.
As a matter of fact those files aren't present in 3.2.0 GOLD at all. (Are still in 3.2.0-rc1 though)

The migration (3.2.0 gold)

Code: Select all

	public function update_data()
	{
		return array(
			array('config.add', array('help_send_statistics', true)),
			array('config.add', array('help_send_statistics_time', 0)),
			array('module.remove', array(
				'acp',
				false,
				'ACP_SEND_STATISTICS',
			)),
			array('module.add', array(
				'acp',
				'ACP_SERVER_CONFIGURATION',
				array(
					'module_basename'	=> 'acp_help_phpbb',
					'modes'				=> array('help_phpbb'),
				),
			)),
		);
	}
Perhaps should have be better to try and see IF that module existed before to try and remove it.. like

Code: Select all

			array('if', array(
				array('module.exists', array('acp', false, 'ACP_SEND_STATISTICS')),
				array('module.remove', array('acp', false, 'ACP_SEND_STATISTICS')),
			)),
Or something alike.

The dirty job could be to upgrade to 3.2.0-rc1 and then to GOLD, but the first one is preferred. (IMHO)


https://tracker.phpbb.com/browse/PHPBB3-15090

Re: Upgrade error: A required module info file is missing: acp_send_statistics

Posted: Mon Feb 13, 2017 3:05 pm
by EoN604
Thanks. I tried installing 3.0.14 first. I was able to successfully achieve that migration. now working on 3.2. Thanks for your tips.