Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    vithya-vijay
    @vithya-vijay
    E] Ext.JSON.decode(): You're trying to decode an invalid JSON String:
    log @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:1878
    ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:1879 Object
    ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:1880 console.trace
    log @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:1880
    ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:1566 Uncaught Error: You're trying to decode an invalid JSON String:
    at new Ext.Error (ext-all.js:1561)
    at Function.raise (ext-all.js:1566)
    at Object.Ext.raise (ext-all.js:1568)
    at Object.Ext.JSON.me.decode (ext-all.js:4065)
    at success (startup.js:81)
    at Object.callback (ext-all.js:1827)
    at constructor.onComplete (ext-all.js:2655)
    at constructor.onStateChange (ext-all.js:2652)
    at ext-all.js:2652
    at Object.elevate (ext-all.js:1547)
    DevTools failed to load source map: Could not load content for chrome-extension://kdfieneakcjfaiglcfcgkidlkmlijjnh/writer/js/angular-ui-router.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
    ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:2637 XHR finished loading: GET "https://pimcore-poc.dev.bfsgodirect.com/admin/notification/find-last-unread?_dc=1634876339014&lastUpdate=1634876309".
    start @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:2637
    request @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:2679
    pimcore.notification.helper.updateFromServer @ script-proxy?storageFile=minified_javascript_core_21f43701b6432f1ba11ee4f6500840c0.js&_dc=d946d800a3731359834f452b67290a33e4109fde:111211
    (anonymous) @ startup.js?_dc=d946d800a3731359834f452b67290a33e4109fde:1030
    ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:2637 XHR finished loading: GET "https://pimcore-poc.dev.bfsgodirect.com/admin/notification/find-last-unread?_dc=1634876369014&lastUpdate=1634876339".
    start @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:2637
    request @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:2679
    pimcore.notification.helper.updateFromServer @ script-proxy?storageFile=minified_javascript_core_21f43701b6432f1ba11ee4f6500840c0.js&_dc=d946d800a3731359834f452b67290a33e4109fde:111211
    (anonymous) @ startup.js?_dc=d946d800a3731359834f452b67290a33e4109fde:1030
    ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:2637 XHR finished loading: GET "https://pimcore-poc.dev.bfsgodirect.com/admin/notification/find-last-unread?_dc=1634876909013&lastUpdate=1634876369".
    start @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:2637
    request @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:2679
    pimcore.notification.helper.updateFromServer @ script-proxy?storageFile=minified_javascript_core_21f43701b6432f1ba11ee4f6500840c0.js&_dc=d946d800a3731359834f452b67290a33e4109fde:111211
    (anonymous) @ startup.js?_dc=d946d800a3731359834f452b67290a33e4109fde:1030
    while trying to add object getting below error in console. its only happening on chrome tab
    ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:2637 Uncaught DOMException: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://pimcore-poc.dev.bfsgodirect.com/admin/misc/get-valid-filename?_dc=1634877326570&value=test&type=object'.
    at constructor.start (https://pimcore-poc.dev.bfsgodirect.com/bundles/pimcoreadmin/extjs/js/ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:2637:27)
    at constructor.request (https://pimcore-poc.dev.bfsgodirect.com/bundles/pimcoreadmin/extjs/js/ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:2679:972)
    at Object.pimcore.helpers.getValidFilename (https://pimcore-poc.dev.bfsgodirect.com/admin/misc/script-proxy?storageFile=minified_javascript_core_21f43701b6432f1ba11ee4f6500840c0.js&_dc=d946d800a3731359834f452b67290a33e4109fde:3470:29)
    at Object.pimcore.elementservice.isKeyExistingInLevel (https://pimcore-poc.dev.bfsgodirect.com/admin/misc/script-proxy?storageFile=minified_javascript_core_21f43701b6432f1ba11ee4f6500840c0.js&_dc=d946d800a3731359834f452b67290a33e4109fde:2532:27)
    at klass.addObjectCreate (https://pimcore-poc.dev.bfsgodirect.com/admin/misc/script-proxy?storageFile=minified_javascript_core_21f43701b6432f1ba11ee4f6500840c0.js&_dc=d946d800a3731359834f452b67290a33e4109fde:97885:40)
    at Object.callback (https://pimcore-poc.dev.bfsgodirect.com/bundles/pimcoreadmin/extjs/js/ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:1827:134)
    at constructor.userCallback (https://pimcore-poc.dev.bfsgodirect.com/bundles/pimcoreadmin/extjs/js/ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:1735:160)
    at constructor.btnCallback (https://pimcore-poc.dev.bfsgodirect.com/bundles/pimcoreadmin/extjs/js/ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:10189:14)
    at Object.callback (https://pimcore-poc.dev.bfsgodirect.com/bundles/pimcoreadmin/extjs/js/ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:1827:134)
    at constructor.fireHandler (https://pimcore-poc.dev.bfsgodirect.com/bundles/pimcoreadmin/extjs/js/ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:8936:359)
    start @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:2637
    request @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:2679
    pimcore.helpers.getValidFilename @ script-proxy?storageFile=minified_javascript_core_21f43701b6432f1ba11ee4f6500840c0.js&_dc=d946d800a3731359834f452b67290a33e4109fde:3470
    pimcore.elementservice.isKeyExistingInLevel @ script-proxy?storageFile=minified_javascript_core_21f43701b6432f1ba11ee4f6500840c0.js&_dc=d946d800a3731359834f452b67290a33e4109fde:2532
    addObjectCreate @ script-proxy?storageFile=minified_javascript_core_21f43701b6432f1ba11ee4f6500840c0.js&_dc=d946d800a3731359834f452b67290a33e4109fde:97885
    callback @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:1827
    (anonymous) @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:1735
    btnCallback @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:10189
    callback @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:1827
    fireHandler @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:8936
    onClick @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:8936
    fire @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:2407
    fire @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:3087
    publish @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:3085
    publishDelegatedDomEvent @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:3086
    doDelegatedEvent @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:3087
    onDelegatedEvent @ ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:3087
    ext-all.js?_dc=d946d800a3731359834f452b67290a33e4109fde:2637 XHR finished loading: GET "https://pimcore-poc.dev.bfsgodirect.com/admin/notification/find-last-unread?_dc=1634877329013&lastUpdate=1634876909".
    Chris Jung
    @campino2k
    Is there any best practice to install pimcore x on Amazon Linux 2?
    ncode_99
    @ncode_99:matrix.org
    [m]
    Hello, i'm getting a 'No route found for GET /en/path/to/document' when trying to access pimcore documents/pages. It happens in both editmode ( preview ) and front end mode. And what is weird its not for all pages but just some. There is no problems in code, since locally everything works as it should, but on other servers it does not. So, some pages do work, and some don't. And i can't find any difference between those pages that work and those that dont, in config or code
    ncode_99
    @ncode_99:matrix.org
    [m]
    Okay
    Thanks for the help!
    Patrick Rupp
    @patrick.rupp_gitlab
    Does anybody know of a way to provide an alternative link inside of a newsletter to view it inside of a browser? Basically I just added an action where the newsletter documents id is passed so that I can render it myself. The problem doing it this way is that I can't access user data inside of the template, but I have personalized newsletters.
    Om Bissa
    @opbissa_twitter
    Any help on how I can add discount to cart amount on basis of user's email domain? in Pricing rule there is no way to identify the user's email and apply discount on basis of that?
    Skynet Jamnagar
    @skynetjam

    Hi guys,

    I m getting this error can anyone help

    Unable to read file from location: object/g0/22/15.bin. fopen(F:\\xampp\\htdocs\\appointdemo\\appointBook/var/versions\\object/g0/22/15.bin): Failed to open stream: No such file or directory

    but the file is already there

    Jean-Denis
    @jdsgs
    @skynetjam check the rights on the file, it already happens to me that the group (www-data) did not have the rights
    1 reply
    Skynet Jamnagar
    @skynetjam

    Hello guys,

    Can anyone help my customer save function is not working
    can anyone tell whats wrong i been stuck

     public function addAction(
            Request $request,
            CustomerProviderInterface $customerProvider){
            if (0 === strpos($request->headers->get('Content-Type'), 'application/json')) {
                $data = json_decode($request->getContent());
            }
            \Pimcore\Model\Version::disable();
            $customer = $customerProvider->create();
            $data->profiling=true;
            $data->oAuthKey=false;
            $customer->setActive(true);
            $customer->setFirstname($data->firstName);
            $customer->setLastname($data->lastName);
            $customer->setEmail($data->email);
            $customer->setStreet('street');
            $customer->setZip('361005');
            $customer->setCity('jamnagar');
            $customer->setGender('male');
            $customer->setPassword('1234567890');
            $customer->setCustomerLanguage($request->getLocale());
            //$customer->setParentId(54);
            $customer->setPublished(true);
            $customer->setCountryCode('IN');
            //$customer->setProfiling($data->profiling);
            $customer->saveDirty(false);
            try {
    
    
                //check if special redirect is necessary
    
                //$response = $this->redirectToRoute('account-index');
    
                return $this->json(["success" => true, "data" => $customer,'response'=>"success"]);
            }
    
            catch (\Exception $e) {
                $errors = $e->getMessage();
            }
            return $this->json(["success" => false, "data" => $errors]);
    
        }
    4 replies
    Chris Jung
    @campino2k
    Anyone an Idea what to do with the namespace transition from appbundle to app when using these controllers in documents?
    Florian Reiner
    @freiner
    Hi everyone. I'm having trouble configuring the mailer on local environment. Setup is: Pimcore 10.2, mailhog (localhost:1025).
    I configured the main transport via framwork.mailer.transports.main: smtp://localhost:1025
    And set the sender
    Both in config.yaml
    Can anybody provide an example that might work for me?
    mailhog is installed via DDEV
    Status: 500 | Internal Server Error
    URL: /admin/email/send-test-email
    Method: post
    Message: Call to a member function send() on null
    Trace: 
    in /var/www/html/vendor/pimcore/pimcore/lib/Mail.php:572
    #0 /var/www/html/vendor/pimcore/pimcore/lib/Mail.php(505): Pimcore\Mail->sendWithoutRendering(NULL)
    #1 /var/www/html/vendor/pimcore/pimcore/bundles/AdminBundle/Controller/Admin/EmailController.php(433): Pimcore\Mail->send()
    #2 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(156): Pimcore\Bundle\AdminBundle\Controller\Admin\EmailController->sendTestEmailAction(Object(Symfony\Component\HttpFoundation\Request))
    #3 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(78): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
    #4 /var/www/html/vendor/symfony/http-kernel/Kernel.php(199): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
    #5 /var/www/html/public/index.php(36): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
    #6 {main}
    Seems like the mailer is not set/null.
    frithjof
    @frithjof
    is %Text(name); in email templates text not working anymore?
    1 reply
    Florian Reiner
    @freiner
    I found out, the issues stems from the command SendmailTransport.php receives. Not having on of the flags -t or -bs throws an exception which in turn prevents the mailer from being assigned via \Pimcore::getContainer()->get(Mailer::class); which is used in Mail.php
    🧐
    Florian Reiner
    @freiner
    Pimcore is using native transport, meaning php.ini sendmail_path. The question is: How do I change it to "use smtp via the mailer config"... Let's see...
    Florian Reiner
    @freiner
    So if sendmail_path in php.ini is set it will be used. Wowzers
    Patrick Puecher
    @puecher
    Hi, did anyone had problems with Pimcores 6 data cache? Seems that sometimes flushing Pimcores data cache uses too much CPU (up to 100%). Deactivating Redis DELETE cache_tags runs sometimes for more than 2 minutes. Thanks.
    3 replies
    Kenneth
    @pitcher-kenneth_gitlab

    Hey guys, quick question regarding a templating issue I am running into (Pimcore X):

    I have several AreaBricks, ie: Content, Header and an usp, all these Areabricks have a common editable with the name title . This is no issue when using the pimcore_areablock function.

    However, when I Include these areabricks in a 'fixed' setup, the blocks individually load, but together give an error that the title editable is a duplicate, Which makes sense.

    The template has multiple instances of the content brick which means that a simple rename in the content brick to a 'per-brick' unique editable name would not work:

    Header : title
    Content : title
    usp : title
    Content 2 : title
    Content 3 : title
    Header : header-title
    Content : content-title
    usp : usp-title
    Content 2 : content-title
    Content 3 : content-title

    Is there a way for fix this without renaming the editables? Am I perhaps missing something? Thanks in advance!

    4 replies
    Chauhan Mukesh
    @Chauhan-Mukesh
    hi can anyone please tell me how do i disable the PIMCORE X dataObject "autoSave"
    Chauhan Mukesh
    @Chauhan-Mukesh
    how to disable pimcore x autosave
    3 replies
    Jp
    @VeiJar1
    Hey, is there a way to find a data object model by advanced many to many relation object and specific metadata field value?
    2 replies
    opbissa
    @opbissa
    can someone help, how I can limit the logging to error only in development mode? currently everything is being logged in dev.log file and it's really hard to find actual errors.
    Hendrik Hoekstra
    @admin97_gitlab
    What is (will be) the alternative for Deprecated Tag & Snippet Management? pimcore/pimcore#7211
    What is the reason to remove this feature?
    2 replies
    JustMe69
    @JustMe69

    good morning!
    I want to achieve the following:
    (pimcoreX and coreshop 3)
    There are different products like TShirts and Shoes, all with different attributes.
    Each variant of a product (ie Tshirt blue in XL or black in S) results in another product-price.
    You could say - each variant is a product-option with a price. Options combined (blue with XL | black with S) result in a different product-price.
    each product-type (TShirt|Shoes) could have more than 1 attribute defined as variant/option.
    I need the possibility to define for each option/variant a unique product-price.

    Where and how to set the price-definiton for the variant? So that coreshop could recognize/calculate it?
    In an objectbrick - I cannot put a storeValue (price) for it as separate attribute.
    Is it better to define variants - or are options a better way?
    How to define theese options?
    Did you have/had any similar definitions needed in pimcore/coreshop? How did you solve it?

    In coreshop 2-doc I see something like:
    https://docs.coreshop.org/2.1.0/Development/Products/Multiple_Product_DataObjects.html
    but there are no product options/variants with different prices

    Any help appreciated

    6 replies
    Hendrik Hoekstra
    @admin97_gitlab
    Can Fieldcollection definitions contain panels, so that the fields can be shown side by side?
    e.g.
    Region
      Panel (left)
         Field left 1
         Field left 2
      Panel (right)
         Field right 3
         Field right 4
    1 reply
    Gabriele Piccinnu
    @gabrielepiccinnu
    Is possible setup last version of Pimcore in local environment like Laragon? Thanks anticipally
    JustMe69
    @JustMe69
    grafik.png
    just as an answer to my previous post
    JustMe69
    @JustMe69
    grafik.png
    clicking on 'Operator Store Price' shows error: This element cannot be edited
    4 replies
    Jp
    @VeiJar1
    Hey, is there a way to continue command execution even if I get Guzzle RequestException?
    1 reply
    Michael Frank
    @ITspirit

    Hello,
    i´ve a class "Article" with a lot of fields.
    i´ve already defined two custom views, which shows less fields.
    One of these custom views is defined as "default view".
    But i always get showed the "Master" View.

    I´ve checked everything. Database has it as default view, all is deployed perfectly.

    Or is it - now - a feature, so that if i am an "Admin" User it will ignore these default view setting?? (haven´t dived deeper in the core code, sorry for that). But maybe someone has a sufficient answser for me?

    1 reply
    growquickly
    @growquickly
    Can anyone please help what will be the answer of this question I have been stuck on this for last 2 weeks
    Question 2: What steps are necessary to set up permissions which allow someone to access particular data objects? ('Define data object workspace for user (or assigned role).; Give user (or assigned role) 'objects' permission.')
    sarelvdm
    @sarelvdm

    Hello, Im new to Pimcore. Does Pimcore store product information example Acer Notebook with its model number in its database. Im busy with an e-commerce website and looking for product information (Images, technical spec etc). Places like icecat does store these type of information and you can access it via URL and decode the json structure.

    any feedback would be appreciated, looking for an opensource db that I can query . thanks

    2 replies
    Jean-Denis
    @jdsgs
    @growquickly In which part of the certification do you have this question ?
    Jean-Denis
    @jdsgs
    @sarelvdm Pimcore can store whatever you want in the database, you have to create your objects depending of your needs
    sarelvdm
    @sarelvdm
    @jdsgs I looking for the actual data of the supplier. Images weight size and specifications of the product. I have the supplier model number
    frithjof
    @frithjof
    @sarelvdm i think you did not understand what pimcore is ... it helps you build such a db yourself not query existing databases
    i think you are looking for something like https://icecat.biz/de
    rohi
    @irojasfs
    hi all, can you help me, how can I have a typical role crud to create and assign custom roles to customers in the frontend if I am using Customer Management Framework?
    I'm working with pimcore 10, thanks in advance.
    JustMe69
    @JustMe69
    grafik.png