#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2011
    Posts
    7
    Rep Power
    0

    Upload file not working


    Hi,

    I have created a simple script to upload file. It's not working. Shows error code 7.

    I am running the script on CentOS. I have given full permissions (777) on upload temporary, final folders, even on the script file.

    Temporary upload folder set through php.ini

    Script has all required parameters like enctype="multipart/form-data" etc.

    Please help.

    Thanks,
    Sandeep
  2. #2
  3. Come play with me!
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,749
    Rep Power
    9397
    Error 7 is about writing to the disk in general, not permissions or really anything influenced by your code.

    Check free disk space, quotas... other things...
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2011
    Posts
    7
    Rep Power
    0
    Thanks for your response.

    But, if it's disk quota issue, I won't be able to upload files even through FTP, right?

    I am able to upload 50 KB files through FTP but even 2KB file is not uploaded through my script.

    Thanks,
    Sandeep
  6. #4
  7. Come play with me!
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,749
    Rep Power
    9397
    [edit] Nevermind, you put more effort into another thread I found elsewhere on the Internet. Good luck with that.
    Last edited by requinix; February 18th, 2013 at 08:19 AM.

IMN logo majestic logo threadwatch logo seochat tools logo