<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>3mr3 &#187; WordPress 2.8</title>
	<atom:link href="http://www.3mr3.com/etiket/wordpress-2-8/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.3mr3.com</link>
	<description>Sanal Dünyamdaki Blog</description>
	<lastBuildDate>Wed, 08 Sep 2010 12:30:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>WP 2.8 Tema Hatası ve Çözümü (theme.php 387)</title>
		<link>http://www.3mr3.com/wp-2-8-tema-hatasi-ve-cozumu-theme-php-387/</link>
		<comments>http://www.3mr3.com/wp-2-8-tema-hatasi-ve-cozumu-theme-php-387/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 09:19:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[on line 387]]></category>
		<category><![CDATA[tema hatası]]></category>
		<category><![CDATA[theme.php]]></category>
		<category><![CDATA[WordPress 2.8]]></category>

		<guid isPermaLink="false">http://www.3mr3.com/?p=564</guid>
		<description><![CDATA[WordPress 2.8 ile gelen bu hatayla karşılaşıyorsanız aşağıdaki çözüm işe yarayacaktır. PHP Fatal error: Call to a member function read() on a non-object in ... \\wp-includes\\theme.php on line 387 wp-includes/theme.php dosyasını açın; Bulun: $template_dir = @ dir("$theme_root/$template"); if ( $template_dir ) { while ( ($file = $template_dir-&#62;read()) !== false ) { if ( preg_match('&#124;^\.+$&#124;', $file) [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress 2.8 ile gelen bu hatayla karşılaşıyorsanız aşağıdaki çözüm işe yarayacaktır.</p>
<p><span style="color: #ff0000;"><code>PHP Fatal error:  Call to a member function read() on a non-object in ... \\wp-includes\\theme.php on line 387</code></span></p>
<p>wp-includes/theme.php dosyasını açın;</p>
<p><span id="more-564"></span></p>
<p><strong>Bulun:</strong></p>
<pre>$template_dir = @ dir("$theme_root/$template");
if ( $template_dir ) {
while ( ($file = $template_dir-&gt;read()) !== false ) {
if ( preg_match('|^\.+$|', $file) )
continue;
if ( preg_match('|\.php$|', $file) ) {
$template_files[] = "$theme_loc/$template/$file";
} elseif ( is_dir("$theme_root/$template/$file") ) {
$template_subdir = @ dir("$theme_root/$template/$file");
while ( ($subfile = $template_subdir-&gt;read()) !== false ) {
if ( preg_match('|^\.+$|', $subfile) )
continue;
if ( preg_match('|\.php$|', $subfile) )
$template_files[] = "$theme_loc/$template/$file/$subfile";
}
@ $template_subdir-&gt;close();
}
}
@ $template_dir-&gt;close();
}</pre>
<p><strong>Aşağıdaki kod ile değiştirin:</strong></p>
<pre>$template_dir = @ dir("$theme_root/$template");
if ( $template_dir ) {
	while ( ($file = $template_dir-&gt;read()) !== false ) {
		if ( preg_match('|^\.+$|', $file) )
			continue;
		if ( preg_match('|\.php$|', $file) ) {
			$template_files[] = "$theme_loc/$template/$file";
		} elseif ( is_dir("$theme_root/$template/$file") ) {
			$template_subdir = @ dir("$theme_root/$template/$file");
                if ( is_object($template_subdir) ) {
                        while ( ($subfile = $template_subdir-&gt;read()) !== false ) {
                             if ( preg_match('|^\.+$|', $subfile) )
                                continue;
                            if ( preg_match('|\.php$|', $subfile) )
                                $template_files[] = "$theme_loc/$template/$file/$subfile";
                        }
                        @ $template_subdir-&gt;close();
                    }
                }
	}
	@ $template_dir-&gt;close();
}</pre>
<p>Bu işlemi kaydederek, Tema düzenlediğiniz yeri kontrol edin.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.3mr3.com/wp-2-8-tema-hatasi-ve-cozumu-theme-php-387/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
