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

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
User avatar
EoN604
Registered User
Posts: 86
Joined: Sat Jun 12, 2004 4:34 pm

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

Post by EoN604 » Mon Feb 13, 2017 1:43 am

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.

User avatar
3Di
Former Team Member
Posts: 14381
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

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

Post by 3Di » Mon Feb 13, 2017 2:12 am

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
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
🏴| Black Friday 2019 @ The Studio |🏴

User avatar
EoN604
Registered User
Posts: 86
Joined: Sat Jun 12, 2004 4:34 pm

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

Post by EoN604 » Mon Feb 13, 2017 3:05 pm

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.

Post Reply

Return to “[3.2.x] Support Forum”