V20.4.1 update problem

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
Metalics
Advanced
Posts: 103
Joined: 13 Jul 2015, 23:59

V20.4.1 update problem

Post by Metalics » 23 Apr 2020, 12:53

Hi to all,

I receive the following error when i try to execute the update script after installing Aimeos V20.4.1,:
Class 'Aimeos\Bootstrap' not found


Detailed error in log:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: Class 'Aimeos\Bootstrap' not found | Error thrown in file /..../typo3conf/ext/aimeos/Classes/Base/Aimeos.php in line 49. Requested URL: ...../typo3/index.php?route=%%2Ftools%%2FExtensionmanagerExtensionmanager%%2F&token=--AnonymizedToken--&tx_extensionmanager_tools_extensionmanagerextensionmanager%%5BextensionKey%%5D=aimeos&tx_extensionmanager_tools_extensionmanagerextensionmanager%%5Baction%%5D=show&tx_extensionmanager_tools_extensionmanagerextensionmanager%%5Bcontroller%%5D=UpdateScript

Do i miss something?
Have a good day.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: V20.4.1 update problem

Post by aimeos » 23 Apr 2020, 20:42

Sorry, the uploaded extension doesn't contain the required Resources/Libraries/ directory, therefore you get the error about the missing files. Can you please try this version and tell us if it's working for you? If it does, we will release a new version immediately:
https://aimeos.org/fileadmin/download/a ... 2-pre1.zip
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
Metalics
Advanced
Posts: 103
Joined: 13 Jul 2015, 23:59

Re: V20.4.1 update problem

Post by Metalics » 23 Apr 2020, 21:49

Now i receive this error in log:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to undefined method Doctrine\DBAL\Configuration::getSchemaAssetsFilter() | Error thrown in file /..../typo3_src-9.5.15/vendor/doctrine/dbal/lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php in line 229. Requested URL: ......./typo3/index.php?route=%%2Ftools%%2FExtensionmanagerExtensionmanager%%2F&token=--AnonymizedToken--&tx_extensionmanager_tools_extensionmanagerextensionmanager%%5Baction%%5D=extract&tx_extensionmanager_tools_extensionmanagerextensionmanager%%5Bcontroller%%5D=UploadExtensionFile

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: V20.4.1 update problem

Post by aimeos » 24 Apr 2020, 07:12

Can you please delete your ./typo3temp/ directory? Maybe there's a left-over in the cache.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
Metalics
Advanced
Posts: 103
Joined: 13 Jul 2015, 23:59

Re: V20.4.1 update problem

Post by Metalics » 24 Apr 2020, 08:40

I did, but still same problem.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: V20.4.1 update problem

Post by aimeos » 24 Apr 2020, 09:15

Remove the old Aimeos extension and also ./typo3temp/ again before you upload the new one. Otherwise, the classes from the old extension seem to be cached and the DB update is done using the old classes.

Background: It's getting more and more difficult to offer an Aimeos extension in TER because it needs some libraries but TYPO3 needs them too (e.g. Doctrine DBAL) and includes them in the TYPO3 package (typo3/vendor directory). If not both use the same version of these libraries, then conflicts like yours arise. Thus, we decided to remove all libraries that are also available in TYPO3 9 and 10 (support for 8.7 is therefore dropped). In the first release, the whole ./Resources/Libraries/ directory was excluded from the package but there are still libraries which Aimeos needs but TYPO3 doesn't ship with.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
Metalics
Advanced
Posts: 103
Joined: 13 Jul 2015, 23:59

Re: V20.4.1 update problem

Post by Metalics » 24 Apr 2020, 17:44

I deinstall Aimeos and all related objects and installed V20.4.2-pre1
It installs succesfully without any error, but:

When i try to go Aimeos admin panel on backend, new error is:
Call to undefined method TYPO3\CMS\Core\Authentication\BackendUserAuthentication::setKey()
Log:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to undefined method TYPO3\CMS\Core\Authentication\BackendUserAuthentication::setKey() | Error thrown in file /..../typo3conf/ext/aimeos/Resources/Private/Extensions/ai-typo3/lib/custom/src/MW/Session/Typo3.php in line 62. Requested URL: ......./typo3/index.php?route=%%2Fweb%%2FAimeosTxAimeosAdmin%%2F&token=--AnonymizedToken--

For Aimeos scheduler jobs, error is:
Class 'Aimeos\MW\View\Helper\Url\T3Router' not found
Log:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Class 'Aimeos\MW\View\Helper\Url\T3Router' not found | Error thrown in file /..../typo3conf/ext/aimeos/Classes/Base/View.php in line 339. Requested URL: ....../typo3/index.php?route=%%2Fsystem%%2FtxschedulerM1%%2F&token=--AnonymizedToken--&CMD=edit&tx_scheduler[uid]=2

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: V20.4.1 update problem

Post by aimeos » 25 Apr 2020, 07:28

Can you try again this version?
https://aimeos.org/fileadmin/download/a ... 2-pre2.zip
There was still some code missing in the last package.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
Metalics
Advanced
Posts: 103
Joined: 13 Jul 2015, 23:59

Re: V20.4.1 update problem

Post by Metalics » 25 Apr 2020, 07:49

Everything is working now
Thank you for your kind help and have a good weekend.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: V20.4.1 update problem

Post by aimeos » 25 Apr 2020, 07:51

Thank you for testing. We appreciate you help very much and all you've done for Aimeos up to now! :-)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply