Hi,
wollte das Theme wechseln und es ist mir mißlungen
Dazu muss ich sage, habe ich das Classic-Theme und das Default-Theme gelöscht.
Ich wollte Wuhan einbinden. Kriege jetzt aber bei Themes im wp-admin folgende Fehlermeldung:
Warning: file(/home/www/html/blog/wp-content/themes/wuhan/style.css): failed to open stream: Permission denied in /home/www/html/blog/wp-includes/functions.php on line 1434
Warning: implode(): Bad arguments. in /home/www/html/blog/wp-includes/functions.php on line 1434
An der Stelle finde ich folgenden Code, kann aber nichts damit anfangen.
ZitatAlles anzeigenfunction get_theme_data($theme_file) {
$theme_data = implode('', file($theme_file));
preg_match("|Theme Name:(.*)|i", $theme_data, $theme_name);
preg_match("|Theme URI:(.*)|i", $theme_data, $theme_uri);
preg_match("|Description:(.*)|i", $theme_data, $description);
preg_match("|Author:(.*)|i", $theme_data, $author_name);
preg_match("|Author URI:(.*)|i", $theme_data, $author_uri);
preg_match("|Template:(.*)|i", $theme_data, $template);
if ( preg_match("|Version:(.*)|i", $theme_data, $version) )
$version = $version[1];
else
$version ='';
if ( preg_match("|Status:(.*)|i", $theme_data, $status) )
$status = $status[1];
else
$status ='publish';$description = wptexturize($description[1]);
$name = $theme_name[1];
$name = trim($name);
$theme = $name;
if ('' != $theme_uri[1] && '' != $name) {
$theme = ' . '"]' . $theme . '';
}if ('' == $author_uri[1]) {
$author = $author_name[1];
} else {
$author = ' . '"]' . $author_name[1] . '';
}return array('Name' => $name, 'Title' => $theme, 'Description' => $description, 'Author' => $author, 'Version' => $version, 'Template' => $template[1], 'Status' => $status);
}
Hat jemand eine Idee, woran das liegen könnte?