Bioinformatics.org
|
|
Research
|
Online databases
Online analysis tools
Online education tools
|
Development
|
|
Forums
|
News & Commentary
Jobs Forum (Career Center)
|
|
I, Librarian: bibliography manager - Message forums
|
|
|
|
Expanded view | Monitor forum | Save place
Message
|
Hi,
I discovered that a file which didn't upload did successfully upload once I
changed the name from file to file.pdf
I don't know enough php to find out if the code really needs the .pdf in the
filename- I just know that my uploads now work. The other fixes posted here
didn't make a difference.
|
|
Post a followup to this message:
You have to be to post a reply.
Thread view
|
|
Some people here wrote me that they uploaded 2, 3 or 7 PDFs and than nothing. First, check if you have only one copy of Apache, PHP and MySQL installed in your machine, and that you have only one php.ini file.
On some platforms, the directive magic_quotes_gpc is Off. This will cause the above problems. It is because all quotation marks must be escaped by backslash, before they are recorded to the database. This is secured by magic_quotes_gpc being On. Check your php.ini!
Hope this will help.
Martin
|
|
|
|
There is also an 8Mb limit imposed in the php.ini file (on windows) and within the upload.php (search for 8000000). A LARGE pdf will return erroneous error messages
|
|
|
|
Hi,
I discovered that a file which didn't upload did successfully upload once I
changed the name from file to file.pdf
I don't know enough php to find out if the code really needs the .pdf in the
filename- I just know that my uploads now work. The other fixes posted here
didn't make a difference.
|
|
|
|
|
Yes, the old Librarian is checking for the .pdf file name.
|
|
|
|
|