:point_up: Edit: Hello Everyone,
We are stuck on strange issue on pimcore login page.
https://pimcore-admin.ournights.rocks/admin/
The response I see in browser. is mentioned below.
{"status":-2,"error":"Access deny","message":"Access deny"}
I also checked error logs on sever, which are mentioned below.
security.ERROR: Detected CSRF attack on /admin/login/login {"request":"/admin/login/login"} \[\]
10.244.2.113 - 19/Oct/2022:12:38:51 +0000 "POST /index.php" 401
Any help how to fix it is highly appreciated.
Have a good day.
:point_up: Edit: Hello Everyone,
We are stuck on strange issue on pimcore login page.
https://pimcore-admin.ournights.rocks/admin/
The response I see in browser. is mentioned below.
{"status":-2,"error":"Access deny","message":"Access deny"}
I also checked error logs on sever, which are mentioned below.
10.244.2.113 - 19/Oct/2022:12:38:51 +0000 "POST /index.php" 401
Any help how to fix it is highly appreciated.
Have a good day.
:point_up: Edit: Hello Everyone,
We are stuck on strange issue on pimcore login page.
https://pimcore-admin.ournights.rocks/admin/
The response I see in browser. is mentioned below.{"status":-2,"error":"Access deny","message":"Access deny"}
I also checked error logs on sever, which are mentioned below.
10.244.2.113 - 19/Oct/2022:12:38:30 +0000 "GET /index.php" 200
[2022-10-19T14:38:51.896710+02:00] security.ERROR: Detected CSRF attack on /admin/login/login {"request":"/admin/login/login"} []
10.244.2.113 - 19/Oct/2022:12:38:51 +0000 "POST /index.php" 401
Any help how to fix it is highly appreciated.
Have a good day.
Helloo!!
I'm trying to add a button to save and reload to the object template, is there a way to force save waiting before reload? Here the instruction I'm using
this.object.save();
this.object.reload();
At the moment the object is reloading without waiting so I can't see the updates
Any help?
Hello everybody,
We had a problem with our staging DB so we decided to restore a backup, but since then, the UI is not loading when we try to open some specific object in the tree, instead, we get an error.
Fortunately, when we check the logs, we get the following exception, does anyone have any clue why this could be happening?
[2022-11-07T18:14:06.018596+01:00] pimcore.ERROR: Defuse\Crypto\Exception\WrongKeyOrModifiedCiphertextException: Bad version header. in /var/www/html/vendor/defuse/php-encryption/src/Crypto.php:315 Stack trace: #0 /var/www/html/vendor/defuse/php-encryption/src/Crypto.php(113): Defuse\Crypto\Crypto::decryptInternal(...
[2022-11-07T18:14:06.020951+01:00] pimcore.EMERGENCY: Exception: encrypted field venueAvailableWeekdays cannot be decoded in /var/www/html/vendor/pimcore/pimcore/models/DataObject/ClassDefinition/Data/EncryptedField.php:185 Stack trace: #0 /var/www/html/vendor/pimcore/pimcore/models/DataObject/ClassDefinition/Data/EncryptedField.php(207): Pimcore\Model\DataObject\ClassDefinition\Data\EncryptedField->decrypt(...
Thank you so much
Hello,
I'm facing error on product listing. When I'm selecting item per page 1000 it's not working and giving Status: 0 | communication failure
Timestamp: Wed Nov 09 2022 11:39:50 GMT+0530 (India Standard Time)
Status: 0 | communication failure
URL: /admin/object/grid-proxy?classId=2&folderId=244&xaction=read&_dc=1667974160325
Method: GET
Message:
Can any one help me on that
Hello mates!
I try to use the pimcore_inline_script(). I have a TWIG Template where I want to use it. I found the following example in the pc demo:
{% do pimcore_inline_script().appendScript("
$('#js_filterfield .custom-checkbox input, #js_filterfield .custom-radio input').on('change', function() {
$('#js_filterfield').submit();
});
") %}
This example doesn't work, because it doesn't insert the script code in the rendered page. No error, no content.
Aaahhh.... and if I change the code above from {% do
to {{
like this:
{{ pimcore_head_script().appendFile('/my/script/path.js','text/javascript')|raw }}
The script path will insert (directly in the content). So it looks like the helper function itself runs.
Have anyone an idea how I get this up running? Any ideas are welcome 👊
hi guys, quick Q: I have a (php) Listener class in which I need to know if i'm currently in admin edit page for a data object (similar to 'editmode' var in twig)... how to do this check in php?
Inside a Controller the editmode is available:
$this->editmode
but how to get this in a class that's not a controller (ie a listener class / any other class)?
Hello All,
I am pursuing pimcore senior developer certification, but i am stuck in one question - What information is part of output cache key? in Caching chapter.
options are -
Parameters
URL
WebP Support
Screen resolution
As per my knowledge from chapter tutorial the answer should be URL and WebP Support, but it is not.
Kindly help me with this questions concept.
Thanks in advance.
As we know that in PIMCORE "Block Data type" get save in to a sigle column in "object_store_classID" table in serialized format.
I need to do data migration for "Block data type" field. As through pimcore object save it is taking too much of time, so I changed the approach and doing directly through sql query and saving serialized data directly in to table.
All the data get saved in specified format(serialized) in to "object_store_classID" table through sql queries but block field data not getting visible on frontend (Pimcore admin interface). I saved Data in to "Store" and "dependencies" table.
Can anybody help me to identify If I am missing anything here or any dependent tables related to "Block data type" field?
Thorugh Pimcore admin interface, If I am saving any data in "Block data type" field it is getting saved in to single column in serialized format and visible to frontend (admin interface).
However same seriazed format data if I am copying from above object and saved in to other object directly in to Table, it is not visible on frontend (Admin interface).
Hope I am clear with my points!
Hi, I have a problem in the backend that I don't know exactly where to start debugging. Would be nice if someone could give me a jump start.
When I want to open some data objects in the backend, I get the following error message. That's it with infos I can give :/ other objects of this kind work ...
Hi everyone, I'm currently doing my Junior Dev Certification and only have one question left:
What can be defined via permissions out of the box in Pimcore Admin Interface?
Answers:
.Field based permissions in data objects.
Access rules based on property values of elements.
Permissions to most of main menu entries.
Access rules for Pimcore elements via workspaces.
Visible Custom Layouts and Perspectives.
With "via permissions", does it mean the element "Permissions" in the Settings Tab for Roles and Users or the generic term "Permissions" which would also include any settings which allow or disallow something
Hi! I want to Install the Pimcore Bundle Generator and use it to generate my own bundle. So I use the following command: composer require pimcore/bundle-generator
but I get this error:
Script Pimcore\Composer::clearCache handling the pimcore-scripts event terminated with an exception
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
[ErrorException]
Array to string conversion
any Idee how I can fix it?