• 29-08-2012, 21:11:03
    #1
    abbf7fb6703fa7064b894f84ed9-%%.html) [function.fopen]: failed to open stream: No such file or directory in /home/fulldivx/public_html/thementalistizle.com/wp-content/themes/vodeo/single.php on line 216

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/fulldivx/public_html/thementalistizle.com/wp-content/themes/vodeo/single.php on line 217

    Warning: fclose(): supplied argument is not a valid stream resource in /home/fulldivx/public_html/thementalistizle.com/wp-content/themes/vodeo/single.php on line 218


    Böyle bir hata almaktayım siteyi taşıdıktan sonra neden olabilir arkadaşlar ?
  • 29-08-2012, 21:14:49
    #2
    single.php de, 216,217,218 de yzan kodlar ne?
  • 29-08-2012, 21:15:36
    #3
    216'dan 221'e kadar şu şekilde.

    $fp = fopen($cachefile, 'w ');
    fwrite($fp, ob_get_contents());
    fclose($fp);
    ob_end_flush();
    ?>
    <?php } ?>
  • 29-08-2012, 21:25:13
    #4
    Cache hatası. Okumuyor dosyaları. Dizin yolunu kontrol et istersen.
  • 29-08-2012, 21:26:49
    #5
    Nasıl kontrol edebilirim acaba ?
  • 30-08-2012, 00:03:10
    #6
    single.php dosyasını buraya eklersen yardımcı olmaya çalışırım.
  • 30-08-2012, 00:07:30
    #7
    Misafir adlı üyeden alıntı: mesajı görüntüle
    single.php dosyasını buraya eklersen yardımcı olmaya çalışırım.
    Tabi , buyrun.

    <?php if (get_option('vd_cache')=='Acik') { ?>
    <?php
    $filename = "%%-".md5($_SERVER['REQUEST_URI'])."-%%.html";
    $cachefile = "cache/".$filename;
    $cachetime = 3 * 60 * 60; // Cache Süresi
    if (file_exists($cachefile))
    {
    if(time() - $cachetime < filemtime($cachefile))
    {
    readfile($cachefile);
    exit;
    }
    else
    {
    unlink($cachefile);
    }
    }
    ob_start();
    ?>
    
    <?php
    }
    /**
     *Vodeo, film sayfası
     */
    
    get_header(); ?>
    
    
    
    	<?php while ( have_posts() ) : the_post(); ?>
    
    	<!-- Orta Kriter Başlıyor -->
    	<div class="ortakriter">
    	<div class="kri">
    	<a href="index.php">Anasayfa</a> <span class="ok">&raquo;</span> <?php the_title(); ?>
    	</div>
    
    	<!-- Arama Kısmı -->
    	<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get">
    	<div class="arama">
    	<input name="s" id="search" type="text" value="<?php _e('Search'); ?>" onmouseover="this.style.backgroundColor='#0873c1';"  onmouseout="this.style.backgroundColor='transparent';" onclick="this.value=''"></input>
    	</div>
    	</form>
    	  
    	</div>
    	</div>
    
    	<!-- Takip Kısmı -->
    	<div class="takip">
     	<div class="baslik"><img src="<?php bloginfo('template_url'); ?>/images/ok.png" width="8" height="8" alt="" /> <strong>Abone Ol</strong></div> 
    	<span>Eklenen filmleri ilk siz izlemek istiyorsanız mail adresiniz ile bizi takip edin. Email adresinizi yazıp ENTER'a basın.</span>
    	<form action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=<?php echo get_option('vd_feed');?>', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">
     	<input name="email" type="text" value="Email Adresi" class="usernameform" onfocus="if (this.value == 'Email Adresi') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Email Adresi';}" />
    	<input type="hidden" value="<?php echo get_option('vd_feed');?>" name="uri"/><input type="hidden" name="loc" value="en_US"/>
    	</form>
    	</div>
    
    
    
    	<!-- Sol Kısmımız -->
    	<div class="sol-kisim">
    
    	<!-- Filmimiz -->
    	<div class="vivik">
    
    	  <div class="baslik"><a href="http://www.google.com.tr/search?hl=tr&amp;q=<?php the_title(); ?>" title="<?php the_title(); ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/google.png" alt="<?php the_title(); ?>" /></a>
    	   <h1><?php the_title(); ?></h1>
    	</div>
    	
    				<script>
    				function ReklamiKapat(){
    				document.getElementById('reklamlar').style.display='none'
    				document.getElementById('konumuz').style.display='block'
    				}
    				var ReklamKapat= window.setTimeout("ReklamiKapat()",<?php echo get_option('vd_reklam_zaman');?>);
    				function clear(){
    				window.clearTimeout(ReklamKapat);
    				}
    				</script>
    
    
    
    				<div class="ackl" id="reklamlar" style="display:block"><center>
    				<br />
    				<span style="font-size:11px; display:block;">Video az sonra yüklenecektir. <a href="javascript:;" style="color:#f9900" onclick="return ReklamiKapat(); clear();">( Tanıtımı Geç&nbsp;&raquo; )</a></span>					
    			<?php vd_video_oncesi(); ?>
    			 	</center>
    				</div>
    				<div id="konumuz" style="display:none">
    
    
    <div class="partlar"><?php wp_link_pages('before=&after=&pagelink=%.Part '); ?></div>
    	<div class="swfc">
    <?php the_content(); ?>
    </div>
    <?php vodeo_single(); ?>
    </div>
    <!-- /// Filmimiz Bitti -->
    
    <div class="sosyal"><iframe src="//www.facebook.com/plugins/like.php?href=<?php the_permalink() ?>&amp;send=false&amp;layout=button_count&amp;width=80&amp;show_faces=true&amp;action=like&amp;colorscheme=dark&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:60px; height:23px;" allowTransparency="true"></iframe>
    <a href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&t=<?php the_title(); ?>" target="blank">
    <img onmouseover="this.src='<?php bloginfo('template_url'); ?>/images/face_btn_h.png'" onmouseout="this.src='<?php bloginfo('template_url'); ?>/images/face_btn.png'"  src="<?php bloginfo('template_url'); ?>/images/face_btn.png" alt="" /></a>
    <a href="https://twitter.com/share" class="twitter-share-button" data-lang="tr" data-count="none">
    <img onmouseover="this.src='<?php bloginfo('template_url'); ?>/images/twt_btn_h.png'" onmouseout="this.src='<?php bloginfo('template_url'); ?>/images/twt_btn.png'" src="<?php bloginfo('template_url'); ?>/images/twt_btn.png" alt="" /></a>
    <a target="_blank" href="http://feedburner.google.com/fb/a/mailverify?uri=FilmIzleOnlineFilmIndirmedenFilmIzle-Izleocom&amp;loc=en_US">
    <img onmouseover="this.src='<?php bloginfo('template_url'); ?>/images/rss_btn_h.png'" onmouseout="this.src='<?php bloginfo('template_url'); ?>/images/rss_btn.png'" src="<?php bloginfo('template_url'); ?>/images/rss_btn.png" alt="" /></a>
    <a class="lightSwitcher">Işıkları Kapat</a>
    
    </div>
    <div class="ackl"><?php if (function_exists('emo_vote_display')) emo_vote_display('Oylanmamis', '1 Toplam Oy', '% votes'); ?></div>
    
    </div>
    <div class="videos">
    
    
    	<!-- Film Açıklaması -->
    	<div class="ackl">
    	<div class="filmkn"><img src="<?php if (get_option('vd_renk')=='mavi') { ?><?php bloginfo('template_url'); ?>/images/film-konu.png<?php }  if (get_option('vd_renk')=='kirmizi') { ?><?php bloginfo('template_url'); ?>/images/film-konu-krmz.png<?php  } ?> <?php if (get_option('vd_renk')=='yesil') { ?><?php bloginfo('template_url'); ?>/images/film-konu-yesil.png<?php  } ?>" alt="" /></div>
    	<?php vodeo_konu(); ?>
    	</div>
    	
    	
    						
    				<?php endwhile; // end of the loop. ?>
    	
    		<!-- 468x60 Reklam Alanı -->
    	<?php vd_r468(); ?>
    
    <!-- Film Bilgi -->
    <div class="blg">
    	<div class="filmblg"><img src="<?php if (get_option('vd_renk')=='mavi') { ?><?php bloginfo('template_url'); ?>/images/film-bilgi.png<?php }  if (get_option('vd_renk')=='kirmizi') { ?><?php bloginfo('template_url'); ?>/images/film-bilgi-krmz.png<?php  } ?> <?php if (get_option('vd_renk')=='yesil') { ?><?php bloginfo('template_url'); ?>/images/film-bilgi-yesil.png<?php  } ?>" alt="" /></div>
    	<div class="afisblg"><img src="<?php echo get_post_meta($post->ID, 'thumb', true); ?>" width="100" height="125" alt="<?php the_title(); ?>" /></div>
    	<?php $key = "tarih"; $getir = get_post_meta($post->ID, $key, true); if($getir != "") { ?>
    	<p><strong>Gösterim tarihi:</strong> <?php echo get_post_meta($post->ID, 'tarih', true); ?> </p> <?php } ?>
    	<?php $key = "imdb"; $getir = get_post_meta($post->ID, $key, true); if($getir != "") { ?>		
    	<p><strong>IMDB Puan:</strong> <em><?php echo get_post_meta($post->ID, 'imdb', true); ?></em> </p> <?php } ?>	
    	<?php $key = "yonetmen"; $getir = get_post_meta($post->ID, $key, true); if($getir != "") { ?>		
    	<p><strong>Yönetmen:</strong> <em><?php echo get_post_meta($post->ID, 'yonetmen', true); ?></em> </p> <?php } ?>
    	<?php $key = "ingisim"; $getir = get_post_meta($post->ID, $key, true); if($getir != "") { ?>		
    	<p><strong>Diğer İsmi:</strong> <em><?php echo get_post_meta($post->ID, 'ingisim', true); ?></em> </p> <?php } ?>	
    	<?php $key = "senaryo"; $getir = get_post_meta($post->ID, $key, true); if($getir != "") { ?>		
    	<p><strong>Senaryo:</strong> <em><?php echo get_post_meta($post->ID, 'senaryo', true); ?></em> </p> <?php } ?>	
    	<p><strong>Tür:</strong> <?php the_category(', '); ?></span><br />
    	<?php $key = "oyuncular"; $getir = get_post_meta($post->ID, $key, true); if($getir != "") { ?>
    	<p><strong>Oyuncular:</strong> <?php echo get_post_meta($post->ID, 'oyuncular', true); ?></p> <?php } ?>
    	<strong>Etiketler:</strong> <?php the_tags( '
    ', ', ', '
    '); ?> 
    
    </div>
    <!-- /// Film Bilgi Bitti -->
    
    
    	<!-- Yorum -->			
    	<div class="tab">
    	<span id="tab-1" class="tab-aktif">Yorumlar</span>
    	<span id="tab-2">Yorum Yaz</span>
    	</div>
    	<!-- Mavi Cizgimiz -->
    	<div class="mavi-cizgis"><hr /></div>
    		<div id="tab-1-icerik">
    	<div id="comments_list">		
    	<?php comments_template( '', true ); ?>
    	</div>
    	</div>
    	
    	<!-- Diğer Bölüm ve Özetler -->	
    
    	<div class="diger-bolumler">
    	<div class="filmblg"><img src="<?php if (get_option('vd_renk')=='mavi') { ?><?php bloginfo('template_url'); ?>/images/benzer-film.png<?php }  if (get_option('vd_renk')=='kirmizi') { ?><?php bloginfo('template_url'); ?>/images/benzer-film_krmz.png<?php  } ?><?php if (get_option('vd_renk')=='yesil') { ?><?php bloginfo('template_url'); ?>/images/benzer-film-yesil.png<?php  } ?>" alt="" /></div>
    	
    <!-- Bölümler Başlıyor -->
    	<?php $categories = get_the_category($post->ID); if ($categories) { $category_ids = array(); foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id;
          $args=array(
          'category__in' => $category_ids,
          'post__not_in' => array($post->ID),
          'showposts'=>8, // Gösterilecek benzer yazı sayısı
          'caller_get_posts'=>1
       );
     
            $my_query = new wp_query($args);
       if( $my_query->have_posts() ) {
          echo '';
          while ($my_query->have_posts()) {
             $my_query->the_post();
          ?>
    	<div class="bolumler">
            <a href="<?php the_permalink(); ?>"><img src="<?php echo get_post_meta($post->ID, 'thumb', true); ?>" width="80" height="100" alt="<?php the_title_attribute(); ?>" /></a>   
    	<span>
    	<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?> </a><br />
    	<?php if(function_exists('the_views')) { the_views(); } ?> kere izlendi
    	</span>
    	</div> 
     <?php
          }
          echo '';
       }
    wp_reset_query();
    } ?>
    
    	</div>
    	
    
    	<!-- Bölüm ve Özetler Bitti -->			
    	</div>
    	</div>
    
    
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
    
    <?php if (get_option('vd_cache')=='Acik') { ?>
    <?
    $fp = fopen($cachefile, 'w ');
    fwrite($fp, ob_get_contents());
    fclose($fp);
    ob_end_flush();
    ?>
    <?php } ?>
  • 30-08-2012, 00:08:35
    #8
    Üyeliği durduruldu
    Sanırım aldığınız hata cache hatası. sitenizi taşırken panel değiştirdiniz mi acaba ?
    pleskten cpanel yada cpanelden plesk gibi mesela.
  • 30-08-2012, 00:09:04
    #9
    DilaraBilisim adlı üyeden alıntı: mesajı görüntüle
    Sanırım aldığınız hata cache hatası. sitenizi taşırken panel değiştirdiniz mi acaba ?
    pleskten cpanel yada cpanelden plesk gibi mesela.
    driectadmin > cpanel değişikliği yaptım evet