I recently upgraded to version 2.6.2 and my download links no longer work.

This link used to work in previous versions of Symphony:

<a href="{$root}/file.pdf">Download file</a>

But now it simply forwards to the URL (Note the trailing slash at the end.)

I tried playing with the .htaccess settings but to no avail.

Can anybody tell me what I'm missing?

Thanks for any help.

Can you double check that the file actually exists and has the relevant permissions? If you try and access the file through your browser at that path, is it successful?

Ah yes, it was a permissions problem. Shame on me. Thanks for your help.

No worries! I had a similar thing bite me recently so thought I'd start there ;)

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details