<?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>Leoman's blog &#187; safe_mod</title>
	<atom:link href="http://leoman.gen.tr/tag/safe_mod/feed/" rel="self" type="application/rss+xml" />
	<link>http://leoman.gen.tr</link>
	<description>bi blög</description>
	<lastBuildDate>Mon, 28 Feb 2011 06:55:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>WordPress open_basedir içerisinde nasıl?</title>
		<link>http://leoman.gen.tr/2009/06/wordpress-open_basedir-icerisinde-nasil/</link>
		<comments>http://leoman.gen.tr/2009/06/wordpress-open_basedir-icerisinde-nasil/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 15:31:49 +0000</pubDate>
		<dc:creator>leoman</dc:creator>
				<category><![CDATA[Programlama]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[open_basedir]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[safe_mod]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://leoman.gen.tr/?p=76</guid>
		<description><![CDATA[Nedendir bilinmez WordPress upload vb. işlemler için kullandığı ön tanımlı dizin /tmp şeklindedir. Peki ya bir paylaşımlı hosting içerisinde WordPress kullanıyor, upload_tmp_dir lokasyonunuz /tmp&#8217;den farklı ve /tmp dizinine erişiminiz yoksa? Muhtemelen eklenti ve WordPress güncellemelerinde; Warning: file_exists(): open_basedir restriction in effect. File(/tmp//1245078931) is not within the allowed path(s): (/path/path/path/path) in /path/path/path/path/wp-includes/functions.php on line 1924 Warning: [...]]]></description>
			<content:encoded><![CDATA[<p>Nedendir bilinmez <a href="http://wordpress.org">WordPress</a> upload vb. işlemler için kullandığı ön tanımlı dizin /tmp şeklindedir.</p>
<p>Peki ya bir paylaşımlı hosting içerisinde WordPress kullanıyor, upload_tmp_dir lokasyonunuz /tmp&#8217;den farklı ve /tmp dizinine erişiminiz yoksa?</p>
<p>Muhtemelen eklenti ve WordPress güncellemelerinde;</p>
<p><strong>Warning</strong>: file_exists(): <strong>open_basedir</strong> restriction in effect. File(/tmp//1245078931) is not within the allowed path(s): (/path/path/path/path) in /path/path/path/path/wp-includes/functions.php <strong>on line</strong> 1924</p>
<p><strong>Warning</strong>: touch(): <strong>open_basedir</strong> restriction in effect. File(/tmp/1245078931) is not within the allowed path(s): (/path/path/path/path) in /path/path/path/path/wp-admin/includes/file.php <strong>on line</strong> 174</p>
<p>benzeri hatalar dizisi ile karşılaşırız.</p>
<p>Wordpress geliştiricileri wp-config.php dosyası içerisine bu opsiyonu öntanımlı olarak koymadıkları ve not olarak eklemedikleri için neleri değiştirmeniz gerektiği hakkında da fikir sahibi olmanız da güç olacaktır.</p>
<p>Bu problemi gidermek için aşağıdaki satırları wp-config.php dosyasının içerisine eklemeniz yeterli olacaktır.<br />
<code lang="bash"><br />
/**<br />
*<br />
*<br />
*<br />
**/<br />
define('WP_TEMP_DIR', ini_get('upload_tmp_dir'));<br />
putenv('TMPDIR=' . ini_get('upload_tmp_dir'));<br />
/**<br />
*<br />
*<br />
*<br />
**/<br />
</code></p>
<div style="height:66px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:100px;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fleoman.gen.tr%2F2009%2F06%2Fwordpress-open_basedir-icerisinde-nasil%2F&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=recommend&amp;colorscheme=light&amp;send=false&amp;height=62" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:62px;" allowTransparency="true"></iframe></div><div class="really_simple_share_google1" style="width:80px;"><div class="g-plusone" data-size="tall" data-href="http://leoman.gen.tr/2009/06/wordpress-open_basedir-icerisinde-nasil/" ></div></div><div class="really_simple_share_linkedin" style="width:100px;"><script type="IN/Share" data-counter="top" data-url="http://leoman.gen.tr/2009/06/wordpress-open_basedir-icerisinde-nasil/"></script></div><div class="really_simple_share_digg" style="width:100px;"><script type="text/javascript" src="http://widgets.digg.com/buttons.js"></script>
					<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http://leoman.gen.tr/2009/06/wordpress-open_basedir-icerisinde-nasil/&amp;title=WordPress open_basedir i&Atilde;&sect;erisinde nas&Auml;&plusmn;l?"></a></div><div class="really_simple_share_stumbleupon" style="width:100px;"><script type="text/javascript" src="http://www.stumbleupon.com/hostedbadge.php?s=5&amp;r=http://leoman.gen.tr/2009/06/wordpress-open_basedir-icerisinde-nasil/"></script></div><div class="really_simple_share_twitter" style="width:100px;"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" 
						data-text="WordPress open_basedir içerisinde nasıl?" data-url="http://leoman.gen.tr/2009/06/wordpress-open_basedir-icerisinde-nasil/" 
						data-via="leventyalcinn"   data-related="leoman:The author of this post" ></a></div></div>
		<div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://leoman.gen.tr/2009/06/wordpress-open_basedir-icerisinde-nasil/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

