PDA

View Full Version : Uploading PDF


bjgarner241692
01-18-2010, 02:08 PM
HTML Editor will not allow me to upload a PDF. I can upload a .jpg, but not a pdf. I get a message: Invalid file type.

Where can I edit the list of accepted file types?

Jason Byrnes
01-19-2010, 10:32 AM
The allowed file extensions is set in the HTMLEditor\editor\filemanager\connectors\php\confi g.php file.


By default , the pdf extension is included for file uploads. to upload a file, click on the link button, the click the upload tab.

In a lot of cases where you cannot upload a file that is on the allowed extensions list, it is because of PHP upload settings such as max_file_size or post_max_size. to see if this is the case, try uploading a very small pdf of say 10k. This will help rule out the php upload settings.

bjgarner241692
01-19-2010, 01:20 PM
pdf is not included in the list of included files. I added it myself once I found it.

Jason Byrnes
01-19-2010, 01:49 PM
Does it work now that it is added?

nickj
01-21-2010, 02:49 PM
I'm having the same problem. Pleas see my config.php.zip file.
Also When I try to set permissions for the HTML editor, upload goes away please look at Archive.zip


Thanks

Jason Byrnes
01-22-2010, 02:04 PM
How large are the PDF files you are trying to upload?

it could be that the PHP upload file settings are set to allow smaller files than the one you are testing with, try uploading a small pdf of around 10k.

When you edit the HTML Editor instance, go to the toolbar tab to add in the toolbars that should be displayed.