Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Joris Ros
    @jorisros
    Yes i have to click on it. My bad
    @rajesh17692 it seems that he tries to start the installer
    rajesh17692
    @rajesh17692
    Pimcore 5.2.3
    all was working perfactly but don't know why we are getting this screen after login and server gives 502 server error
    Joris Ros
    @jorisros
    He starts the installer when he cant find the system.php, but i have difficulty to see what the relation is with the workflow-gui-bundle
    rajesh17692
    @rajesh17692
    just after deleting cache files from cache folder and running cache clean command cause this issue
    Joris Ros
    @jorisros
    Ah and the gui needed a clear cache to apply the new setting
    rajesh17692
    @rajesh17692
    we change config for email to take effect of that we need to clean cache but now facing this issue
    this was working from very long perfectly
    not getting what caused this error
    Joris Ros
    @jorisros
    Missing the system.php?
    rajesh17692
    @rajesh17692
    no it's their
    Joris Ros
    @jorisros
    uhm
    rajesh17692
    @rajesh17692

    We are getting the below error in php.log file

    #0 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php(141): Symfony\Component\DependencyInjection\Compiler\ResolveBindingsPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))


    #1 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php(778): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Symfony\Component\DependencyInjection\ContainerBuilder))


    #2 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(643): Symfony\Component\DependencyInjection\ContainerBuilder->compile()

    in /var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/ResolveBindingsPass.php on line 48

    [20-Oct-2020 01:51:09 America/Los_Angeles] PHP Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: Unused binding "Symfony\Contracts\HttpClient\HttpClientInterface" in service "instanceof.Monolog\Handler\HandlerInterface.0.Pimcore\Log\Handler\ApplicationLoggerDb". in /var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/ResolveBindingsPass.php:48

    Joris Ros
    @jorisros
    And if you disable the bundle, you got still that error?
    rajesh17692
    @rajesh17692
    debuged and found that bin/console command not working any idea
    Joris Ros
    @jorisros
    did you set the correct environment ?
    --env=prod
    rajesh17692
    @rajesh17692
    yes
    rajesh17692
    @rajesh17692

    ocramius/package-versions: ...done generating version class

    Pimcore\Composer::postUpdate

    Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache

    Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the symfony-scripts event terminated with an exception

    [RuntimeException]

    An error occurred when executing the "'cache:clear --no-warmup'" command:

    install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...

    Joris Ros
    @jorisros
    and if you give the -vvv command to have more verbose information?
    rajesh17692
    @rajesh17692
    composer update creating issue
    after composer update bin/console command not working
    vineeth
    @vineeth5_twitter
    Hi Guys,
    How can i preview 3D image in Pimcore? I have got 3D images with extension glb.
    samihult
    @samihult
    Hi! Is there a reason why I can’t find PHP API documentation anymore? They used to be found at pimcore.com/docs/api
    Marcus Haase
    @HaaseIT
    Morning. Why is it, that when I remove a brick on a page, the data still remains in the db? If I re-add the brick or add another brick with the same fieldnames, the data will be reassigned to the new brick. Is there any way to disable that behaviour?
    4 replies
    Adrian Pintilei
    @pintilei
    Hi guys, I have an issue with some custom routes that I define in a separate controller via annotations. Everything works fine, json response is sent back but pimcore logs this as an 500 error in Marketing -> Search Engine Optimizations -> Http errors. The way i send the response is: $response = JsonResponse::create( $return ); $response->send();.
    If i put "exit;" after the send function everything is fine, but shouldn't the send function stop the execution by default? Any ideas? Thank you!
    lukasvitroleracc
    @lukasvitroleracc
    why not just:
    return $response ?
    instead of sending it
    Frederik Hulleman
    @f.hulleman_gitlab

    Hi everyone, to me, as a beginner, the documentation on link generators (for object classes) is a bit limited: https://pimcore.com/docs/pimcore/current/Development_Documentation/Objects/Object_Classes/Class_Settings/Link_Generator.html

    My questions:

    • in the example on this page: where should the AbstractProductLinkGenerator class come from?
    • what should the generate method return? A URL?
    • Where should I build the code to show the object's content to the viewer of the link?

    Who can help? Thanks a lot!

    Thomas Gravel
    @gravel_thomas_twitter
    Hi, is there a docu or skeleton to create own modules with backend elements
    lpiccini21
    @lpiccini21

    Hi everyoine, I found issue to show image thumbnail on twig template:

    {% set asset = asset('/Loghi/Logo.png') %}
                            {{ asset.getThumbnail({
                                width: 500,
                                format: 'png'
                            }).getHtml() | raw }}

    the code above return an errore:
    Impossible to invoke a method ("getThumbnail") on a string variable ("/Loghi/Logo.png").

    Thank you for the help

    6 replies
    vineeth
    @vineeth5_twitter

    Hi Guys,
    How can i preview 3D image in Pimcore? I have got 3D images with extension glb.

    Do any one have idea about this????

    Ibrahim1238
    @Ibrahim1238
    Hallo ,do you how i can implement Payment Methods with Pimcore 6?
    2 replies
    Marcus Haase
    @HaaseIT
    @Ibrahim1238 Why do you add your question to threads with other topics?
    I cannot answer your question unfortunately, but I am sure, once someone who does, he will answer.
    lancedouglas1
    @lancedouglas1
    Brightday - PIM-MDM-bricks.png

    Hello everyone. I'm considering Pimcore for a new multivendor marketplace. The only thing that I haven't seen demonstrated in the documentation and videos is the ability to have skip-logic applied to which data is required to be provided in a product form based on specific attributes/facets applied. E.g. all products have common fields, but products wishing to be sold in different interfaces may require additional information be associated with the product. I want to enable vendors to add their own products and chose the interfaces they wish to sell in (retail, wholesale, direct-to-company-x, location-a combined with website 11, etc).

    Is this something achievable with the class hierarchy of Pimcore? Basically I want to have a MDM+PIM and depending on the attributes selected by the vendor, the fields either become required or not.

    I'd like to handle this at the vendor side, when they are adding and managing their product, but am aware that I could create a separate application for managing the workflow of product creation and management that forces particular process depending on variable.

    Here is a very abstract image of the goal.

    2 replies
    Andreas Sinz
    @d3xter
    Hey guys, I've got a rather strange Problem. I'm trying to get the Navigation Tree with Navigation\Builder. The document url /de_CH/Seite1 is turned into /de-ch/Seite1, but /de_CH2/Seite1 stays the same. Does Pimcore change the Urls when they contain a locale?
    Marcus Haase
    @HaaseIT
    So, is it possible to get a list of pages that have a property with a certain value? Like: $pages = Page::getList(['properties' => ['propertyName' => 'propertyValue']]);
    1 reply
    lancedouglas1
    @lancedouglas1
    Anyone experiencing this browser error using NGINX with recommended settings, causing clean installations to not be usable:
    Content Security Policy directive: "default-src 'self'". Note that 'style-src-elem' was not explicitly set, so 'default-src' is used as a fallback.
    You need to change or comment out this line in your NGINX config: add_header Content-Security-Policy "default-src 'self';" always;
    Ayman R. Hussein
    @arh922__twitter
    Hello All, I added organization data object and i want to add many-to-many relation with customer and i want to add extra field like primary to this relation, that's mean when add multi customer to organization i want to set one of them as primary. could you please help me? Thanks!
    Jakub Plesník
    @PlesnikJakub
    Hi guys, maybe a stupid question, I am developing a system where User will have access to specific DataObjects through API. My question is how can I create N:M relationship between DataObject and User? Or do you suggest a different approach on how to verify users has access to specific objects?
    lancedouglas1
    @lancedouglas1

    Hello All, I added organization data object and i want to add many-to-many relation with customer and i want to add extra field like primary to this relation, that's mean when add multi customer to organization i want to set one of them as primary. could you please help me? Thanks!

    Ayman, I'm new here, but I would see that as an additional one-to-one relation against the organization between a user and the organization, filtered by users that are actively members of (related to) the organization.

    lancedouglas1
    @lancedouglas1

    On a clean Pimcore install of skeleton, I see an error in the browser dev console:
    Uncaught Error: You're trying to decode an invalid JSON String: aus
    in file: ext-all.js

    This is the full stack trace:
    Uncaught Error: You're trying to decode an invalid JSON String: aus at new Ext.Error (ext-all.js?_dc=e2d8837a46ce0a99711be8cc5927418bb221286b:22) at Function.raise (ext-all.js?_dc=e2d8837a46ce0a99711be8cc5927418bb221286b:22) at Object.Ext.raise (ext-all.js?_dc=e2d8837a46ce0a99711be8cc5927418bb221286b:22) at Object.Ext.JSON.me.decode (ext-all.js?_dc=e2d8837a46ce0a99711be8cc5927418bb221286b:22) at XMLHttpRequest.request.onload (startup.js?_dc=e2d8837a46ce0a99711be8cc5927418bb221286b:489)

    lancedouglas1
    @lancedouglas1

    Every time I try to create a new instance of an object or a folder for objects (clean skeleton and clean demo tried) i get a similar browser console error to this, no errors in the app, nor anything that seems to occur at the same time in any of the files in var/logs.
    Uncaught DOMException: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://dxm.travtrax.com/admin/misc/get-valid-filename?_dc=1604012497264&value=Lance&type=object
    However, opening that url directly in the browser returns a json object {"filename":"Lance"}

    Is there a stable working installation recipe for Pimcore? One that is fully regression tested, and considers versions of all the dependencies?

    Manuel St.
    @manuakasam

    Hey guys, we're experiencing an interesting error on our installation:
    /admin/ was loaded over HTTPS, but requested an insecure frame /frontend/some-page

    The Admin UI appears to load the editmode-pages over HTTP instead of HTTPS - ANY Idea of where I'd be looking for an error/fix? ^^

    1 reply
    Sebastian Thomas
    @seybsen

    @lancedouglas1 I updated my installation to 6.8.4 today and have experienced the same issue in my dev env when opening a folder of data objects in admin UI:

    Error in console:
    [WARN] Unable to parse the JSON returned by the server

    Last ajax call's URL: /admin/object/tree-get-childs-by-id?_dc=1604075357437&limit=30&view=&fromPaging=0&start=0&node=96

    ...some valid json here...,"inSearch":0}<br />
    <b>Fatal error</b>:  Uncaught ErrorException: Warning: Cannot bind closure to scope of internal class ReflectionProperty in /var/www/html/var/cache/dev/ContainerXXCSQ1z/EntityManager_9a5be93.php:377
    Stack trace:
    #0 [internal function]: EntityManager_9a5be93-&gt;__get('config')
    #1 /var/www/html/vendor/myclabs/deep-copy/src/DeepCopy/DeepCopy.php(249): ReflectionProperty-&gt;getValue(Object(EntityManager_9a5be93))

    I'm stuck here ... :-/