Try the Demo

Magento Forum

   
problem with uploading pictures
 
Bogdan
Member
 
Total Posts:  42
Joined:  2007-12-05
 

so , i`ve read the whole forum and saw that there are some people having a problem alike(the topic is 2 months old ..).

when i try to add a product , when i assign a photo to the product (small image) i get the following error :
Unable to create directory ‘/home/utilaje/public_html/emag/media/catalog/product/’.

that folder is set to 777 and also his subdirectory . i don`t know what is wrong with it

Looking forward to hearing from you. cool smirk

 Signature 

Helmat.ro - Magazin online pentru Casa si Gradina .

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

This might be a problem with default umask value.

Since 0.6.14100 there’s umask(0) in index.php, so if you do not have it, try adding it anywhere before Mage::run(’base’);

<?php
//...
require_once 'app/Mage.php';
// add this
umask(0);

// before:
Mage::run('base');
Also, make sure again that all folders under /media/ are 777 recursively.

 Signature 

- I would love to change the world, but they won’t give me the source code -

 
Magento Community Magento Community
Magento Community
Magento Community
 
Bogdan
Member
 
Total Posts:  42
Joined:  2007-12-05
 

it’s already there .. hmm .question : how to make chmod 777 recursively through ftp?
i do not have access to ssh /telnet

 Signature 

Helmat.ro - Magazin online pentru Casa si Gradina .

 
Magento Community Magento Community
Magento Community
Magento Community
 
Bogdan
Member
 
Total Posts:  42
Joined:  2007-12-05
 

ok .. it works . i had to remove the whole product directory and set back again the privileges .
thanks
ok..btw . . for recursive privileges i recommend FireFTP . It`s a extension for Firefox

 Signature 

Helmat.ro - Magazin online pentru Casa si Gradina .

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top