On some servers the permissions for the gallery and webassist folders and
all files and folders underneath need to be set to 755, and the
webassist/caching/PG_CachedResize_Image.php file needs to be updated to
change line 14:
$retVal = is_dir($pathname) || @mkdir($pathname, 0777);
to:
$retVal = is_dir($pathname) || @mkdir($pathname, 0755);
and line 360:
mkdir ($cachefolder,0777,true);
to:
mkdir ($cachefolder,0755,true);
From my experience... maybe it will help
And the admin_gallery/common/properties.php file needs to be edited to
change:
$GLOBALS['permissions'] = array(
'dir' => 0777,
'file' => 0666
);
To:
$GLOBALS['permissions'] = array(
'dir' => 0755,
'file' => 0755
);