Ok I turned off all folder/file security to test and see if it was trying to create a directory in an area where I was not expecting it to.
In this project I am using a structure that looks like...
fbgallery uses this
$this->sitePathBase = dirname(__FILE__).'/../../../';
$this->siteUrlBase = Yii::app()->request->hostInfo.Yii::app()->baseUrl.'/';
$this->gUrl = $this->siteUrlBase.$this->galleryConfig['gFolder'].'/'.$this->pid;
$this->gPath = $this->sitePathBase.$this->galleryConfig['gFolder'].DIRECTORY_SEPARATOR.$this->pid;
to set the path. This however creates a galleries folder here...
If I use something like
I am having a hard time getting my attempts at getting any file paths to work. How can I get it to create the galleries folder inside of www?