Cannot add to basket after upgrade

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!
promptnet
Posts: 75
Joined: 24 Jul 2019, 12:22

Re: Cannot add to basket after upgrade

Post by promptnet » 12 Dec 2024, 13:31

Browser console is empty.

promptnet
Posts: 75
Joined: 24 Jul 2019, 12:22

Re: Cannot add to basket after upgrade

Post by promptnet » 12 Dec 2024, 15:31

What else can I do to find the bug?

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

Re: Cannot add to basket after upgrade

Post by aimeos » 12 Dec 2024, 16:52

You can try to remove lines from this template until something is shown again:
https://github.com/aimeos/ai-admin-jqad ... tegory.php

Maybe it's a problem in a sub-panel before so you should check which sub-panels work at all.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

promptnet
Posts: 75
Joined: 24 Jul 2019, 12:22

Re: Cannot add to basket after upgrade

Post by promptnet » 13 Dec 2024, 06:40

Code: Select all

$this->get( 'categoryTypes', [] ) 
is empty:

Code: Select all

object(Aimeos\Map)#49894 (2) { ["list":protected]=> array(0) { } ["sep":protected]=> string(1) "/" }

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

Re: Cannot add to basket after upgrade

Post by aimeos » 13 Dec 2024, 09:32

Please check your mshop_product_list_type table for records with domain "catalog".
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

promptnet
Posts: 75
Joined: 24 Jul 2019, 12:22

Re: Cannot add to basket after upgrade

Post by promptnet » 16 Dec 2024, 13:44

These are the rows:

Code: Select all

INSERT INTO `mshop_product_list_type` (`id`, `siteid`, `domain`, `code`, `label`, `pos`, `status`, `mtime`, `ctime`, `editor`, `i18n`) VALUES
(526, '63.', 'catalog', 'default', 'Standard', 0, 1, '2024-12-11 15:10:17', '2024-12-11 15:10:17', 'core', '{}'),
(527, '63.', 'catalog', 'promotion', 'Promotion', 0, 1, '2024-12-11 15:10:17', '2024-12-11 15:10:17', 'core', '{}');

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

Re: Cannot add to basket after upgrade

Post by aimeos » 16 Dec 2024, 13:45

Also for the correct site ID?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

promptnet
Posts: 75
Joined: 24 Jul 2019, 12:22

Re: Cannot add to basket after upgrade

Post by promptnet » 16 Dec 2024, 14:18

Hm, you're right!
After the upgrde I obviously re-created the site with a wrong term. Thus, a new site was generated.

Thanks for your help!

Post Reply