Topic: Manual Extensions with no version install fix

When a third party extension (that is not in the list of extension repos as defined in version.php) with no version number ('version' => '-',) is attempted to be re-installed and activated for a specific company, the following error arises:

Package <$ext['name']> is incompatible with current application version and cannot be activated.
Check Install/Activate page for newer package version. <$ext['name']>

In general, such third party extensions can have their version set to a hyphen whilst they take responsibility for the version matches. To enable such extensions to be activated without the error nag, the following fix can be incorporated by replacing line 215 in admin/inst_module.php:

    if (check_value('Active'.$i) && !check_src_ext_version($ext['version']))

with:

    if (check_value('Active'.$i) && (!($ext['version'] == '-' || check_src_ext_version($ext['version']))))

The $ext['available'] parameter is to indicate the extension's availability with description in the official repos and will be blank for such third party unlisted extensions.

@joe: can incorporate it in the core.

2 (edited by kvvaradha 09/23/2017 01:41:23 pm)

Re: Manual Extensions with no version install fix

If this setup within Official version. Than one of a issue for  thirdparty extension installation will be solved.  Hope @joe will do this.

But this way we are boycotting the version information

Subscription service based on FA
HRM CRM POS batch Themes

Re: Manual Extensions with no version install fix

The 'version'] => '-', is present in the codebase and hence it's use here.