Gitter got replaced by Slack. Please use following invite link https://slack.shopware.com to rejoin the awesome Shopware community! https://www.shopware.com/en/news/an-introduction-to-the-shopware-community-slack/
shopwareBot on 5.7
SW-26148 - Fix document roundin… Merge branch 'sw-26148/5.7/docu… (compare)
shopwareBot on 5.7
SW-26142 - Fix error while logi… Merge branch 'sw-26142/5.7/chan… (compare)
shopwareBot on 5.7
SW-26120 - Provide default valu… Merge branch 'sw-26120/5.7/dev'… (compare)
shopwareBot on 5.7
SW-26100 - Fix error on add exp… Merge branch 'sw-26100/5.7/add-… (compare)
shopwareBot on 5.7
SW-26141 - Fix syntax error in … Merge branch 'sw-26141/5.7/dev'… (compare)
shopwareBot on 5.7
SW-25778 - Fix tax calculatioin… Merge branch 'sw-25778/5.7/chan… (compare)
shopwareBot on 5.7
SW-26134 - Fix behavior of save… Merge branch 'sw-26134/5.7/save… (compare)
shopwareBot on v5.7.2
SW-26107 - Configurable excepti… SW-26108 - Bump flysystem versi… Merge branch 'sw-26107/5.7/remo… and 2 more (compare)
shopwareBot on v5.7.2
shopwareBot on v5.7.2
shopwareBot on v5.7.2
$criteria = new Criteria();
$criteria->addAssociation('media');
$criteria->addAssociation('products');
$criteria->addFilter(new EqualsFilter('active', 1));
$criteria->addFilter(new EqualsFilter('products', 'NOT NULL!!!!'));
$filteredCategories = $this->categoryRepository->search($criteria, $context);
dd($filteredCategories);
is there a way to preview the document templates without having to create and download a document in the administration every time. I found the routeapi.action.document.preview
/api/v{version}/_action/order/{orderId}/{deepLinkCode}/document/{documentTypeName}/preview
but whatever I use for the orderId
I get an error saying:
The order with id EA8409F4237642F9B15D6A55FB648207 is invalid or could not be found.
Hi, I tried to install Shopware 6.3.1.0 in debian and get the folloing error
Browser:
Type: TypeError
Message: openssl_pkey_get_details() expects parameter 1 to be resource, bool given
File: /var/customers/webs/customer/vendor/shopware/recovery/Common/src/Service/JwtCertificateService.php
Line: 30
Log File:
[Mon Sep 14 12:32:38.138939 2020] [php7:warn] [pid 30972] [client IP] PHP Warning: fileinode(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/customers/webs/customer:/tmp) in /var/customers/webs/customer/vendor/shopware/recovery/Install/src/Requirements.php on line 244, referer: https://domain/recovery/install/index.php
[Mon Sep 14 12:32:39.429400 2020] [php7:warn] [pid 30972] [client 84.62.197.236:42482] PHP Warning: fileinode(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/customers/webs/customer:/tmp) in /var/customers/webs/customer/vendor/shopware/recovery/Install/src/Requirements.php on line 244, referer: https://domain/recovery/install/index.php/requirements/?language=de
[Mon Sep 14 12:32:55.648274 2020] [php7:warn] [pid 27855] [client 84.62.197.236:42486] PHP Warning: openssl_pkey_export_to_file(): cannot get key from parameter 1 in /var/customers/webs/customer/vendor/shopware/recovery/Common/src/Service/JwtCertificateService.php on line 27, referer: https://messerundloeffel.de/recovery/install/index.php/database-configuration/
[Mon Sep 14 12:35:00.644248 2020] [php7:warn] [pid 27865] [client 84.62.197.236:42516] PHP Warning: fileinode(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/customers/webs/customer:/tmp) in /var/customers/webs/customer/vendor/shopware/recovery/Install/src/Requirements.php on line 244, referer: https://domain/recovery/install/index.php
[Mon Sep 14 12:35:02.010283 2020] [php7:warn] [pid 27865] [client 84.62.197.236:42516] PHP Warning: fileinode(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/customers/webs/customer:/tmp) in /var/customers/webs/customer/vendor/shopware/recovery/Install/src/Requirements.php on line 244, referer: https://domain/recovery/install/index.php/requirements/?language=de
Hi Guys,
need your help.. I have tried to access API authentication but all time i am getting 301 moved Permanently.. or resource not found with below code.. Could you pleaes support..
$url = 'https://shopware.shirtee.cloud';
$username = 'XXXXXXX';
$api_key = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx';
$url = rtrim($url, '/').'/api';
$curl = curl_init();
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt(
$curl,
CURLOPT_HTTPHEADER,
['Content-Type: application/json; charset=utf-8',
'Authorization: Basic '. base64_encode($username.':'.$api_key)
]
);
$res = curl_exec($curl);
echo "<pre>";
print_r($res);
.addPlugin('div.captcha--placeholder[data-src]', 'swCaptcha', { autoLoad: true })
now if i'd update shopware that change would be lost, how can I make this change update safe?
Hi, I have setup a local vm (ubuntu 18.04) to mirror a server environment for sw5 and I have migrated the db and everything works fine - my job is to do some performance improvments and I installed the webp support plugin - I cleared the cache and wanted to move on with regenerating the thumbnails but when I try to do the php bin/console command I get the following output:
jenny@jenny-VirtualBox:/var/www/deuba.local$ php bin/console
PHP Fatal error: Listener "onAddConsoleCommand" in "SimklThemeSettingExport" is not callable. in /var/www/deuba.local/engine/Library/Enlight/Event/Handler/Plugin.php on line 141
Fatal error: Listener "onAddConsoleCommand" in "SimklThemeSettingExport" is not callable. in /var/www/deuba.local/engine/Library/Enlight/Event/Handler/Plugin.php on line 141
jenny@jenny-VirtualBox:/var/www/deuba.local$ php bin/console frosh:webp:status
PHP Fatal error: Listener "onAddConsoleCommand" in "SimklThemeSettingExport" is not callable. in /var/www/deuba.local/engine/Library/Enlight/Event/Handler/Plugin.php on line 141
Fatal error: Listener "onAddConsoleCommand" in "SimklThemeSettingExport" is not callable. in /var/www/deuba.local/engine/Library/Enlight/Event/Handler/Plugin.php on line 141
I was wondering if it had to do with file permissions but even afte rsetting everything to 777 its still not working. anybody may has a hint?
./psh.phar docker:start
runs fine, but ./psh.phar docker:ssh
gives the following error
Using .psh.yaml.dist
Starting Execution of 'docker:ssh' ('/home/benji/git/shopware/development/dev-ops/docker/actions/ssh.sh')
(1/1) Starting
> docker exec -i --env COLUMNS=`tput cols` --env LINES=`tput lines` -u 1000:998 -t bash
"docker exec" requires at least 2 arguments.
See 'docker exec --help'.
Usage: docker exec [OPTIONS] CONTAINER COMMAND [ARG...]
Run a command in a running container
Execution aborted, a subcommand failed!
$docker -v
Docker version 19.03.13, build 4484c46d9d
$docker-compose -v
docker-compose version 1.27.1, build 509cfb99
[2020-10-16 14:04:21] php.INFO: User Deprecated: The "Symfony\Component\Debug\DebugClassLoader" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\DebugClassLoader" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Symfony\\Component\\Debug\\DebugClassLoader\" class is deprecated since Symfony 4.4, use \"Symfony\\Component\\ErrorHandler\\DebugClassLoader\" instead. at /var/www/html/shopware6.test/vendor/symfony/debug/DebugClassLoader.php:16)"} []
[2020-10-16 14:04:21] request.INFO: Matched route "api.media.create". {"route":"api.media.create","route_parameters":{"_route":"api.media.create","_controller":"Shopware\\Core\\Framework\\Api\\Controller\\ApiController::create","entityName":"media","version":"3","path":""},"request_uri":"http://shopware6.test/api/v3/media","method":"POST"} []
[2020-10-16 14:04:21] php.INFO: User Deprecated: The "Symfony\Component\Debug\DebugClassLoader" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\DebugClassLoader" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The \"Symfony\\Component\\Debug\\DebugClassLoader\" class is deprecated since Symfony 4.4, use \"Symfony\\Component\\ErrorHandler\\DebugClassLoader\" instead. at /var/www/html/shopware6.test/vendor/symfony/debug/DebugClassLoader.php:16)"} []
[2020-10-16 14:04:21] request.INFO: Matched route "api.action.media.upload". {"route":"api.action.media.upload","route_parameters":{"_route":"api.action.media.upload","_controller":"Shopware\\Core\\Content\\Media\\Api\\MediaUploadController::upload","version":"2","mediaId":"4968e4a206634cb6b2939d4e925b2341"},"request_uri":"http://shopware6.test/api/v2/_action/media/4968e4a206634cb6b2939d4e925b2341/upload?extension=png&fileName=zaqq_logo_new-desk","method":"POST"} []
[2020-10-16 14:04:21] php.DEBUG: Warning: mkdir(): Permission denied {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\SilencedErrorContext: {\"severity\":2,\"file\":\"/var/www/html/shopware6.test/vendor/league/flysystem/src/Adapter/Local.php\",\"line\":103,\"trace\":[{\"file\":\"/var/www/html/shopware6.test/vendor/league/flysystem/src/Adapter/Local.php\",\"line\":156,\"function\":\"ensureDirectory\",\"class\":\"League\\\\Flysystem\\\\Adapter\\\\Local\",\"type\":\"->\"}],\"count\":1})"} []