Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Are any releases of DruTeX actively maintained?
Comment | File | Size | Author |
---|---|---|---|
#2 | fix_minimal.patch | 4.9 KB | ConnorBehan |
Comments
Comment #1
sk2013 CreditAttribution: sk2013 commented+1
Comment #2
ConnorBehan CreditAttribution: ConnorBehan as a volunteer commentedNope. I thought DruTeX would be stable because it doesn't create any database tables but changes to PHP itself still cause a lot of grief. When I tried 7.x-1.x-dev on Druapl 7.89 and PHP 7.4, there were still a lot of problems after applying the https://www.drupal.org/project/drutex/issues/1525642 and https://www.drupal.org/node/1829016#comment-7229766 patches.
I ended up consulting https://www.ryadel.com/en/php-fix-warning-preg_replace-e-modifier-no-lon... and https://bytes.com/topic/php/answers/840673-double-backslashes-strings in order to write the attached patch which got things working.
If anyone is still reading this, one other thing I had to do was allow PHP to write to /tmp again. This may sound obvious, but more and more Linux servers in recent years have started using systemd which defaults to PrivateTmp=true.