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.
After altering .httpd to allow only HTTP/SSL sessions, my WebFM module gives an "invalid upload path" error when attempting to place files in the designated directory/directories.
A fix was effected by examining URL formation in webfm.js, finding that it uses a global base path from Drupal, which is in Drupal, a status, absolute path. Changing it in Drupal from http://domain.com to https://domain.com solved the issue.
Comments
Comment #1
nhck CreditAttribution: nhck commentedHow is this a webfm-bug?
Why are you providing so little information on what you changed?
Why did you open another issue? You already open this one: #1516604: WebFM - "invalid upload path" after setting Drupal to run global HTTPS/SSL
$base_url is explained here:
http://api.drupal.org/api/drupal/developer!globals.php/global/base_url/6
To me this is implementation of standard Drupal procedures. If you feel its related to webfm please explain it more in detail. If it isn't related to webfm, please file a bug against core or fix your setup.