SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Addict Huscy's Avatar
    Join Date
    Jul 2002
    Location
    Newcastle, UK
    Posts
    318
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    permissions problem...

    ok, when trying to upload an avatar image im getting this error, it worked fine on my local server (for evereyone) but now ive uploaded it is ... wont :/

    Warning: copy(./user_avatars/sml.png/) [function.copy]: failed to create stream: Permission denied in /home/huscy/public_html/v3/user_cp.php on line 110
    Couldnt upload avatar

    you can find the cp here
    http://www.infinite-fire.net/v3/user_cp.php

    if you register, then try to change the avatar, yu get that error :/
    any ideas?

  2. #2
    "Of" != "Have" bronze trophy Jeff Lange's Avatar
    Join Date
    Jan 2003
    Location
    Calgary, Canada
    Posts
    2,063
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you need to use chmod (in your FTP program) to set the file permissions, so that PHP has write access to ./user_avatars/
    Who walks the stairs without a care
    It shoots so high in the sky.
    Bounce up and down just like a clown.
    Everyone knows its Slinky.

  3. #3
    SitePoint Addict Huscy's Avatar
    Join Date
    Jul 2002
    Location
    Newcastle, UK
    Posts
    318
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i already did that, all users have full read/write access to it

  4. #4
    SitePoint Addict Huscy's Avatar
    Join Date
    Jul 2002
    Location
    Newcastle, UK
    Posts
    318
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    as you can see, all users have permission to write to the folder, any ideas??

    it should be attached...
    Attached Images Attached Images


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •