Archived

This topic is now archived and is closed to further replies.

  • 0

Problem uploading a pdf


Question

Posted · Report post

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

Share this post


Link to post
Share on other sites

2 answers to this question

Posted · Report post

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.

1 person likes this

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites