https://www.spryker.com logo
Join Slack
Powered by
# help
  • r

    rich-camera-19306

    10/14/2019, 11:35 AM
    Hello! Anyone have faced this?
    Exception
    a
    • 2
    • 3
  • s

    sparse-kangaroo-34355

    10/14/2019, 11:42 AM
    Hi all, If I wanted to check the URL on loading the page (for example
    <http://shop.com/login|shop.com/login>
    ), how should I do that? In the indexController of that page? My scenario is: I have different login-Pages with different themes. When I am on the page
    <http://shop.com/carparts/login|shop.com/carparts/login>
    I want to see a different theme than if I go on
    <http://shop.com/bikeparts/login|shop.com/bikeparts/login>
    . Currently I can only check this during login (based on the company for the current customer). I want to extend this to checking the given URL/ parameter. Any thoughts on this? 🙂
    q
    w
    • 3
    • 5
  • h

    high-egg-38411

    10/14/2019, 2:11 PM
    Hi everyone. My team is working on updating our version of Spryker to the latest release. We've encountered some issues specifically with the FE build tools. First: We encountered an issue with memory when using
    npm run yves:watch
    , on file change we see:
    Copy code
    Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
    We've tried to address this by upgrading Node to 12.12.0 though Spryker does not seem to be compatible with this version. Has anyone else encountered the issue? Second: The first build from
    npm run yves:watch
    succeeds but is very slow and takes many minutes. The webpack config seems to separate tasks now for each store; our site has 6+ stores configured and this makes this impractical for development. Does anyone have a fix for this slowness or recommendations for us to try?
    q
    g
    • 3
    • 32
  • c

    curved-monkey-55395

    10/14/2019, 3:45 PM
    Hi — I am trying to add a discount to enable free shipping above 100€ total cart value. I tried to solve it with discounts and set up one as follows: - Cart Rule - Calculator Percentage Value 100 - Apply to Query String
    shipment-price = '0'
    - Condition:
    shipment-method = '1'
    However, the rule is not applied. Can you point me towards a possible solution?
    s
    a
    • 3
    • 10
  • s

    steep-receptionist-20341

    10/15/2019, 7:57 AM
    I stumbled over the “define” tag in some twig templates in the Demoshop. I figured out that it is a Spryker specific extension to Twig from the ShopUI Module, but looking at the code I could not figure out what it actually DOES. No documentation either. Can anyone enlighten me?
    a
    • 2
    • 3
  • f

    full-rocket-52349

    10/15/2019, 8:30 AM
    Hi everyone, is there an easy, fast way to increase the number of "valuefacets" in /catalog-search/ ? Currently there seems to be a limit of 10. However, we have significantly more values for some attributes. Thanks
    h
    a
    • 3
    • 4
  • a

    acoustic-businessperson-27970

    10/15/2019, 1:54 PM
    Hello all, I have a problem with TransChoice This piece of code :
    Copy code
    {% transchoice rating %}
                    product_review.summary.star|product_review.summary.stars
                {% endtranschoice %}
    Is showing :
    Copy code
    5 product_review.summary.star | product_review.summary.stars
    Instead of
    5 Stars
    Any idea what could be the reason?
    h
    • 2
    • 22
  • s

    silly-motherboard-93855

    10/16/2019, 7:21 AM
    How can we approach debugging
    Copy code
    Fatal error: Uncaught PhpAmqpLib\Exception\AMQPConnectionClosedException: Broken pipe or closed connection in /vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php:173
    m
    h
    w
    • 4
    • 24
  • m

    modern-carpenter-40176

    10/16/2019, 12:14 PM
    Hello all, I wish to set an already existing attribute as super-attribute, so we can access the value of the concrete product attribute in the
    catalog-search
    glue in
    superAttributes
    . So we changed the value of corresponding attribute
    is_super
    in the file
    product_localized_attributes.csv
    to 1. My question is: do you need to delete and recreate all products abstracts and concretes to see this change (attribute is_super=true) happening on Glue response, as per the "Current Constraints" part of this documentation https://documentation.spryker.com/capabilities/product_management/product/product-attributes.htm ? Thanks
    a
    • 2
    • 2
  • g

    green-yak-45366

    10/17/2019, 8:55 AM
    Hi, im relativeliy new with Spryker, but working in a Team on an actual Dev-System. At the Moment we have problems with the backend to show the category groups. https://testshop.com/category-gui/list throws an Ajax Error. which results from calling following request: https://testshop.com/category-gui/list/table?draw=1&amp;columns%5B0%5D%5Bdata%5D=0&amp;columns%5B0%5D%5Bname%5D=&amp;columns%5B0%5D%5Bsearchable%5D=true&amp;columns%5B0%5D%5Borderable%5D=true&amp;columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&amp;columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&amp;columns%5B1%5D%5Bdata%5D=1&amp;columns%5B1%5D%5Bname%5D=&amp;columns%5B1%5D%5Bsearchable%5D=true&amp;columns%5B1%5D%5Borderable%5D=true&amp;columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&amp;columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&amp;columns%5B2%5D%5Bdata%5D=2&amp;columns%5B2%5D%5Bname%5D=&amp;columns%5B2%5D%5Bsearchable%5D=true&amp;columns%5B2%5D%5Borderable%5D=true&amp;columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&amp;columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&amp;columns%5B3%5D%5Bdata%5D=3&amp;columns%5B3%5D%5Bname%5D=&amp;columns%5B3%5D%5Bsearchable%5D=true&amp;columns%5B3%5D%5Borderable%5D=true&amp;columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&amp;columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&amp;columns%5B4%5D%5Bdata%5D=4&amp;columns%5B4%5D%5Bname%5D=&amp;columns%5B4%5D%5Bsearchable%5D=true&amp;columns%5B4%5D%5Borderable%5D=true&amp;columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&amp;columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&amp;columns%5B5%5D%5Bdata%5D=5&amp;columns%5B5%5D%5Bname%5D=&amp;columns%5B5%5D%5Bsearchable%5D=true&amp;columns%5B5%5D%5Borderable%5D=true&amp;columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&amp;columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&amp;columns%5B6%5D%5Bdata%5D=6&amp;columns%5B6%5D%5Bname%5D=&amp;columns%5B6%5D%5Bsearchable%5D=true&amp;columns%5B6%5D%5Borderable%5D=true&amp;columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&amp;columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&amp;columns%5B7%5D%5Bdata%5D=7&amp;columns%5B7%5D%5Bname%5D=&amp;columns%5B7%5D%5Bsearchable%5D=true&amp;columns%5B7%5D%5Borderable%5D=false&amp;columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&amp;columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&amp;order%5B0%5D%5Bcolumn%5D=0&amp;order%5B0%5D%5Bdir%5D=asc&amp;start=0&amp;length=10&amp;search%5Bvalue%5D=&amp;search%5Bregex%5D=false&amp;_=1571302428907 which throws following SQL Exception: https://pastebin.com/jheWizTx
    s
    a
    • 3
    • 16
  • p

    powerful-wolf-20961

    10/17/2019, 10:32 AM
    Hi all! I'm using CategoryWriterStep to make an import and I want to modify url like this: /en/cat/subcat -> /en/subcat. My question is why Yves show me 404 Error, which can be the reasons? Also, I don't know what means node_order from spy_category_node
  • r

    rapid-diamond-82606

    10/17/2019, 10:56 AM
    Hi, is there a way to use rabbitmq without Admin rights? I get the following error when running vendor/bin/install and a rabbitmq host where I don't have Admin rights:
    Client error: "PUT <https://dove.rmq.cloudamqp.com/api/permissions/cacucmmu/cacucmmu>" resulted in a "401 Unauthorized" response:\n{\"error\":\"not_authorised\",\"reason\":\"Not administrator user
    s
    • 2
    • 6
  • b

    bitter-engineer-82580

    10/17/2019, 12:13 PM
    Hi is there a way to disable the translation from the Glue?
    a
    • 2
    • 1
  • g

    green-yak-45366

    10/17/2019, 12:36 PM
    Hi, are there some System Sizing recommendations for running Spryker? Wie are at the moment on Azure
    s
    r
    • 3
    • 2
  • g

    green-yak-45366

    10/17/2019, 2:43 PM
    Hi, another Database Question: When I try to edit an atribute of a product I get following exception:
    a
    f
    • 3
    • 8
  • s

    silly-motherboard-93855

    10/18/2019, 1:44 PM
    assets question: In https://documentation.spryker.com/front-end_developer_guide/legacy_demoshop/twig_templates/twig-best-practices.htm?Highlight=assets it's described how to add assets using vendor module. What if my module is in Pyz folder? how to add assets in that case?
  • m

    many-portugal-10683

    10/18/2019, 4:50 PM
    hello spryker community, anyone using glue api? what is your performance experience with it?
    h
    • 2
    • 7
  • s

    silly-motherboard-93855

    10/21/2019, 8:07 AM
    I started to have a lot of issues with js assets today when running `vendor/bin/console frontendzedbuild`:
    Copy code
    ERROR in ./vendor/spryker/gui/assets/Zed/js/modules/commons.js
    Module not found: Error: Can't resolve 'jquery-migrate/dist/jquery-migrate.min' in '/data/shop/development/current/vendor/spryker/gui/assets/Zed/js/modules'
     @ ./vendor/spryker/gui/assets/Zed/js/modules/commons.js 14:0-49
     @ ./vendor/spryker/gui/assets/Zed/js/spryker-zed-gui-commons.entry.js
    npm install nor install-dependencies commands do not fix the issue. How can I find out what's wrong/fix this?
    s
    h
    • 3
    • 11
  • g

    gray-engine-53418

    10/22/2019, 10:28 AM
    I have a P&S issue. The product data in ElasticSearch is out of sync with the database. I’m trying to sync it, but something is not going well. I tried to run
    Copy code
    vendor/bin/console sync:data product_abstract <id>
    , I get the following error.
    Copy code
    PHP Fatal error:  Allowed memory size of 2147483648 bytes exhausted (tried to allocate 20480 bytes) in /data/vendor/propel/propel/src/Propel/Runtime/Connection/StatementWrapper.php on line 238
    
    Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 20480 bytes) in /data/vendor/propel/propel/src/Propel/Runtime/Connection/StatementWrapper.php on line 238
    ErrorException - Exception: FATAL ERROR - Allowed memory size of 2147483648 bytes exhausted (tried to allocate 20480 bytes)
    in /data/vendor/propel/propel/src/Propel/Runtime/Connection/StatementWrapper.php (238)
    I triggered events for the products I want to sync, nothing changed. Do you have any suggestions about what can I try/check?
    r
    m
    • 3
    • 59
  • i

    incalculable-doctor-98070

    10/22/2019, 10:29 AM
    set MEMORY_LIMIT=-1 in your php cli ini or start the script with php -d MEMORY_LIMIT=-1
  • r

    rich-camera-19306

    10/22/2019, 10:31 AM
    And kill the server @incalculable-doctor-98070? Very smart…
  • r

    rich-camera-19306

    10/22/2019, 10:32 AM
    If it is not enough with 2gb ram, clearly there is application issue. Especially when syncing 1 product.
  • i

    incalculable-doctor-98070

    10/22/2019, 10:33 AM
    You are right, I didn't saw that is only one product.
    a
    • 2
    • 1
  • s

    sparse-kangaroo-34355

    10/22/2019, 2:16 PM
    Hi, a macOS question: I've just updated to Catalina. After that update I got the following error:
    mount.nfs: access denied by server while mounting 10.10.0.1:/Users/danielforbrich/shop/project
    - IP address of the vm didn't change. Anyone faced this already?
    a
    • 2
    • 3
  • a

    acoustic-motherboard-16553

    10/23/2019, 6:50 AM
    Good Morning, is it in the state machine possible to run parallel (as sub) processes and one of them is with timeout?
    p
    l
    • 3
    • 9
  • f

    full-motorcycle-97796

    10/23/2019, 1:29 PM
    Hi at all, how much memory need the console command “oms:check-condition”?
    a
    l
    c
    • 4
    • 5
  • e

    echoing-continent-95761

    10/24/2019, 8:16 AM
    Good morning, I have a question on Spryker's state machine: Does anybody know what the return value of the run method in CommandByOrderInterface means? Most implementations I've seen so far just return an empty array.
    q
    a
    • 3
    • 4
  • s

    silly-motherboard-93855

    10/24/2019, 8:18 AM
    can anyone tell what's wrong with this table?
    Copy code
    <?xml version="1.0"?>
    <database xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              name="zed" xsi:noNamespaceSchemaLocation="http://static.spryker.com/schema-01.xsd"
              namespace="Orm\Zed\CmsPageBlock\Persistence" package="src.Orm.Zed.CmsPageBlock.Persistence">
    
        <table name="spy_cms_page_block" idMethod="native" phpName="SpyCmsPageBlock">
            <column name="id_cms_page_block" required="true" type="INTEGER" autoIncrement="true" primaryKey="true"/>
            <column name="fk_cms_block" required="true" type="INTEGER"/>
            <column name="fk_cms_page" required="true" type="INTEGER"/>
            <column name="block_order" required="false" default="0" type="INTEGER"/>
    
            <foreign-key name="spy_cms_page_block-fk_cms_page" foreignTable="spy_cms_page">
                <reference foreign="id_cms_page" local="fk_cms_page"/>
            </foreign-key>
    
            <foreign-key name="spy_cms_page_block-fk_cms_block" foreignTable="spy_cms_block">
                <reference foreign="id_cms_block" local="fk_cms_block"/>
            </foreign-key>
    
            <unique name="spy_cms_page_block-unique-fk_cms_block">
                <unique-column name="fk_cms_block"/>
                <unique-column name="fk_cms_page"/>
            </unique>
                <id-method-parameter value="spy_cms_page_block_pk_seq"/>
        </table>
    </database>
    Asking because I get
    Copy code
    Executing migration PropelMigration_1571904554 up
    
    Propel\Runtime\Exception\RuntimeException - Exception: <error>Failed to execute SQL "ALTER TABLE "spy_cms_page_block" ADD CONSTRAINT "spy_cms_page_block-fk_cms_block"
    
        FOREIGN KEY ("fk_cms_block","fk_cms_block")
    
        REFERENCES "spy_cms_block" ("id_cms_block","id_cms_block")". Aborting migration.</error> 
    
    in /vendor/propel/propel/src/Propel/Generator/Command/MigrationMigrateCommand.php (150)
    
    Command: vendor/bin/console propel:install
    and I cannot figure out why
    a
    q
    • 3
    • 13
  • r

    rich-camera-19306

    10/24/2019, 1:42 PM
    Hello! We have a problem regarding product category sorting in elastic. In DB we have sort order of e.g. 5, but in elastic it is put as 1 (which is wrong). Triggering product update events is not fixing it, so there must be a bug in one of plugins. CC: @gray-engine-53418
    m
    r
    +4
    • 7
    • 26
  • c

    clean-glass-99425

    10/24/2019, 3:33 PM
    Is it correct that you can only unpublish but not delete CMS pages and blocks in the Zed UI?
    a
    w
    s
    • 4
    • 22
1...567...102Latest