Pimcore

These posts are about Pimcore provided to you by blog.tomhatzer.com

January 21, 2021

Combating "Synchronous XMLHttpRequest on the main thread is deprecated" followed by XMLHttpRequest exception in Pimcore

After enabling Content Security Policy headers for a pimcore instance the backend didn't work like it did before anymore. These were the settings that I added initially that caused the backend to...

read more

January 15, 2021

Redirect Pimcore logs to php://stderr or php://stdout

You can redirect the log output of Pimcore if you are working with docker or likewise to php://stderr or php://stdout by appending the following snippet to your app/config/config.yml...

read more

January 14, 2021

Trigger Pimcore class rebuild from controller

It's pretty easy to call CLI commands from within your Pimcore controllers. In my case I wanted to rebuild the Pimcore data object classes after deploying to a system where I had no SSH access to....

read more

January 4, 2021

composer 2 support for Pimcore 6

If you want to use composer 2 with Pimcore 6, you can manually require the wikimedia/composer-merge-plugin package with version 2 in your pimcore project. This should remove all error...

read more