The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Interchange - product image upload error

Discussion in 'General Discussion' started by mpope, Sep 22, 2001.

  1. mpope

    mpope Well-Known Member

    Joined:
    Aug 16, 2001
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    I am trying to upload an image into interchange, using the built in product upload function. When I try it, I get the following error:


    The following error occurred:

    Error writing file images/items/A1_bdsd.gif.
    Please correct and try again.

    Maybe you need to log in?

    I am logged in as the admin, and this happens for both .jpg and .gif extensions. If someone could help me out with this, it would be great.

    Thanks!


    [Edited on 9/22/01 by mpope]

    [Edited on 9/25/01 by mpope]
     
  2. mpope

    mpope Well-Known Member

    Joined:
    Aug 16, 2001
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Ouch - only 5 people have read my thread!

    So does anyone have any suggestions for me?

    Thanks!
     
  3. moronhead

    moronhead Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    706
    Likes Received:
    0
    Trophy Points:
    16
    mpope,

    Could it be a permission issue? /scripts/fixinterchange and /scripts/fixinterchangeperm may be able to fix that.

    Also, is the items directory writeable?
     
  4. mpope

    mpope Well-Known Member

    Joined:
    Aug 16, 2001
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Moronhead,

    Thanks for the suggestions - it looks like the items directory is not writeable. Actually I think there is an ownership problem because it will only work if CHMOD\'ed to 777, which is probably a security issue (am I right?).

    If anyone has any more suggestions, it would be great.

    Thanks!
     
  5. wscreate

    wscreate Active Member

    Joined:
    Aug 14, 2001
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    I had this problem and the reason why is that the owner of the directory which the customer was uploading to was an incorrect owner. I then ran a chown command to correct it..

    chown -R username.username directoryname

    This solved the problem. I have no idea how the directory got wrong ownership... maybe the customer did something to affect it or maybe there\'s a glitch within Interchange.
     
Loading...

Share This Page