Mozilla Firefox 3.6.17 and Codeigniter error when trying to upload pdf files

Posted on 2011-05-10
Last Modified: 2012-05-11
This particular version of firefox gets an error "the file type you are attempting to load is not valid" when trying to upload a pdf file.  All other file types work.  I read on codeigniter forums and found that there could be an issue with what the FF is sending to CI in the headers and that I can edit the php line in the mimes.php in the config folder.  

However, the suggested change has already been applied to my mimes.php file so I was thinking there is another exception that needs to be added.

But I do not know how to read the headers being sent to CI to know what else I might add.

Any suggestions?
Question by:lthames
    LVL 36

    Accepted Solution

    You can download the LiveHTTPHeaders extension and view the headers that are being sent. This can be the first step in narrowing down what is wrong. Also, do you know if Firefox 3.6.17 the only version of Firefox that has this error, or is it a problem that appears on all versions of Firefox? What about Firefox 4? What about other browsers?

    Author Closing Comment

    Thanks!  My other programmer actually fixed the issue but now I know how to view the headers so I can figure it out next time!

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Now-a-days, indirectly, postal services have been replaced by email services. Yes, whenever we hear the word "email" a lot of people only think of gmail. Some people still think that email and gmail are one and the same thing :-). Let's see some …
    I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
    The viewer will learn how to dynamically set the form action using jQuery.
    Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now