﻿<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress Türkiye Forumları Konu: Kurulumda CGI hatası</title>
<link>http://www.wordpress-tr.com/forum/</link>
<description>WordPress Türkiye Forumları Konu: Kurulumda CGI hatası</description>
<language>en</language>
<pubDate>Tue, 07 Oct 2008 01:52:55 +0000</pubDate>

<item>
<title>NetWormZ konu: "Kurulumda CGI hatası"</title>
<link>http://www.wordpress-tr.com/forum/topic/4214#post-30366</link>
<pubDate>Sal, 17 Jun 2008 10:26:19 +0000</pubDate>
<dc:creator>NetWormZ</dc:creator>
<guid isPermaLink="false">30366@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;o zmaandan berı sıtem kapalıydı zaten ugraşamıyorum şimdi yenı sürümünü kurdum sorunsuz calışıyor.
&#60;/p&#62;</description>
</item>
<item>
<title>Fatality konu: "Kurulumda CGI hatası"</title>
<link>http://www.wordpress-tr.com/forum/topic/4214#post-27493</link>
<pubDate>Paz, 27 Apr 2008 04:53:49 +0000</pubDate>
<dc:creator>Fatality</dc:creator>
<guid isPermaLink="false">27493@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;Wordpress dizininde bulunan wp-includes klasörünün içindeki&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;wp-db.php&#60;/strong&#62; &#60;/p&#62;
&#60;p&#62;dosyasında bulunun kodları silip aşağıdaki kodları yerleştirdiğinizde sorun çözülüyor. Cevap verildi mi bilmiyorum. Ama yine de yazmak istedim.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;&#38;lt;?php&#60;br /&#62;
//  WordPress DB Class&#60;/p&#62;
&#60;p&#62;//  ORIGINAL CODE FROM:&#60;br /&#62;
//  Justin Vincent (justin@visunet.ie)&#60;br /&#62;
//	&#60;a href=&#34;http://php.justinvincent.com&#34; rel=&#34;nofollow&#34;&#62;http://php.justinvincent.com&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;define('EZSQL_VERSION', 'WP1.25');&#60;br /&#62;
define('OBJECT', 'OBJECT', true);&#60;br /&#62;
define('ARRAY_A', 'ARRAY_A', false);&#60;br /&#62;
define('ARRAY_N', 'ARRAY_N', false);&#60;/p&#62;
&#60;p&#62;if (!defined('SAVEQUERIES'))&#60;br /&#62;
	define('SAVEQUERIES', false);&#60;/p&#62;
&#60;p&#62;class wpdb {&#60;/p&#62;
&#60;p&#62;	var $show_errors = true;&#60;br /&#62;
	var $num_queries = 0;&#60;br /&#62;
	var $last_query;&#60;br /&#62;
	var $col_info;&#60;br /&#62;
	var $queries;&#60;/p&#62;
&#60;p&#62;	// Our tables&#60;br /&#62;
	var $posts;&#60;br /&#62;
	var $users;&#60;br /&#62;
	var $categories;&#60;br /&#62;
	var $post2cat;&#60;br /&#62;
	var $comments;&#60;br /&#62;
	var $links;&#60;br /&#62;
	var $options;&#60;br /&#62;
	var $optiontypes;&#60;br /&#62;
	var $optionvalues;&#60;br /&#62;
	var $optiongroups;&#60;br /&#62;
	var $optiongroup_options;&#60;br /&#62;
	var $postmeta;&#60;br /&#62;
	var $usermeta;&#60;br /&#62;
	var $terms;&#60;br /&#62;
	var $term_taxonomy;&#60;br /&#62;
	var $term_relationships;&#60;/p&#62;
&#60;p&#62;	var $charset;&#60;br /&#62;
	var $collate;&#60;/p&#62;
&#60;p&#62;	/**&#60;br /&#62;
	 * Connects to the database server and selects a database&#60;br /&#62;
	 * @param string $dbuser&#60;br /&#62;
	 * @param string $dbpassword&#60;br /&#62;
	 * @param string $dbname&#60;br /&#62;
	 * @param string $dbhost&#60;br /&#62;
	 */&#60;br /&#62;
	function wpdb($dbuser, $dbpassword, $dbname, $dbhost) {&#60;br /&#62;
		return $this-&#38;gt;__construct($dbuser, $dbpassword, $dbname, $dbhost);&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	function __construct($dbuser, $dbpassword, $dbname, $dbhost) {&#60;br /&#62;
		register_shutdown_function(array(&#38;#38;$this, &#34;__destruct&#34;));&#60;/p&#62;
&#60;p&#62;		if ( defined('DB_CHARSET') )&#60;br /&#62;
			$this-&#38;gt;charset = DB_CHARSET;&#60;/p&#62;
&#60;p&#62;		if ( defined('DB_COLLATE') )&#60;br /&#62;
			$this-&#38;gt;collate = DB_COLLATE;&#60;/p&#62;
&#60;p&#62;        $this-&#38;gt;dbuser = $dbuser;&#60;br /&#62;
        $this-&#38;gt;dbpassword = $dbpassword;&#60;br /&#62;
        $this-&#38;gt;dbname = $dbname;&#60;br /&#62;
        $this-&#38;gt;dbhost = $dbhost;&#60;/p&#62;
&#60;p&#62;        $this-&#38;gt;connecttodb();&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	function connecttodb()&#60;br /&#62;
	{&#60;/p&#62;
&#60;p&#62;		$this-&#38;gt;dbh = @mysql_connect($this-&#38;gt;dbhost, $this-&#38;gt;dbuser, $this-&#38;gt;dbpassword, true);&#60;br /&#62;
		if (!$this-&#38;gt;dbh) {&#60;br /&#62;
			$this-&#38;gt;bail(&#34;&#60;br /&#62;
&#38;lt;h1&#38;gt;Error establishing a database connection&#38;lt;/h1&#38;gt;&#60;br /&#62;
This either means that the username and password information in your &#60;code&#62;wp-config.php&#60;/code&#62; file is incorrect or we can't contact the database server at &#60;code&#62;$dbhost&#60;/code&#62;. This could mean your host's database server is down.&#60;/p&#62;
&#60;ul&#62;
&#60;li&#62;Are you sure you have the correct username and password?&#60;/li&#62;
&#60;li&#62;Are you sure that you have typed the correct hostname?&#60;/li&#62;
&#60;li&#62;Are you sure that the database server is running?&#60;/li&#62;
&#60;/ul&#62;
&#60;p&#62;If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the &#60;a href='http://wordpress.org/support/'&#62;WordPress Support Forums&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;&#34;);&#60;br /&#62;
		}&#60;/p&#62;
&#60;p&#62;		if ( !empty($this-&#38;gt;charset) &#38;#38;&#38;#38; version_compare(mysql_get_server_info(), '4.1.0', '&#38;gt;=') )&#60;br /&#62;
 			$this-&#38;gt;query(&#34;SET NAMES '$this-&#38;gt;charset'&#34;);&#60;/p&#62;
&#60;p&#62;		$this-&#38;gt;select($this-&#38;gt;dbname);&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	function checkconnection()&#60;br /&#62;
	{&#60;br /&#62;
        $maxcount = 5;&#60;br /&#62;
        $cnt = 1;&#60;/p&#62;
&#60;p&#62;        $ping = mysql_ping( $this-&#38;gt;dbh ) ;&#60;/p&#62;
&#60;p&#62;        while( !$ping &#38;#38;&#38;#38; $cnt &#38;lt; $maxcount)&#60;br /&#62;
        {&#60;br /&#62;
            @mysql_close($this-&#38;gt;dbh);&#60;br /&#62;
            $this-&#38;gt;connecttodb();&#60;/p&#62;
&#60;p&#62;            $ping = mysql_ping( $this-&#38;gt;dbh ) ;&#60;/p&#62;
&#60;p&#62;            if(!$ping )&#60;br /&#62;
            {&#60;br /&#62;
                sleep(2);&#60;br /&#62;
            }&#60;br /&#62;
            $cnt+=1;&#60;br /&#62;
        }&#60;/p&#62;
&#60;p&#62;        if(!$ping ) { die(&#34;Attempted to connect for &#34; . $maxcount . &#34; but failed...&#34;) ; }&#60;/p&#62;
&#60;p&#62;	}&#60;/p&#62;
&#60;p&#62;	function __destruct() {&#60;br /&#62;
		return true;&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	/**&#60;br /&#62;
	 * Selects a database using the current class's $this-&#38;gt;dbh&#60;br /&#62;
	 * @param string $db name&#60;br /&#62;
	 */&#60;br /&#62;
	function select($db) {&#60;br /&#62;
		if (!@mysql_select_db($db, $this-&#38;gt;dbh)) {&#60;br /&#62;
			$this-&#38;gt;bail(&#34;&#60;br /&#62;
&#38;lt;h1&#38;gt;Can’t select database&#38;lt;/h1&#38;gt;&#60;br /&#62;
We were able to connect to the database server (which means your username and password is okay) but not able to select the &#60;code&#62;$db&#60;/code&#62; database.&#60;/p&#62;
&#60;ul&#62;
&#60;li&#62;Are you sure it exists?&#60;/li&#62;
&#60;li&#62;On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. Could that be the problem?&#60;/li&#62;
&#60;/ul&#62;
&#60;p&#62;If you don't know how to setup a database you should &#60;strong&#62;contact your host&#60;/strong&#62;. If all else fails you may find help at the &#60;a href='http://wordpress.org/support/'&#62;WordPress Support Forums&#60;/a&#62;.&#60;br /&#62;
&#34;);&#60;br /&#62;
		}&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	/**&#60;br /&#62;
	 * Escapes content for insertion into the database, for security&#60;br /&#62;
	 *&#60;br /&#62;
	 * @param string $string&#60;br /&#62;
	 * @return string query safe string&#60;br /&#62;
	 */&#60;br /&#62;
	function escape($string) {&#60;br /&#62;
		return addslashes( $string ); // Disable rest for now, causing problems&#60;br /&#62;
		if( !$this-&#38;gt;dbh &#124;&#124; version_compare( phpversion(), '4.3.0' ) == '-1' )&#60;br /&#62;
			return mysql_escape_string( $string );&#60;br /&#62;
		else&#60;br /&#62;
			return mysql_real_escape_string( $string, $this-&#38;gt;dbh );&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	/**&#60;br /&#62;
	 * Escapes content by reference for insertion into the database, for security&#60;br /&#62;
	 * @param string $s&#60;br /&#62;
	 */&#60;br /&#62;
	function escape_by_ref(&#38;#38;$s) {&#60;br /&#62;
		$s = $this-&#38;gt;escape($s);&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	/**&#60;br /&#62;
	 * Prepares a SQL query for safe use, using sprintf() syntax&#60;br /&#62;
	 */&#60;br /&#62;
	function prepare($args=NULL) {&#60;br /&#62;
		if ( NULL === $args )&#60;br /&#62;
			return;&#60;br /&#62;
		$args = func_get_args();&#60;br /&#62;
		$query = array_shift($args);&#60;br /&#62;
		$query = str_replace(&#34;'%s'&#34;, '%s', $query); // in case someone mistakenly already singlequoted it&#60;br /&#62;
		$query = str_replace('&#34;%s&#34;', '%s', $query); // doublequote unquoting&#60;br /&#62;
		$query = str_replace('%s', &#34;'%s'&#34;, $query); // quote the strings&#60;br /&#62;
		array_walk($args, array(&#38;#38;$this, 'escape_by_ref'));&#60;br /&#62;
		return @vsprintf($query, $args);&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	// ==================================================================&#60;br /&#62;
	//	Print SQL/DB error.&#60;/p&#62;
&#60;p&#62;	function print_error($str = '') {&#60;br /&#62;
		global $EZSQL_ERROR;&#60;br /&#62;
		if (!$str) $str = mysql_error($this-&#38;gt;dbh);&#60;br /&#62;
		$EZSQL_ERROR[] =&#60;br /&#62;
		array ('query' =&#38;gt; $this-&#38;gt;last_query, 'error_str' =&#38;gt; $str);&#60;/p&#62;
&#60;p&#62;		$str = htmlspecialchars($str, ENT_QUOTES);&#60;br /&#62;
		$query = htmlspecialchars($this-&#38;gt;last_query, ENT_QUOTES);&#60;br /&#62;
		// Is error output turned on or not..&#60;br /&#62;
		if ( $this-&#38;gt;show_errors ) {&#60;br /&#62;
			// If there is an error then take note of it&#60;br /&#62;
			print &#34;&#60;div&#62;&#60;br /&#62;
			&#38;lt;p class='wpdberror'&#38;gt;&#60;strong&#62;WordPress database error:&#60;/strong&#62; [$str]&#60;br /&#62;
			&#60;code&#62;$query&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;			&#60;/div&#62;&#34;;&#60;br /&#62;
		} else {&#60;br /&#62;
			return false;&#60;br /&#62;
		}&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	// ==================================================================&#60;br /&#62;
	//	Turn error handling on or off..&#60;/p&#62;
&#60;p&#62;	function show_errors() {&#60;br /&#62;
		$this-&#38;gt;show_errors = true;&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	function hide_errors() {&#60;br /&#62;
		$this-&#38;gt;show_errors = false;&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	// ==================================================================&#60;br /&#62;
	//	Kill cached query results&#60;/p&#62;
&#60;p&#62;	function flush() {&#60;br /&#62;
		$this-&#38;gt;last_result = array();&#60;br /&#62;
		$this-&#38;gt;col_info = null;&#60;br /&#62;
		$this-&#38;gt;last_query = null;&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	// ==================================================================&#60;br /&#62;
	//	Basic Query	- see docs for more detail&#60;/p&#62;
&#60;p&#62;	function query($query) {&#60;br /&#62;
		// filter the query, if filters are available&#60;br /&#62;
		// NOTE: some queries are made before the plugins have been loaded, and thus cannot be filtered with this method&#60;/p&#62;
&#60;p&#62;		$this-&#38;gt;checkconnection();&#60;/p&#62;
&#60;p&#62;		if ( function_exists('apply_filters') )&#60;br /&#62;
			$query = apply_filters('query', $query);&#60;/p&#62;
&#60;p&#62;		// initialise return&#60;br /&#62;
		$return_val = 0;&#60;br /&#62;
		$this-&#38;gt;flush();&#60;/p&#62;
&#60;p&#62;		// Log how the function was called&#60;br /&#62;
		$this-&#38;gt;func_call = &#34;\$db-&#38;gt;query(\&#34;$query\&#34;)&#34;;&#60;/p&#62;
&#60;p&#62;		// Keep track of the last query for debug..&#60;br /&#62;
		$this-&#38;gt;last_query = $query;&#60;/p&#62;
&#60;p&#62;		// Perform the query via std mysql_query function..&#60;br /&#62;
		if (SAVEQUERIES)&#60;br /&#62;
			$this-&#38;gt;timer_start();&#60;/p&#62;
&#60;p&#62;		$this-&#38;gt;result = @mysql_query($query, $this-&#38;gt;dbh);&#60;br /&#62;
		++$this-&#38;gt;num_queries;&#60;/p&#62;
&#60;p&#62;		if (SAVEQUERIES)&#60;br /&#62;
			$this-&#38;gt;queries[] = array( $query, $this-&#38;gt;timer_stop() );&#60;/p&#62;
&#60;p&#62;		// If there is an error then take note of it..&#60;br /&#62;
		if ( mysql_error($this-&#38;gt;dbh) ) {&#60;br /&#62;
			$this-&#38;gt;print_error();&#60;br /&#62;
			return false;&#60;br /&#62;
		}&#60;/p&#62;
&#60;p&#62;		if ( preg_match(&#34;/^\\s*(insert&#124;delete&#124;update&#124;replace) /i&#34;,$query) ) {&#60;br /&#62;
			$this-&#38;gt;rows_affected = mysql_affected_rows($this-&#38;gt;dbh);&#60;br /&#62;
			// Take note of the insert_id&#60;br /&#62;
			if ( preg_match(&#34;/^\\s*(insert&#124;replace) /i&#34;,$query) ) {&#60;br /&#62;
				$this-&#38;gt;insert_id = mysql_insert_id($this-&#38;gt;dbh);&#60;br /&#62;
			}&#60;br /&#62;
			// Return number of rows affected&#60;br /&#62;
			$return_val = $this-&#38;gt;rows_affected;&#60;br /&#62;
		} else {&#60;br /&#62;
			$i = 0;&#60;br /&#62;
			while ($i &#38;lt; @mysql_num_fields($this-&#38;gt;result)) {&#60;br /&#62;
				$this-&#38;gt;col_info[$i] = @mysql_fetch_field($this-&#38;gt;result);&#60;br /&#62;
				$i++;&#60;br /&#62;
			}&#60;br /&#62;
			$num_rows = 0;&#60;br /&#62;
			while ( $row = @mysql_fetch_object($this-&#38;gt;result) ) {&#60;br /&#62;
				$this-&#38;gt;last_result[$num_rows] = $row;&#60;br /&#62;
				$num_rows++;&#60;br /&#62;
			}&#60;/p&#62;
&#60;p&#62;			@mysql_free_result($this-&#38;gt;result);&#60;/p&#62;
&#60;p&#62;			// Log number of rows the query returned&#60;br /&#62;
			$this-&#38;gt;num_rows = $num_rows;&#60;/p&#62;
&#60;p&#62;			// Return number of rows selected&#60;br /&#62;
			$return_val = $this-&#38;gt;num_rows;&#60;br /&#62;
		}&#60;/p&#62;
&#60;p&#62;		return $return_val;&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	/**&#60;br /&#62;
	 * Get one variable from the database&#60;br /&#62;
	 * @param string $query (can be null as well, for caching, see codex)&#60;br /&#62;
	 * @param int $x = 0 row num to return&#60;br /&#62;
	 * @param int $y = 0 col num to return&#60;br /&#62;
	 * @return mixed results&#60;br /&#62;
	 */&#60;br /&#62;
	function get_var($query=null, $x = 0, $y = 0) {&#60;br /&#62;
		$this-&#38;gt;func_call = &#34;\$db-&#38;gt;get_var(\&#34;$query\&#34;,$x,$y)&#34;;&#60;br /&#62;
		if ( $query )&#60;br /&#62;
			$this-&#38;gt;query($query);&#60;/p&#62;
&#60;p&#62;		// Extract var out of cached results based x,y vals&#60;br /&#62;
		if ( $this-&#38;gt;last_result[$y] ) {&#60;br /&#62;
			$values = array_values(get_object_vars($this-&#38;gt;last_result[$y]));&#60;br /&#62;
		}&#60;/p&#62;
&#60;p&#62;		// If there is a value return it else return null&#60;br /&#62;
		return (isset($values[$x]) &#38;#38;&#38;#38; $values[$x]!=='') ? $values[$x] : null;&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	/**&#60;br /&#62;
	 * Get one row from the database&#60;br /&#62;
	 * @param string $query&#60;br /&#62;
	 * @param string $output ARRAY_A &#124; ARRAY_N &#124; OBJECT&#60;br /&#62;
	 * @param int $y row num to return&#60;br /&#62;
	 * @return mixed results&#60;br /&#62;
	 */&#60;br /&#62;
	function get_row($query = null, $output = OBJECT, $y = 0) {&#60;br /&#62;
		$this-&#38;gt;func_call = &#34;\$db-&#38;gt;get_row(\&#34;$query\&#34;,$output,$y)&#34;;&#60;br /&#62;
		if ( $query )&#60;br /&#62;
			$this-&#38;gt;query($query);&#60;br /&#62;
		else&#60;br /&#62;
			return null;&#60;/p&#62;
&#60;p&#62;		if ( !isset($this-&#38;gt;last_result[$y]) )&#60;br /&#62;
			return null;&#60;/p&#62;
&#60;p&#62;		if ( $output == OBJECT ) {&#60;br /&#62;
			return $this-&#38;gt;last_result[$y] ? $this-&#38;gt;last_result[$y] : null;&#60;br /&#62;
		} elseif ( $output == ARRAY_A ) {&#60;br /&#62;
			return $this-&#38;gt;last_result[$y] ? get_object_vars($this-&#38;gt;last_result[$y]) : null;&#60;br /&#62;
		} elseif ( $output == ARRAY_N ) {&#60;br /&#62;
			return $this-&#38;gt;last_result[$y] ? array_values(get_object_vars($this-&#38;gt;last_result[$y])) : null;&#60;br /&#62;
		} else {&#60;br /&#62;
			$this-&#38;gt;print_error(&#34; \$db-&#38;gt;get_row(string query, output type, int offset) -- Output type must be one of: OBJECT, ARRAY_A, ARRAY_N&#34;);&#60;br /&#62;
		}&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	/**&#60;br /&#62;
	 * Gets one column from the database&#60;br /&#62;
	 * @param string $query (can be null as well, for caching, see codex)&#60;br /&#62;
	 * @param int $x col num to return&#60;br /&#62;
	 * @return array results&#60;br /&#62;
	 */&#60;br /&#62;
	function get_col($query = null , $x = 0) {&#60;br /&#62;
		if ( $query )&#60;br /&#62;
			$this-&#38;gt;query($query);&#60;/p&#62;
&#60;p&#62;		$new_array = array();&#60;br /&#62;
		// Extract the column values&#60;br /&#62;
		for ( $i=0; $i &#38;lt; count($this-&#38;gt;last_result); $i++ ) {&#60;br /&#62;
			$new_array[$i] = $this-&#38;gt;get_var(null, $x, $i);&#60;br /&#62;
		}&#60;br /&#62;
		return $new_array;&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	/**&#60;br /&#62;
	 * Return an entire result set from the database&#60;br /&#62;
	 * @param string $query (can also be null to pull from the cache)&#60;br /&#62;
	 * @param string $output ARRAY_A &#124; ARRAY_N &#124; OBJECT&#60;br /&#62;
	 * @return mixed results&#60;br /&#62;
	 */&#60;br /&#62;
	function get_results($query = null, $output = OBJECT) {&#60;br /&#62;
		$this-&#38;gt;func_call = &#34;\$db-&#38;gt;get_results(\&#34;$query\&#34;, $output)&#34;;&#60;/p&#62;
&#60;p&#62;		if ( $query )&#60;br /&#62;
			$this-&#38;gt;query($query);&#60;br /&#62;
		else&#60;br /&#62;
			return null;&#60;/p&#62;
&#60;p&#62;		// Send back array of objects. Each row is an object&#60;br /&#62;
		if ( $output == OBJECT ) {&#60;br /&#62;
			return $this-&#38;gt;last_result;&#60;br /&#62;
		} elseif ( $output == ARRAY_A &#124;&#124; $output == ARRAY_N ) {&#60;br /&#62;
			if ( $this-&#38;gt;last_result ) {&#60;br /&#62;
				$i = 0;&#60;br /&#62;
				foreach( $this-&#38;gt;last_result as $row ) {&#60;br /&#62;
					$new_array[$i] = (array) $row;&#60;br /&#62;
					if ( $output == ARRAY_N ) {&#60;br /&#62;
						$new_array[$i] = array_values($new_array[$i]);&#60;br /&#62;
					}&#60;br /&#62;
					$i++;&#60;br /&#62;
				}&#60;br /&#62;
				return $new_array;&#60;br /&#62;
			} else {&#60;br /&#62;
				return null;&#60;br /&#62;
			}&#60;br /&#62;
		}&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	/**&#60;br /&#62;
	 * Grabs column metadata from the last query&#60;br /&#62;
	 * @param string $info_type one of name, table, def, max_length, not_null, primary_key, multiple_key, unique_key, numeric, blob, type, unsigned, zerofill&#60;br /&#62;
	 * @param int $col_offset 0: col name. 1: which table the col's in. 2: col's max length. 3: if the col is numeric. 4: col's type&#60;br /&#62;
	 * @return mixed results&#60;br /&#62;
	 */&#60;br /&#62;
	function get_col_info($info_type = 'name', $col_offset = -1) {&#60;br /&#62;
		if ( $this-&#38;gt;col_info ) {&#60;br /&#62;
			if ( $col_offset == -1 ) {&#60;br /&#62;
				$i = 0;&#60;br /&#62;
				foreach($this-&#38;gt;col_info as $col ) {&#60;br /&#62;
					$new_array[$i] = $col-&#38;gt;{$info_type};&#60;br /&#62;
					$i++;&#60;br /&#62;
				}&#60;br /&#62;
				return $new_array;&#60;br /&#62;
			} else {&#60;br /&#62;
				return $this-&#38;gt;col_info[$col_offset]-&#38;gt;{$info_type};&#60;br /&#62;
			}&#60;br /&#62;
		}&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	/**&#60;br /&#62;
	 * Starts the timer, for debugging purposes&#60;br /&#62;
	 */&#60;br /&#62;
	function timer_start() {&#60;br /&#62;
		$mtime = microtime();&#60;br /&#62;
		$mtime = explode(' ', $mtime);&#60;br /&#62;
		$this-&#38;gt;time_start = $mtime[1] + $mtime[0];&#60;br /&#62;
		return true;&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	/**&#60;br /&#62;
	 * Stops the debugging timer&#60;br /&#62;
	 * @return int total time spent on the query, in milliseconds&#60;br /&#62;
	 */&#60;br /&#62;
	function timer_stop() {&#60;br /&#62;
		$mtime = microtime();&#60;br /&#62;
		$mtime = explode(' ', $mtime);&#60;br /&#62;
		$time_end = $mtime[1] + $mtime[0];&#60;br /&#62;
		$time_total = $time_end - $this-&#38;gt;time_start;&#60;br /&#62;
		return $time_total;&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	/**&#60;br /&#62;
	 * Wraps fatal errors in a nice header and footer and dies.&#60;br /&#62;
	 * @param string $message&#60;br /&#62;
	 */&#60;br /&#62;
	function bail($message) { // Just wraps errors in a nice header and footer&#60;br /&#62;
		if ( !$this-&#38;gt;show_errors )&#60;br /&#62;
			return false;&#60;br /&#62;
		wp_die($message);&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;if ( ! isset($wpdb) )&#60;br /&#62;
	$wpdb = new wpdb(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST);&#60;br /&#62;
?&#38;gt;&#60;/p&#62;&#60;/blockquote&#62;</description>
</item>
<item>
<title>canarkadas konu: "Kurulumda CGI hatası"</title>
<link>http://www.wordpress-tr.com/forum/topic/4214#post-25880</link>
<pubDate>Per, 27 Mar 2008 21:08:44 +0000</pubDate>
<dc:creator>canarkadas</dc:creator>
<guid isPermaLink="false">25880@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;&#60;a href=&#34;http://www.google.com.tr/search?hl=tr&#38;#38;q=php.ini+nerede&#38;#38;btnG=Google%27da+Ara&#38;#38;meta=&#34;&#62;Burada&#60;/a&#62;..
&#60;/p&#62;</description>
</item>
<item>
<title>turkisshopen konu: "Kurulumda CGI hatası"</title>
<link>http://www.wordpress-tr.com/forum/topic/4214#post-25865</link>
<pubDate>Per, 27 Mar 2008 03:14:12 +0000</pubDate>
<dc:creator>turkisshopen</dc:creator>
<guid isPermaLink="false">25865@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;php.ini dosyası derken nerede tam oalrak klasördemi ben göremedim ya aynı sorun bendede var
&#60;/p&#62;</description>
</item>
<item>
<title>seloselo konu: "Kurulumda CGI hatası"</title>
<link>http://www.wordpress-tr.com/forum/topic/4214#post-25861</link>
<pubDate>Per, 27 Mar 2008 01:04:11 +0000</pubDate>
<dc:creator>seloselo</dc:creator>
<guid isPermaLink="false">25861@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;php.ini dosyanızı kontrol edin php.ini dosyasını devre dışı bırakıp denerseniz sorununuzun çözüldüğünü göreceksiniz.
&#60;/p&#62;</description>
</item>
<item>
<title>NetWormZ konu: "Kurulumda CGI hatası"</title>
<link>http://www.wordpress-tr.com/forum/topic/4214#post-24622</link>
<pubDate>Sal, 26 Feb 2008 22:42:26 +0000</pubDate>
<dc:creator>NetWormZ</dc:creator>
<guid isPermaLink="false">24622@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;lutfu699 ben sorunu buldum msn ---------------- bana mail at  sana anlatım kardeş serverda kaynaklanıyor&#60;/p&#62;
&#60;p&#62;&#60;div class=&#34;uyari&#34;&#62;&#60;strong&#62;Dikkat&#60;/strong&#62;:Forumda mail adresi paylaşımı yapılmıyor. Bilginizi bu bölüme yazarak paylaşabilirsiniz. [&#60;strong&#62;Heytbecom&#60;/strong&#62;]&#60;/div&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>lutfu699 konu: "Kurulumda CGI hatası"</title>
<link>http://www.wordpress-tr.com/forum/topic/4214#post-23435</link>
<pubDate>Çar, 06 Feb 2008 04:07:21 +0000</pubDate>
<dc:creator>lutfu699</dc:creator>
<guid isPermaLink="false">23435@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;kardes aynı hata bende de oluyor delırecem ya bır el atın su ıse cozelım&#60;/p&#62;
&#60;p&#62;&#60;div class=&#34;uyari&#34;&#62;&#60;strong&#62;Yönetici notu:&#60;/strong&#62; Terbiye sınırlarını aşmayın. [eylultoprak]&#60;/div&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>NetWormZ konu: "Kurulumda CGI hatası"</title>
<link>http://www.wordpress-tr.com/forum/topic/4214#post-22312</link>
<pubDate>Sal, 22 Jan 2008 18:34:47 +0000</pubDate>
<dc:creator>NetWormZ</dc:creator>
<guid isPermaLink="false">22312@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;panelım plesk degil serverım wındows panel entrenix win panelı kardeş
&#60;/p&#62;</description>
</item>
<item>
<title>eylultoprak konu: "Kurulumda CGI hatası"</title>
<link>http://www.wordpress-tr.com/forum/topic/4214#post-22292</link>
<pubDate>Sal, 22 Jan 2008 16:37:10 +0000</pubDate>
<dc:creator>eylultoprak</dc:creator>
<guid isPermaLink="false">22292@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;Bildiğim kadarı ile bu seçenek olarak plesk panelde oluyor.. Olmazsa biir subdomaine kurup orda cgi çalışma seçeneğini kapatabilirsin..
&#60;/p&#62;</description>
</item>
<item>
<title>NetWormZ konu: "Kurulumda CGI hatası"</title>
<link>http://www.wordpress-tr.com/forum/topic/4214#post-22289</link>
<pubDate>Sal, 22 Jan 2008 15:58:34 +0000</pubDate>
<dc:creator>NetWormZ</dc:creator>
<guid isPermaLink="false">22289@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;host benım başka hostta kuruyorum aynı hata verıyor.. : ) ne yapacagım şaşırdım walla.
&#60;/p&#62;</description>
</item>
<item>
<title>eRay konu: "Kurulumda CGI hatası"</title>
<link>http://www.wordpress-tr.com/forum/topic/4214#post-22131</link>
<pubDate>Paz, 20 Jan 2008 17:57:55 +0000</pubDate>
<dc:creator>eRay</dc:creator>
<guid isPermaLink="false">22131@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;wordpress.org'a bir bakmak lazım :)&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wordpress.org/support/topic/131976&#34;&#62;şunu&#60;/a&#62; bir deneyebilirsin.
&#60;/p&#62;</description>
</item>
<item>
<title>gevv konu: "Kurulumda CGI hatası"</title>
<link>http://www.wordpress-tr.com/forum/topic/4214#post-22128</link>
<pubDate>Paz, 20 Jan 2008 16:13:37 +0000</pubDate>
<dc:creator>gevv</dc:creator>
<guid isPermaLink="false">22128@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;sanırım host sahiplerinin çözecegi birşey araştırma yaptım çözümü bulamadım bende beklemedeyim :)
&#60;/p&#62;</description>
</item>
<item>
<title>NetWormZ konu: "Kurulumda CGI hatası"</title>
<link>http://www.wordpress-tr.com/forum/topic/4214#post-22127</link>
<pubDate>Paz, 20 Jan 2008 16:11:47 +0000</pubDate>
<dc:creator>NetWormZ</dc:creator>
<guid isPermaLink="false">22127@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;şimdi normal dosayalar ftp atıyorum sorun yok kurulum sayfası cıkıyor wp-config-sample.php dosyasını acım veritabani bilgilerini giryorum sonra wp-config.php olarak yapıyorum sonrada.. o hata cıkıyor işte..&#60;/p&#62;
&#60;p&#62;CGI Error&#60;br /&#62;
The specified CGI application misbehaved by not returning a complete set of HTTP headers
&#60;/p&#62;</description>
</item>
<item>
<title>gevv konu: "Kurulumda CGI hatası"</title>
<link>http://www.wordpress-tr.com/forum/topic/4214#post-22045</link>
<pubDate>Cts, 19 Jan 2008 17:59:29 +0000</pubDate>
<dc:creator>gevv</dc:creator>
<guid isPermaLink="false">22045@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;bir arkadaşıma wp kuracaktım aynı hatayı verdi wp-config doğru :(
&#60;/p&#62;</description>
</item>
<item>
<title>gercekkartal konu: "Kurulumda CGI hatası"</title>
<link>http://www.wordpress-tr.com/forum/topic/4214#post-21978</link>
<pubDate>Cum, 18 Jan 2008 14:55:26 +0000</pubDate>
<dc:creator>gercekkartal</dc:creator>
<guid isPermaLink="false">21978@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;peki wp-config-sample.php'nin içine girip oraya veritabanın adını kullanıcı adını ve şifresini yazıp, wp-config-sample.php'yi wp-config.php olarak değiştirip denedin mi?
&#60;/p&#62;</description>
</item>
<item>
<title>NetWormZ konu: "Kurulumda CGI hatası"</title>
<link>http://www.wordpress-tr.com/forum/topic/4214#post-21782</link>
<pubDate>Pts, 14 Jan 2008 16:37:36 +0000</pubDate>
<dc:creator>NetWormZ</dc:creator>
<guid isPermaLink="false">21782@http://www.wordpress-tr.com/forum/</guid>
<description>&#60;p&#62;s.a kardeşler wp son kurumunu kuracam ftp attım verıtabna oluşturuyorum &#60;a href=&#34;http://www.siteadi.com&#34; rel=&#34;nofollow&#34;&#62;www.siteadi.com&#60;/a&#62; girıyorum verıtabanı bılgılerı gırıyorum sonra &#60;a href=&#34;http://www.siteadi.com/wp-admin/install.php&#34; rel=&#34;nofollow&#34;&#62;www.siteadi.com/wp-admin/install.php&#60;/a&#62; gırınce&#60;br /&#62;
CGI Error&#60;br /&#62;
The specified CGI application misbehaved by not returning a complete set of HTTP headers &#60;/p&#62;
&#60;p&#62;hatası verıyorur cozemdım bır turlu yardımcı olabilirecek var mı ?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
