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.
Since a long time i get this error in my site log messages (The file permissions could not be set on cache/normal/mysite.com/user/contact?****_name=****_name=****_name=****_name=...etc).
Note: The stars represent a random greatly repeated characters and numbers like this (e6&31bc_name).
are there Any known fix for this error?
Comments
Comment #1
asaoah CreditAttribution: asaoah commentedComment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedIt's not an error, a bot is trying to send spam through your contact form. Write a rewrite rule to 404 it if it i bothering you, but it is unlikely that the bot will care as they don't bother looking for return codes. The error is caused by the attempt to cache an unfeasibly long file name.
Comment #3
jelo CreditAttribution: jelo commentedIs this always a bot trying to send spam? I seem to have this issue with views that have pagers, ajax enabled and exposed filters.
Views seems to generate such long file names. Does the logic by default prevent this or is there a way to get it to work with views properly?
Comment #4
jelo CreditAttribution: jelo commentedWell, just found this issue which is exactly what I referred to...
https://www.drupal.org/node/2050849