Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension key "realurl" is NOT loaded! #686

Open
FireLizard opened this issue Jul 22, 2020 · 3 comments
Open

Extension key "realurl" is NOT loaded! #686

FireLizard opened this issue Jul 22, 2020 · 3 comments

Comments

@FireLizard
Copy link

I've got the following error after installing and enabling this extension:

TYPO3 Fatal Error: Extension key "realurl" is NOT loaded!

This EXT was installed by

$ composer req dmitryd/typo3-realurl

The PackageStates.php includes

<?php
return [
    'packages' => [
        'typo3_realurl' => [
            'composerName' => 'dmitryd/typo3-realurl',
            'state' => 'active',
            'packagePath' => 'typo3conf/ext/typo3_realurl/',
            'suggestions' => [],
        ],
    ],
    'version' => 4,
];

My environment is:

  • TYPO3 7.6.45
  • PHP 7.1.22

I hope you can help me and point out my mistake.

@baschny
Copy link

baschny commented Jul 29, 2020

Same here. It is being installed in typo3conf/ext/typo3_realurl instead of typo3conf/ext/realurl.

Change in 2.6.0 caused this problem. See my comment here:

76cc5e7#commitcomment-41007364

@baschny
Copy link

baschny commented Jul 29, 2020

Okey, one additional information after some research.

Starting with typo3/cms-composer-installers 1.4.0 it will also resolve the extension key from extras.typo3/cms.extension-key, which then fixes this issue. Problem is that 1.4.x requires PHP 7.0, so you get 1.3.2 installed on a PHP 5.x installation, which means it fails due to do. A potential solution meanwhile, in your composer.json:

    "dmitryd/typo3-realurl": "^2.0 != 2.6.0 != 2.6.1",

(which does not install 2.6.0 and 2.6.1, in hope it gets "fixed" in 2.6.2 or later). Or upgrade to PHP 7.x to get later cms-composer-installers. Since this is usually the case only on legacy installations, you might wanna restrict realurl updates instead.

@dmitryd
Copy link
Owner

dmitryd commented Nov 8, 2020

I believe there is nothing to do here because composer installers 1.3.3 has the fix for it. Is this correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants