Menu

Upload + Apache hang

Help
qwerty2
2005-06-04
2012-10-11
  • qwerty2

    qwerty2 - 2005-06-04

    Hi,

    until today it worked. I did NO configuration changes... Using 1.3.11 rc3

    When I try to upload a image file using Upload page, after selecting a file and clicking on Upload button, browser shows Waiting for my_site... indefinitely.

    But, the file is successfully uploaded to uploads folder plus entry is made in upload log. But it is still "waiting".

    If I leave it wating for some time, my Apache 2.0.52 stops respoding to requests from Internet (it still works localy).

    I have to restart Apache or even worse, sometimes only my Debian server restart helps.

    Also, when I type normal text on any page, Save works fine. But, if I put [Upload:filename] or even [http://address/filename], clicking on Save produces the same behaviour - indefinite waiting...

    Any idea what went wrong? Any idea appreciated.

     
    • qwerty2

      qwerty2 - 2005-06-07

      I did a little code investigation. Hanging during file upload can be solved as follows:

      In /lib/plugin/Upload.php, changing 'autolink' => true to 'autolink' => false helped. File is uploaded, log is updated, status message is displayed.

      1) I did not go any further as I do not need autolink

      2) There is still problem - attempt to save a page with [Upload:filename] in it's contents hangs...

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.