Title: Error message
Last modified: August 20, 2016

---

# Error message

 *  [astonlife](https://wordpress.org/support/users/astonlife/)
 * (@astonlife)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/codex-error/)
 * _[Topic changed to more accurate one – it has nothing to do with the Codex]_
 * Hey Guys,
 * I am getting an error when I try to edit de html of my site it says:
 * Warning: scandir(/home/content/39/10542739/html/wp-content/themes/graphene) [
   function.scandir]: failed to open dir: Permission denied in /home/content/39/
   10542739/html/wp-includes/class-wp-theme.php on line 980
 * Warning: scandir() [function.scandir]: (errno 13): Permission denied in /home/
   content/39/10542739/html/wp-includes/class-wp-theme.php on line 980
 * Warning: Invalid argument supplied for foreach() in /home/content/39/10542739/
   html/wp-includes/class-wp-theme.php on line 983
 * Warning: scandir(/home/content/39/10542739/html/wp-content/themes/graphene) [
   function.scandir]: failed to open dir: Permission denied in /home/content/39/
   10542739/html/wp-includes/class-wp-theme.php on line 980
 * Warning: scandir() [function.scandir]: (errno 13): Permission denied in /home/
   content/39/10542739/html/wp-includes/class-wp-theme.php on line 980
 * Warning: Invalid argument supplied for foreach() in /home/content/39/10542739/
   html/wp-includes/class-wp-theme.php on line 983
 * I tried contacting my theme support (graphene) and they said:
    “The issue you’re
   describing is a permission issue on the server, not caused by the theme. FTP 
   to your site and change the files and folder permissions to the appropriate ones.
   If you don’t know how to do that, contact your hosting provider and ask them 
   to do it for you.”
 * And then I tried contacting the hosting and he said it had nothing to do with
   the hosting (godaddy) because the site is up fine. he said I should contact wordpress
   because it is something with the codex.
 * Here is my site: [http://www.2in1World.com](http://www.2in1World.com)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [s3bytzzu](https://wordpress.org/support/users/s3bytzzu/)
 * (@s3bytzzu)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/codex-error/#post-3494679)
 * I’ve got the same problem.What do we have to do to solve it ? Please help guys.
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 3 months ago](https://wordpress.org/support/topic/codex-error/#post-3494680)
 * You can [create your own thread](http://wordpress.org/support/forum/themes-and-templates#postform)
   to discuss your own issue, s3bytzzu.
 *  [kjodle](https://wordpress.org/support/users/kjodle/)
 * (@kjodle)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/codex-error/#post-3494681)
 * `scandir` is a PHP function that scans a directory and returns an array of files
   and subdirectories.
 * In order for this function to work properly, you must have proper permissions
   set up on your server. Since you are getting this error, it means that permissions
   are set improperly.
 * You can usually set permissions quite easily by using an FTP client to access
   your site.
 * You can find out more information about permissions here:
    [http://codex.wordpress.org/Changing_File_Permissions](http://codex.wordpress.org/Changing_File_Permissions)
 *  [vlvanda0.](https://wordpress.org/support/users/vlvanda0/)
 * (@vlvanda0)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/codex-error/#post-3494762)
 * ola eu não consigo entra na wordpress com o login que voces me mandarão
    entro
   na pagina inicial do meu site vou fazer fazer o login da wordpress da senha ivalida
 *  [vlvanda0.](https://wordpress.org/support/users/vlvanda0/)
 * (@vlvanda0)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/codex-error/#post-3494763)
 * `vanda-landgraf@hotmail.com.br vivandao.
 *  [vlvanda0.](https://wordpress.org/support/users/vlvanda0/)
 * (@vlvanda0)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/codex-error/#post-3494764)
 * [http://www.suasaudeperfeita.com](http://www.suasaudeperfeita.com) vivandao.
   `

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Error message’ is closed to new replies.

## Tags

 * [problem](https://wordpress.org/support/topic-tag/problem/)

 * 6 replies
 * 5 participants
 * Last reply from: [vlvanda0.](https://wordpress.org/support/users/vlvanda0/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/codex-error/#post-3494764)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
