Closed bonakor closed 2 years ago
Hi @bonakor,
Does the uploads directory have write permissions? The banner css is written to the uploads directory.
I'll make a note to add an notice for this in the next update.
I have created a branch here which catches this issue, and also notifies you of the missing write permissions in the task list: https://github.com/Really-Simple-Plugins/complianz-gdpr/compare/catch-not-writable-uploads-folder?expand=1
Let me know if that helps!
Fixed it, yes, it was coming from a symlink to the uploads folder. I didn't try your branch.
Hi, Since I installed the last version of Complianz, my admin is in white screen.
I'm using PHP 8 and the latest version of WP.
Here are the errors I get: /class-cookiebanner.php on line 1070 [11-Jan-2022 16:19:34 UTC] PHP Warning: fopen(/sites/preprod.tennismajors.com/files/preprod/releases/e88c17ddb5ae7b8afad95d6d26797206a58c1d1f/web/app/uploads/complianz/css/banner-1-optin.css): Failed to open stream: No such file or directory in /sites/preprod.tennismajors.com/files/preprod/releases/e88c17ddb5ae7b8afad95d6d26797206a58c1d1f/web/app/plugins/complianz-gdpr/cookiebanner/class-cookiebanner.php on line 1119 [11-Jan-2022 16:19:45 UTC] PHP Warning: mkdir(): No such file or directory in /sites/preprod.tennismajors.com/files/preprod/releases/e88c17ddb5ae7b8afad95d6d26797206a58c1d1f/web/app/plugins/complianz-gdpr/cookiebanner/class-cookiebanner.php on line 1067 [11-Jan-2022 16:19:45 UTC] PHP Warning: mkdir(): No such file or directory in /sites/preprod.tennismajors.com/files/preprod/releases/e88c17ddb5ae7b8afad95d6d26797206a58c1d1f/web/app/plugins/complianz-gdpr/cookiebanner/class-cookiebanner.php on line 1070 [11-Jan-2022 16:19:45 UTC] PHP Warning: fopen(/sites/preprod.tennismajors.com/files/preprod/releases/e88c17ddb5ae7b8afad95d6d26797206a58c1d1f/web/app/uploads/complianz/css/banner-1-optin.css): Failed to open stream: No such file or directory in /sites/preprod.tennismajors.com/files/preprod/releases/e88c17ddb5ae7b8afad95d6d26797206a58c1d1f/web/app/plugins/complianz-gdpr/cookiebanner/class-cookiebanner.php on line 1119
What should I do to fix it.