|  | Posted by Jψrn Dahl-Stamnes on 01/30/07 16:35 
Erwin Moller wrote:> Hi again,
 >
 > Well that is strange indeed. I blindly assumed the code was failing on all
 > uploads, but you claim it only fails  on pdf. Sorry, my bad. :-)
 
 Or I did not explain my self good enough...
 
 > Summarizing:
 > 1) Your upload script works fine for all files except (some) pdf.
 
 Yes, and make it ONE pdf file.
 
 > 2) In your log you can see the call to the upload-script for all
 > succesfull uploads, but NOT when uploading this pdf. You find NO record in
 > apachelogs at all.
 
 That is right. No entry in the log that indicate that the upload script has
 been called when I get the error message.
 
 With an older version of Firefox unde FC4 I get "Alert: Document contain no
 data", while I with the latest Firefox under Windows 2000 get a message
 that say "The connection to the server was reset while the page was
 loading". And I get a different message with IE under W2k.
 
 > If this is the situation, my guess would be that apache2 is somehow
 > screwing up before php gets involved.
 >
 > Can you check your apache errorfiles?
 > Anything out of the ordinary?
 
 No errors in the error_log file.
 
 I also tried:
 * Open the original Word document on my W2k machine and save it as pure txt
 * Start word and insert the txt file and do a simple format
 * Save the document to a new filename.
 * On FC4: Convert the new document file in OpenOffice and convert it to PDF
 * Upload the PDF file.
 
 This works OK. But FC4 is not able to view the PDF file.
 
 I also had a friend to convert the first Word document to PDF on a Windows
 platform (since I don't have the proper software under Windows). This one
 also fails, but now I can view the PDF file on FC4 without problems.
 
 --
 JΓΈrn Dahl-Stamnes
 http://www.dahl-stamnes.net/dahls/
 [Back to original message] |