Search found 27 matches

by mr.zherart
24 Dec 2021, 10:44
Forum: TYPO3 extension
Topic: Error
Replies: 9
Views: 2987

Re: Error

Great, thank you!
by mr.zherart
24 Dec 2021, 09:22
Forum: TYPO3 extension
Topic: Error
Replies: 9
Views: 2987

Re: Error

We are behind proxy and have the same IP for everyone, look here stack overflow https://stackoverflow.com/a/41769505/3090983. Seems it need to be fixed in aimeos-laravel
by mr.zherart
24 Dec 2021, 09:18
Forum: TYPO3 extension
Topic: Error
Replies: 9
Views: 2987

Re: Error

Thank you I see it is order.base.editor.
by mr.zherart
24 Dec 2021, 08:28
Forum: TYPO3 extension
Topic: Error
Replies: 9
Views: 2987

Re: Error

What will happen if IP does not exist? Currently, it is possible in laravel context.
And, please, give reference to code where editor ip in Frontend/Order used, it will be very helpful. Thank you
by mr.zherart
23 Dec 2021, 17:11
Forum: TYPO3 extension
Topic: Error
Replies: 9
Views: 2987

Re: Error

Hi, Aimeos. Can you please describe deeply about limit-count? From the docs "(either logged in or identified by the IP address) ", I can`t find how it works with user IP. I see how it works with userId aimeos/ai-controller-frontend/controller/frontend/src/Controller/Frontend/Order/Standard...
by mr.zherart
11 Oct 2021, 13:58
Forum: Help
Topic: How to disable auto setup of locale en-Euro?
Replies: 1
Views: 758

How to disable auto setup of locale en-Euro?

Hello, I find hardcoded locale en Euro in app/vendor/aimeos/aimeos-core/lib/mshoplib/setup/MShopAddLocaleData.php in migrate() try { $localeItem = $localeManager->create(); $localeItem->setSiteId( $siteItem->getSiteId() ); $localeItem->setLanguageId( 'en' ); $localeItem->setCurrencyId( 'EUR' ); $loc...
by mr.zherart
15 Sep 2021, 19:02
Forum: Help
Topic: How to return 404 status if an item is not found?
Replies: 12
Views: 4886

Re: How to return 404 status if an item is not found?

Ok, I thought about those who don`t want to handle 404 and want to keep it as is. Maybe for those is better change the order: catch( \Aimeos\Controller\Frontend\Exception $e ) { $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); $view->productErrorList = array_merg...
by mr.zherart
14 Sep 2021, 12:24
Forum: Help
Topic: How to return 404 status if an item is not found?
Replies: 12
Views: 4886

Re: How to return 404 status if an item is not found?

Hi, please, check the conception, and I will make the pull request. 1. All controller frontends find/resolve methods need to check item null and have 404 code. Example: app/vendor/aimeos/ai-controller-frontend/controller/frontend/src/Controller/Frontend/Product/Standard.php:347 if( ( $item = $this->...
by mr.zherart
04 Sep 2021, 09:28
Forum: Help
Topic: How to return 404 status if an item is not found?
Replies: 12
Views: 4886

Re: How to return 404 status if an item is not found?

What about add code to Exceptions? For example, app/vendor/aimeos/aimeos-core/lib/mshoplib/src/MShop/Common/Manager/Base.php $msg = $this->getContext()->i18n()->dt( 'mshop', 'No item found for conditions: %1$s' ); throw new \Aimeos\MShop\Exception( sprintf( $msg, print_r( $pairs, true ) ), 404 ); il...
by mr.zherart
04 Sep 2021, 09:02
Forum: Help
Topic: How to return 404 status if an item is not found?
Replies: 12
Views: 4886

Re: How to return 404 status if an item is not found?

Are you planning to provide this feature in the next releases?