Skip to content

Configuration error on CMS preview #112

@joshlcronin

Description

@joshlcronin

When editing a page in the CMS with the edit form and preview side-by-side I get the following error:
Uncaught Cloudinary\Exception\ConfigurationException: Invalid configuration, please set up your environment

In Chrome, if I right click "Reload frame" the error goes away. However, when I click to edit another page the same error comes back, again I can reload the frame to get rid of it.

I have added the following line to my public/index.php file to try and resolve this but still no success:
putenv("CLOUDINARY_URL=cloudinary://API_KEY:API_SECRET@CLOUD_NAME");

The website works normally when not in the CMS.

SilverStripe 4.11
PHP 7.4.9

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions