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.
When installed on a Windows server, the absolute path option worked fine on 7.x-1.1, but after upgrading it no longer works.
I kept getting a file not found error. After switching to a relative path it seems to have fixed the problem.
Comments
Comment #1
gregglesThis seems like a release blocker. I haven't tested it, but it seems possible.
When you say "absolute path option" where is that an option?
Comment #2
ryantollefson CreditAttribution: ryantollefson commentedWhen using a key file and you fill out the field, so on Windows using a path like: "C:\apache\www\drupal\blah\keyfile.key" vs a relative path like "../../blah/keyfile.key"
Hopefully that makes sense.
After a bit more testing, I was still having problems with the relative path - though I was not always getting an error. For now I switched to the "Drupal encrypt_drupal_variable_key variable" and stored the key in settings.php instead of using the "File" option.
Comment #3
gregglesDo you have a mac/linux test environment to try this out? Those are the only places I've run this and the file path seems to work - I wonder if it's windows related?
Comment #4
ryantollefson CreditAttribution: ryantollefson commentedUnfortunately not at the moment. You are probably right that it is Windows related.
Comment #5
rlhawkDoes it work properly if you add a trailing slash to the directory path? Key retrieval is currently broken without one. See Set key file location correctly for more information.
Comment #6
gregglesMoving this to needs more info since I couldn't replicate it.
Comment #7
gisleThis is tagged as "Critical", but I am unable to reproduce. More info has been requested, but none has been provided in four years.
Can anyone confirm that this still is a problem (and if so, provide precise instructions to reproduce).
If there are no replies confirming the bug in two weeks, I suggest to this issue close as "cannot reproduce".
Comment #8
gregglesYep, agreed.