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.
My normal file storage is outside of the Drupal code directory, in "/var/www/drupal-files". However, Forena insists upon changing this to "var/www/drupal-files" which obviously won't work.
The bug seems to be here:
function forena_report_path() {
$report_path = variable_get('forena_report_repos', '');
if (!$report_path) {
$report_path = variable_get('file_' . file_default_scheme() . '_path', conf_path() . '/files/reports');
}
return trim($report_path, '/');
}
That "trim" really should be "rtrim".
Comments
Comment #1
metzlerd CreditAttribution: metzlerd commentedAgreed.... Thanks for the report committed pushed and fixed in all supported branches. Thanks for the report and fix.