<?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>Knowledge Sharing &#187; Photography</title>
	<atom:link href="http://blog.danigunawan.com/tag/photography/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.danigunawan.com</link>
	<description>"Say it... although a word..."</description>
	<lastBuildDate>Mon, 04 Jan 2010 10:17:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wordpress Error: open_basedir restriction in effect</title>
		<link>http://blog.danigunawan.com/tips-and-trick/wordpress-error-open_basedir-restriction-in-effect/</link>
		<comments>http://blog.danigunawan.com/tips-and-trick/wordpress-error-open_basedir-restriction-in-effect/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 00:10:36 +0000</pubDate>
		<dc:creator>Dagu</dc:creator>
				<category><![CDATA[Tips and Trick]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[open_basedir]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.danigunawan.com/?p=609</guid>
		<description><![CDATA[Yesterday I need to post my photo in my special blog for photography, http://lens.danigunawan.com. But, what happened??? My blog didn&#8217;t appear correctly!!! I got these error messages:
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect.
File(/) is not within the allowed path(s):
(/home/MY_ACCOUNT:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:
/usr/local/php4/lib/php:/tmp) in /home/MY_ACCOUNT/wp-includes/functions.php
on line 1942

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect.
File(/) is not within the allowed path(s):
(/home/MY_ACCOUNT:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:
/usr/local/php4/lib/php:/tmp) [...]


Related posts:<ol><li><a href='http://blog.danigunawan.com/tips-and-trick/wordpress-error-after-automatic-upgrading/' rel='bookmark' title='Permanent Link: WordPress Error After Automatic Upgrading'>WordPress Error After Automatic Upgrading</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Yesterday I need to post my photo in my special blog for photography, <a title="lensa dani gunawan" href="http://lens.danigunawan.com" target="_blank">http://lens.danigunawan.com</a>. But, what happened??? My blog didn&#8217;t appear correctly!!! I got these error messages:</p>
<pre>Warning: is_dir() [function.is-dir]: open_basedir restriction in effect.
File(/) is not within the allowed path(s):
(/home/MY_ACCOUNT:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:
/usr/local/php4/lib/php:/tmp) in /home/MY_ACCOUNT/wp-includes/functions.php
on line 1942

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect.
File(/) is not within the allowed path(s):
(/home/MY_ACCOUNT:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:
/usr/local/php4/lib/php:/tmp) in /home/MY_ACCOUNT/wp-includes/functions.php
on line 1933

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect.
File(/) is not within the allowed path(s):
(/home/MY_ACCOUNT:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:
/usr/local/php4/lib/php:/tmp) in /home/MY_ACCOUNT/wp-includes/functions.php
on line 1942</pre>
<p>FYI, I created my blog using <a title="wordpress org" href="http://www.wordpress.org" target="_blank">wordpress</a>. It&#8217;s the best blog engine ever.. :) After asking some questions to uncle Google, I found that some people have asked the same questions. But they don&#8217;t get the solution yet. I started thinking, then I decided to check the database. I looked into tables <strong>wp_options</strong> (For example I use the default prefix &#8220;wp_&#8221;, table prefix depends on wordpress configuration). I scanned one-by-one, and I found something suspicious in column <strong>option_name = &#8216;upload_path&#8217;</strong>. The value of column <strong>option_value = &#8216;/home/MY_ACCOUNT/wp-content/uploads&#8217;</strong>. After comparing with column option_value from the &#8220;healthy&#8221; blog, I changed the value to <strong>&#8216;wp-content/uploads&#8217;</strong>.</p>
<p>Back to my favorite browser&#8230;, then I pressed <strong>F5</strong>. Tadaaaa&#8230; error in <a title="photography blog" href="http://lens.danigunawan.com" target="_blank">my photography blog</a> disappeared&#8230; :)</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">Kemarin, ketika rindu ingin posting hasil fotografi, kubuka blog khususku mengenai fotografi yang beralamat di http://lens.danigunawan.com. Tapi apa yangterjadi??? Ternyata blog fotografi-ku rusak!!! Muncul error seperti di bawah ini:</p>
<p>Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s):</p>
<p>(/home/MY_WEBHOSTING_ACCOUNT:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in</p>
<p>/home/MY_WEBHOSTING_ACCOUNT/wp-includes/functions.php on line 1942</p>
<p>Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/) is not within the allowed path(s):</p>
<p>(/home/MY_WEBHOSTING_ACCOUNT:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in</p>
<p>/home/MY_WEBHOSTING_ACCOUNT/wp-includes/functions.php on line 1933</p>
<p>Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s):</p>
<p>(/home/MY_WEBHOSTING_ACCOUNT:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in</p>
<p>/home/MY_WEBHOSTING_ACCOUNT/wp-includes/functions.php on line 1942</p>
<p>Sekedar informasi, aku membuat blog fotografi menggunakan wordpress. Setelah kucari kesana kemari, ternyata beberapa orang telah bertanya pertanyaan yang</p>
<p>sama. Tetapi belum juga mendapat solusi. Aku pun berpikir untuk memeriksa database. Melihat daftar tabel yang ada, aku mencurigai tabel wp_options (Sebagai</p>
<p>contoh kugunakan prefix yang default yaitu &#8220;wp_&#8221;, prefix tabel tergantung konfigurasi wordpress). Ku lihat satu-satu isi dari tabel wp_options, dan ternyata</p>
<p>ada yang mencurigakan yaitu untuk kolom option_name = &#8216;upload_path&#8217;. Terlihat pada kolom option_value = &#8216;/home/MY_WEBHOSTING_ACCOUNT/wp-content/uploads&#8217;.</p>
<p>Setelah mencontek isi kolom option_value dari blog yang &#8220;sehat&#8221;, isi kolom tersebut kuganti dengan &#8216;wp-content/uploads&#8217;.</p>
<p>Kembali ke browser, dan ku tekan F5. Tadaaaa&#8230; blog fotografi ku kembali seperti sedia kala.. fiuh&#8230;. akhirnya&#8230; :)</p></div>


<p>Related posts:<ol><li><a href='http://blog.danigunawan.com/tips-and-trick/wordpress-error-after-automatic-upgrading/' rel='bookmark' title='Permanent Link: WordPress Error After Automatic Upgrading'>WordPress Error After Automatic Upgrading</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.danigunawan.com/tips-and-trick/wordpress-error-open_basedir-restriction-in-effect/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
