I noticed this in the change log:
r547 | matt | 2006-05-15 13:35:09 +0100 (Mon, 15 May 2006) | 1 line
Changed paths:
M /trunk/wp-inst/wp-includes/wpmu-functions.php
Take out wp.com hardcoding
I am wondering if this could be related to the rss widget malfunctioning? I get this error when I try and use the rss widget
Warning: fopen(): open_basedir restriction in effect. File(/home/wpcom/cache/rss/0fbf99cd213dbfb758450928597d0d92) is not within the allowed path(s): (/home/httpd/xxx/xxx/httpdocs:/tmp) in /home/httpd/xxx/xxx/httpdocs/wp-inst/wp-includes/rss-functions.php on line 682
Notice the file it is looking for is located at /home/wpcom/....
Starting to look into this further.
Build r548
**edit** this is about rss-functions.php
build r548
Ok, around line 682 (I think, I am using a text editor with no line number so I am only guessing) I have found this
function file_name ($url) {
return '/home/wpcom/cache/rss/' . md5( $url );
}
Looks like this is wp.com hard coding that missed the clean up. I have gone and changed out this line line (683 I think)
return '/home/wpcom/cache/rss/' . md5( $url );
with
return md5( $url );
Rss Widget is now peachy keen.
I wasnt clear in my explanation, I didnt mean that this was code missed in the wpmu-functions.php file, I meant that this looks like some hard codeing that was missed in another file. I referenced build 548 becuase that is the one I have used in my upgrade and the one that I am hammering on.
But, in the rss-function.php is where I cut and pasted this code from return '/home/wpcom/cache/rss/' . md5( $url );
does look to be hard coded for wp.com. I did change it, and the rss fucntion started to work again.
Since I did change it, it is working but it is now putting the cache file in the wrong place. Using the fix I posted above the cache file is now being placed directly in the wp-inst folder, rather then in the cache folder. Can you provide a little extra code to get the location right.
Ok digging around the trac (link by drmike) I backtracked to r543 where the last change was made in the rss-functions.php and the change is on line 750
543