upload file with form gives error 3

Discussion in 'PHP' started by aayybb, Feb 13, 2009.

  1. #1
    I have a form to upload text file which worked for the last 4 days. Now it gives me error 3 which is uploaded file was only partially uploaded. I didn't change the code at all. Why will this happen? Any guess?
     
    aayybb, Feb 13, 2009 IP
  2. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #2
    I don't know of a fix. This site recommends the following (all about modding php.ini, max post size etc.)
    http://www.zen-cart.com/forum/showthread.php?p=673741

    Would ask the obvious, do you know what size the files are? Are you the one its doing it to or other people?

    From the POST:
     
    shallowink, Feb 13, 2009 IP
  3. aayybb

    aayybb Peon

    Messages:
    128
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I thought about that file size thing. But I was uploading the same test file which is only 5K. I know it won't work if it exceeds the dedault 2 MG but I am using the same small test file.
     
    aayybb, Feb 13, 2009 IP
  4. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #4
    Thought so. Kinda got mixed ideas when I was looking at sites about this error message. Maybe find a basic upload script from some where else and test it? If it works, somethings wrong or different with your code. About the best I can advise.
     
    shallowink, Feb 13, 2009 IP