The company I work for recently outsourced a website rebuild, and along with it came a CMS.
Despite my lack of expertise, I am the nominated server expert. Go Figure.
Anyway, when trying to upload .pdfs to the CMS we cant upload anything over 1Mb. I have checked the php.ini and the .htaccess files and they are currently:
post_max_size = 15M
upload_max_filesize = 10M
Now to the main point of this question, the error logs show the following:
Error: Document has not the mandatory ending %EOF
However, when I open the PDF in notepad++ it certainly does have %EOF
as the very last line.
Currently the server is running PHP 5.5 and CentOS 5.11
So really I'm just hoping someone has experienced this before and has a solution, none of my googling is helping!