I have a frontend application login with Pimcore backend users. But I am having problems when creating objects with the datahub, the \Pimcore\Tool\Admin::getCurrentUser(); always returns null when set the userOwner property. But when I create the objects with the PHP Api it sets the property correctly, with the user logged in.
Any idea how to solve it, thanks.
I am trying to install Portal Engine based on https://pimcore.com/docs/portal-engine/current/Installation/Installation.html.
When I try to install Enterprise Metadata Bundle as described in https://pimcore.com/docs/asset-metadata/current/Installation.html (composer require pimcore/asset-metadata-class-definitions) I get the following error:
[InvalidArgumentException] Could not find a matching version of package pimcore/asset-metadata-class-definitions. Check the package spelling, your version constraint and that the package is available in a s tability which matches your minimum-stability (stable).
E_USER_DEPRECATEDin my logs, but they show up when I have
level: infoin my
monolog.yml. How come?
monolog: handlers: main: type: amqp exchange: 'PhpAmqpLib\Channel\AMQPChannel' exchange_name: 'logs' formatter: 'Monolog\Formatter\JsonFormatter' level: info
I am trying to find the CSS files which are responsible for displaying pimcore-demo frontend.
I thought that pimcore-demo uses builder or smth else to build css files (e.g. /web/static/css/global.css) but after hours of searching I still cannot find a dedicated variables.css file or special css-built logic. Also I do not understand how to change bootstrap variables such as container width for a specific screen width.
Did developers of pimcore-demo project just put all the CSS code into one file and didn't use any preprocessing and building tools?
Thanks for help.
Hello, in pimcore v6.8 , If I am creating folder for dataobject, I am getting below error.
Call to undefined method getClassName in class Pimcore\Model\DataObject\Folder
but when I refresh, folder is displayed.Unable to trace the reason of the error.
Anybody have solution..please help.
I'm using pimcore 6.8.10 and coreshop 2.2.9
I'm trying to set perspectives. Im just renaming app/config/pimcore/perspectives.example.php to app/config/pimcore/perspectives.php
On login I get error (in log-file):
User sqadmin is not allowed requested perspective . Falling back to default.
pimcore shows up normally
User sqadmin is defined as admin-User
In file-menu I don't have any perspectives - not even menu item perspectives.
What's wrong?, any ideas?
after deploying new/changed stuff from dev to test-env, I got error from backend.
I see login-page for admin.
After login I get:
GET /js/routing?callback=fos.Router.setData net::ERR_ABORTED 500 (Internal Server Error) GET /admin/Ext/ux/form/MultiSelect.js?_dc=1605606152097 net::ERR_ABORTED 500 (Internal Server Error) Uncaught Error: The route "pimcore_admin_document_document_doctypesget" does not exist. at Router.getRoute (router.js:272) at Router.generate (router.js:289) at startup.js?_dc=e2d8837a46ce0a99711be8cc5927418bb221286b:319 at Object.invoke (ext-all.js?_dc=e2d8837a46ce0a99711be8cc5927418bb221286b:22) at Object.doInvokeAll (ext-all.js?_dc=e2d8837a46ce0a99711be8cc5927418bb221286b:22) at Object.invokeAll (ext-all.js?_dc=e2d8837a46ce0a99711be8cc5927418bb221286b:22) at Object.unblock (ext-all.js?_dc=e2d8837a46ce0a99711be8cc5927418bb221286b:22) at Object.triggerReady (ext-all.js?_dc=e2d8837a46ce0a99711be8cc5927418bb221286b:22) at Object.checkReady (ext-all.js?_dc=e2d8837a46ce0a99711be8cc5927418bb221286b:22) at Object.load (ext-all.js?_dc=e2d8837a46ce0a99711be8cc5927418bb221286b:22)
I deployed with:
git pull composer install bin/console pimcore:deployment:classes-rebuild bin/console pimcore:cache:clear bin/console cache:clear
Do I miss something? How do I get this error fixed?
And yes, this Env has been working
Frontend is working
Any help appreciated
I am facing the same issue, anyone can help?
I uploaded a picture incorrectly and since then trying to go to Pimcore from the browser gives me this error:
at ParameterBag->resolveValue(array(array('branding' => array('color_login_screen' => '#303030', 'color_admin_interface' => '#303030', 'login_screen_custom_image' => 'https://www.google.com/url?sa=i&url=https%3A%2F%2Fmammoth.co%2Fproducts%2Fgrizzly-02&psig=AOvVaw067-Q4fnOZxjcMhsoXFry2&ust=1618598511698000&source=images&cd=vfe&ved=0CAIQjRxqFwoTCICV37zzgPACFQAAAAAdAAAAABAD', 'login_screen_invert_colors' => false))))
in MergeExtensionConfigurationPass.php line 62
How do I fix this?
The content migration between environments is not provided by Pimcore and it's not recommended at all.
The content should be created by editors in the production environment and visibility on the frontend can be managed by built-in features like publishing / unpublishing / versioning / scheduling / preview the effect in editmode.
Therefore, editors shouldn't work on different stages.
Of course, the content migration is possible but this is always a very individual task depending on data model, environments and use cases.
If you need some kind of content migration utilize the PHP API for assets, objects and documents for doing so.