web-vision / wv_deepltranslate

TYPO3 Extension to translate content and TCA records with DeepL Translate
GNU General Public License v2.0
25 stars 41 forks source link

[BUG] Error 'Class "DeepL\Translator" not found' when installed from TER #342

Closed artus70 closed 3 months ago

artus70 commented 3 months ago

Description After installation from TER the hole TYPO3 installation shows Error 'Class "DeepL\Translator" not found', FE & BE are not accessible anymore.

Appearantly the additional composer package "deeplcom/deepl-php": "^1.6" is required but is not automatically installed.

TYPO3 Setup

sbuerk commented 3 months ago

could not verify this.

Used a v11 instance (legacy), v11 TYPO3 core monorepo instance (legacy), v12 core monorepo instance (legacy)

In all three cases, refreshing the extenslist and installing it from the backend extension manager from TER worked like a charm. A collegue also tested it by downloading the zip manually from TER and upload it within the backend extension manager.

https://extensions.typo3.org/extension/wv_deepltranslate/ https://extensions.typo3.org/extension/download/wv_deepltranslate/4.3.1/zip

Do you have a application firewall in place which may change the zip file on download in some way ? Or maybe some security settings in place in your PHP installation ?

sbuerk commented 3 months ago

Do you have more information about the installation ? Are there any traces in the PHP Errorlog or in the TYPO3 Errorlog beside the class not found ? Check the extension folder typo3conf/ext/wv_deepltranslate if there is a vendor subfolder.

artus70 commented 3 months ago

Thanks for the answer - and sorry for the trouble:

We just removed it completely and re-installed it, now it works!