Error while downloading PPT and PDF files

Error while downloading PPT and PDF files

by Narmadha Sivalingam -
Number of replies: 6

Hi,

Moodle Version - 3.4.2

OS - Windows

DB - MYSQL

   I have tried to download pdf and ppt files from my moodle site. When i click the download link, it will open in a new window but has the error like failed to load pdf document for PDF and failed to download ppt for PPT.

Please refer the screenshots for your reference.

For PPT:



For PDF:




Thanks in advance.

Narmadha.S



Average of ratings: -
In reply to Narmadha Sivalingam

Re: Error while downloading PPT and PDF files

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Before going any further... does it work in a different browser or (failing that) on a different computer?

In reply to Howard Miller

Re: Error while downloading PPT and PDF files

by Narmadha Sivalingam -

Thanks for Reply. I tried in different browsers and different computers but the same issue is raised. Please try to fix the issue ASAP.


Thanks,

Narmadha S

In reply to Narmadha Sivalingam

Re: Error while downloading PPT and PDF files

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Switch on Debugging

Reproduce the problem and then check your web server's error log. It may be that an error is occurring that corrupts the file. You won't see it but it should be logged. 

In reply to Howard Miller

Re: Error while downloading PPT and PDF files

by Narmadha Sivalingam -

Thanks Howard.

I have solved the issue.


Thanks,

Narmadha.S

In reply to Narmadha Sivalingam

Re: Error while downloading PPT and PDF files

by Mahatria Ra -
Can you share the details ?
In reply to Mahatria Ra

Re: Error while downloading PPT and PDF files

by Narmadha Sivalingam -

Sure Maya.

Some files in moodledata (moodledata->filedir->) are missing.

After i found out the issue, i replaced my moodledata backup files. Finally, the issue is fixed and my pdf and ppt are downloaded properly.


Thanks,

Narmadha.S

Average of ratings: Useful (1)