[SOLVED] Unable to mkdir

sw_user

Joined: 2013-12-11
Posts: 2
Posted: Wed, 2013-12-11 14:09

Hi,

For a customer a gallery is moved from one host to an other. When uploading the files, the g2data folder got 755 permissions, I manually changed this to 777 (with FileZilla) as I had read this folder should be on 777.
Even after this change of permissions I still get the following error:

Quote:
Error (ERROR_PLATFORM_FAILURE) : Unable to mkdir(/PATH-TO-G2DATA/smarty/templates_c/%%586761106/ajaxian)

in modules/core/classes/GalleryTemplate.class at line 278 (GalleryCoreApi::error)
in modules/core/classes/GalleryTemplate.class at line 214 (GalleryTemplate::_initCompiledTemplateDir)
in main.php at line 521 (GalleryTemplate::fetch)
in main.php at line 104
in main.php at line 88

Hoping somebody is able to help me out.
THank's in advance

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2013-12-11 20:55

the permissions need to be 777 recursively
w/ shell access:
chmod -R 0777 /full/path/to/g2data

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
sw_user

Joined: 2013-12-11
Posts: 2
Posted: Thu, 2013-12-12 07:35

Superthank's! It worked.