Your software
My Mautic version is: 2.15.2
My PHP version is: 5
Your problem
My problem is:
Why when I set that an active (PDF document) must be downloaded after someone fills out a form, it doesn’t happen anything?
I mean in the form options, not in campaign. The results from that filled form appear properly on the “results” page. Both the form and the active PDF is published.
These errors are showing in the log:
Steps I have tried to fix the problem: Try different actives (documents), check if everything is published
When you say remote mode, can you clarify what you mean? If it works locally but doesn’t work in production, that might point to something on your server setup.
Is your form loaded up on a live website somewhere we could look at?
Oh, sorry! So you’re referencing that it works OK if the file is physically located within your Mautic instance, but if you’re linking out to an external resource, it’s not being downloaded?
Could this be something like hotlink protection on the server where you’re hosting the files? I’ve had that catch me out before.
I just checked the form you mentioned and was able to download the PDF file.