Jump to content


Photo
- - - - -

Problem uploading a pdf

pdf upload

Best Answer Rob , 29 April 2013 - 09:50 PM

Hi Chris,

 

First, let's make sure the PDF itself is intact.  Have you opened it to make sure everything is there that should be?

 

Next, how are you uploading the PDF?

 

Let us know.

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 chrisw

chrisw

    Member

  • Members
  • 14 posts
  • Country: Country Flag

Posted 29 April 2013 - 09:38 PM

Hi

 

I have recently upgraded to the pagelines framework and just received an error message when uploading a pdf to the site (something I do each week).

 

The error message reads:

 

File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.

 

The file is no different to any of the pdfs I normally upload, using the same template etc. and I haven't changed any code in the php files so I am not sure what has caused this to change?

 

Thanks

 

Chris



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 29 April 2013 - 09:50 PM   Best Answer

Hi Chris,

 

First, let's make sure the PDF itself is intact.  Have you opened it to make sure everything is there that should be?

 

Next, how are you uploading the PDF?

 

Let us know.


  • chrisw likes this

#3 chrisw

chrisw

    Member

  • Members
  • 14 posts
  • Country: Country Flag

Posted 30 April 2013 - 06:34 AM

Hi Rob thanks for the quick reply, the file was saved as 

 

Shale gas in India - The wrong path? .pdf

 

I just renamed it it to

 

 

Shale gas in India The wrong path .pdf

 

And it seems to be working ok.

 

Cheers

 

Chris







Also tagged with one or more of these keywords: pdf, upload