Hallo.
Habe dieses Theme installiert:
http://www.smashingmagazine.com/2009/05/04/dow…ordpress-theme/
Aber bei der EinzelAnsicht von einem Beitrag kommt bei mir folgender Fehler:
ZitatWarning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /usr/export/www/vhosts/funnetwork/hosting/iiinet/wordpress/wp-content/themes/gallery/functions.php on line 131
Warning: file_get_contents(http://tinyurl.com/api-create.php…ss%2F%3Fp%3D115) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /usr/export/www/vhosts/funnetwork/hosting/iiinet/wordpress/wp-content/themes/gallery/functions.php on line 131
Also der Fehler wird übern Beitrag angezeigt aber der Rest wird normal und fehlerfrei angezeigt.
Edit:
Un in der functions.php 131 steht das: (Aber ich wollte es auch nciht einfach rauslöschen weil ich nicht ganz weiß, was das ist ^^):
function gallery_single_post() {
global $post;
if(function_exists('file_get_contents')){
$shortenedurl = file_get_contents('http://tinyurl.com/api-create.php?url=' . urlencode(get_permalink()));
} else {
$shortenedurl = urlencode(get_permalink());
}
?>
<div id="post-<?php the_ID(); ?>" class="<?php
thematic_post_class();
if(function_exists('p75GetVideo')){
if(p75GetVideo($post->ID)){
echo " video";
$video = 1;
}
}
?>">
<div class="entry-content">
<?php if(function_exists('the_ratings')) { echo the_ratings(); } ?>
<h1><?php the_title(); ?></h1>
Alles anzeigen