Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/10/2016 in all areas

  1. ACL Permissions are access permissions. They are group-based. Go to Settings > System > Staff > Staff Groups, edit the group. You'll see a list of all ACL permissions, make sure that you have permission to what you need. When you install a new plugin, usually your group is granted permissions to the plugin. However, if you have multiple groups, you may need to grant permissions to others who need access. By default, for security purposes, access is not automatically granted to all staff groups.
    1 point
  2. if you want to use the UPLOAD class you can do like this a sample how to like this : // Load the pload components Loader::loadComponents($this, ["Upload"]); // Set the alloweded file types $this->Upload->setAllowedMimeTypes(['gif','png','pdf']); // Set the maximum file size $this->Upload->setMaxFileSize(2048); // size in bytes $this->Upload->setFiles($files, false); // the files list to upload $this->Upload->setUploadPath("/home/user/upload_directory/"); // the upload path directory // Will not overwrite existing file // And we will support the uploaded files are in $files['data'] $this->Upload->writeFile("data", false); // check if the upload was successfully if (!($errors = $this->Upload->errors())) { $this->Input->setErrors($errors); return; }
    1 point
  3. **RESOLVED** 1) - Everything is ( and has been ) outside the "public_html" folder 2) - I manually created the " uploads " folder with a 777 permission ? 3) - I then drag and dropped the " 1/support_manager_files " folders, and gave them 777 permissions inside the " uploads " folder ================== I then wen to... The path format is within the following the text fields are ... Root Web Directory: /home/username/support.mywebsitename.com/uploads/ Temp Directory : /tmp/ Uploads Directory uploads/
    1 point
×
×
  • Create New...