FriendsOfREDAXO / consent_manager

Stellt ein Opt-In Cookie Banner zur Verfügung
MIT License
57 stars 15 forks source link

Installation/Aktualisierung nicht möglich (cache_not_writable) #306

Open SSSLarsen opened 1 year ago

SSSLarsen commented 1 year ago

Installation/Aktualisierung bricht mit Fehlermeldung cache_not_writable ab. Betrifft alle Versionen ab 3.0.0

System report (REDAXO 5.15.1, PHP 8.1.23, MariaDB 10.6.15) | REDAXO | | | ------------: | :--------- | | Version | 5.15.1 | | PHP | | | ------------: | :--------- | | Version | 8.1.23 | | OPcache | yes | | Xdebug | no | | Database | | | ------------: | :-------------- | | Version | MariaDB 10.6.15 | | Character set | utf8 | | Server | | | ------------: | :--------- | | OS | FreeBSD | | SAPI | cgi-fcgi | | Webserver | Apache | | Request | | | ------------: | :--------------- | | Browser | Chrome/116.0.0.0 | | Protocol | HTTP/2.0 | | HTTPS | yes | | Packages | | | --------------------------------: | :--------- | | adminer | 1.9.3 | | backup | 2.9.0 | | be_branding | 1.7.1 | | be_style | 3.2.0 | | be_style/customizer | 3.2.0 | | be_style/redaxo | 3.2.0 | | consent_manager | 2.0.1 | | cronjob | 2.10.0 | | cronjob/article_status | 2.10.0 | | cronjob/optimize_tables | 2.10.0 | | d2u_helper | 1.13.0 | | developer | 3.9.2 | | dsgvo | 0.9beta5 | | emailobfuscator | 3.0.0 | | focuspoint | 4.0.4 | | hyphenator | 1.3.0 | | install | 2.11.1 | | lightgallery | 0.4.3 | | markitup | 3.7.4 | | mblock | 3.4.13 | | media_manager | 2.14.0 | | media_manager_autorewrite | 2.0.1 | | media_manager_plus | 2.2.1 | | mediapool | 2.13.0 | | mediapool_exif | 2.0.1 | | mediapool_rename | 1.0.0 | | metainfo | 2.10.0 | | mform | 7.3.0 | | minibar | 2.3.1 | | modulsammlung | 4.16.0 | | multiglossar | 2.0.1 | | pdfout | | | phpmailer | 2.12.0 | | project | dev | | simplesearch | 2.1.0 | | sprog | 1.5.1 | | structure | 2.15.0 | | structure/content | 2.15.0 | | structure/version | 2.15.0 | | structure_tweaks | 1.4.0 | | template | 1.1.0 | | theme | 1.4.0 | | ui_tools | 1.2.2 | | ui_tools/bootstrap-datetimepicker | 4.17.47 | | ui_tools/jquery-minicolors | 2.4.0 | | ui_tools/selectize | 0.2.0 | | uploader | 2.4.1 | | url | 2.1.0 | | users | 2.10.0 | | ycom | 4.0.7 | | ycom/auth | 4.0.7 | | ycom/group | 4.0.7 | | ycom/media_auth | 4.0.7 | | yform | 4.1.1 | | yform/email | 4.1.1 | | yform/manager | 4.1.1 | | yform_geo_osm | 1.2.8 | | yform_spam_protection | 1.2.3 | | yform_ui | 1.0.1 | | yform_usability | 2.1.2 | | yrewrite | 2.10.0 | | yrewrite_scheme | 3.7.1 |
SSSLarsen commented 6 months ago

Hab nun mal folgende Zeilen in der install.php auskommentiert und dann funktionierte es.

// Rewrite
if (class_exists('consent_manager_cache')) {
    consent_manager_cache::forceWrite();
}

nach dem ich die Änderungen rückgängig gemacht habe, funktionierte auch das Re-installieren.