featdd / dpn_glossary

Glossary extension for TYPO3
http://typo3.org/extensions/repository/view/dpn_glossary
GNU General Public License v2.0
20 stars 30 forks source link

Installation fails - only white screen #178

Closed the-andyman closed 2 years ago

the-andyman commented 2 years ago

First of all, thank you for the extension.

When installing the current version 4.1.0 via TER on TYPO3 11.5.13 the following error occurs and I get a white page:

Uncaught TYPO3 Exception: Expected to find class "Featdd\DpnGlossary\Controller\TermController" in file "/html/typo3/typo3conf/ext/dpn_glossary/Classes/Controller/TermController.php" while importing services from resource "../Classes/*", but it was not found! Check the namespace prefix used with the resource. | Symfony\Component\DependencyInjection\Exception\InvalidArgumentException thrown in file /html/typo3/typo3_src-11.5.13/vendor/symfony/dependency-injection/Loader/FileLoader.php in line 224.

What could be the reason for this and what can I do?

featdd commented 2 years ago

Hi @the-andyman,

this looks like a composer autoloading issue, have you required the extension properly and have you tried to delete the vendor and extension folder to rerun composer install?

Greetings Daniel

the-andyman commented 2 years ago

Hi Daniel, the extension was installed via the Extension Manager in the backend and not via composer.

featdd commented 2 years ago

Okay, have you tried to dump autoload in the maintenance module?

the-andyman commented 2 years ago

Ok, after I deleted the autoload and cleared the PHP cache, the Extension installation works! Many thanks for the quick help!