I’m having a hard time getting my pdf-files (and images) working agter site migration.
These are the solutions I tried
Re-uploaded in binary mode
Permissions on folders
and a lot of threads in here
When I am trying to view eg pdf’s downloaded from Moodle they are corrupt with a mix of normal letters, odd symbols large letters etc.
When I create a new fil everything is normal and if I download the old file through ftp from filedir on moodledata it also looks normal. Its only when I try to view the file through Moodle the errors come.