Interchange - product image upload error

mpope

Well-Known Member
Aug 16, 2001
55
0
306
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]
 

mpope

Well-Known Member
Aug 16, 2001
55
0
306
Ouch - only 5 people have read my thread!

So does anyone have any suggestions for me?

Thanks!
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
mpope,

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

Also, is the items directory writeable?
 

mpope

Well-Known Member
Aug 16, 2001
55
0
306
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!
 

wscreate

Active Member
Aug 14, 2001
36
0
306
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.