No Thumbnail, No Descrption, Theme Installation Error
Permalink
I'm having a multitude of issues as I create my first theme.
1. After uploading the new theme files to /themes, a new theme becomes available to me to install in my dashboard. However, this theme has no thumbnail and no description. Both of these items were included in the theme file I uploaded.
2. Deciding to go ahead and try to install this theme regardless, I get the following errors:
Here is the block of code from file.php (lines 32-44)
1. After uploading the new theme files to /themes, a new theme becomes available to me to install in my dashboard. However, this theme has no thumbnail and no description. Both of these items were included in the theme file I uploaded.
2. Deciding to go ahead and try to install this theme regardless, I get the following errors:
Warning: opendir(/www/dmhilliker.com/themes/DMHGalaxy) [function.opendir]: failed to open dir: Permission denied in /www/dmhilliker.com/concrete/helpers/file.php on line 36 Warning: readdir() expects parameter 1 to be resource, boolean given in /www/dmhilliker.com/concrete/helpers/file.php on line 37
Here is the block of code from file.php (lines 32-44)
public function getDirectoryContents($dir, $ignoreFilesArray = array()) { $this->ignoreFiles = array_merge($this->ignoreFiles, $ignoreFilesArray); $aDir = array(); if (is_dir($dir)) { $handle = opendir($dir); while(($file = readdir($handle)) !== false) { if (substr($file, 0, 1) != '.' && (!in_array($file, $this->ignoreFiles))) { $aDir[] = $file; } } } return $aDir; }
if so, its probably a permissions issue in your theme