13 pointsStarting to get into this DEV thingI'm new here
Bryan Ellis
Member
—
15th March 2009 (3 years ago)
Hi everyone - when I visit the sitemap.xml page that I expect to see after installing the Sitemaps & SEO plugin, I get a list of errors like this:
-----
Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 512 is not allowed to access / owned by uid 0 in /home/****/public_html/wp-content/mu-plugins/simple-sitemaps.php on line 87
Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 512 is not allowed to access //home owned by uid 0 in /home/****/public_html/wp-content/mu-plugins/simple-sitemaps.php on line 87
Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 512 is not allowed to access /home/****/public_html/wp-content/blogs.dir owned by uid 99 in /home/****/public_html/wp-content/mu-plugins/simple-sitemaps.php on line 87
Warning: mkdir() [function.mkdir]: Unable to access //home/****/public_html/wp-content/blogs.dir/1/files in /home/****/public_html/wp-content/mu-plugins/simple-sitemaps.php on line 87
Warning: file_put_contents() [function.file-put-contents]: Unable to access //home/****/public_html/wp-content/blogs.dir/1/files/sitemap.xml in /home/****/public_html/wp-content/mu-plugins/simple-sitemaps.php on line 89
Warning: file_put_contents(//home/****/public_html/wp-content/blogs.dir/1/files/sitemap.xml) [function.file-put-contents]: failed to open stream: No such file or directory in /home/****/public_html/wp-content/mu-plugins/simple-sitemaps.php on line 89
Warning: Cannot modify header information - headers already sent by (output started at /home/****/public_html/wp-content/mu-plugins/simple-sitemaps.php:87) in /home/****/public_html/wp-content/sitemap.php on line 29 http://REICtr.com/1/hello-world/ 2009-03-15T18:07:43+00:00 1.0
-----
Note - Safe Mode is definitely *OFF* on this account.
Hi everyone - when I visit the sitemap.xml page that I expect to see after installing the Sitemaps & SEO plugin, I get a list of errors like this:
-----
Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 512 is not allowed to access / owned by uid 0 in /home/****/public_html/wp-content/mu-plugins/simple-sitemaps.php on line 87
Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 512 is not allowed to access //home owned by uid 0 in /home/****/public_html/wp-content/mu-plugins/simple-sitemaps.php on line 87
Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 512 is not allowed to access /home/****/public_html/wp-content/blogs.dir owned by uid 99 in /home/****/public_html/wp-content/mu-plugins/simple-sitemaps.php on line 87
Warning: mkdir() [function.mkdir]: Unable to access //home/****/public_html/wp-content/blogs.dir/1/files in /home/****/public_html/wp-content/mu-plugins/simple-sitemaps.php on line 87
Warning: file_put_contents() [function.file-put-contents]: Unable to access //home/****/public_html/wp-content/blogs.dir/1/files/sitemap.xml in /home/****/public_html/wp-content/mu-plugins/simple-sitemaps.php on line 89
Warning: file_put_contents(//home/****/public_html/wp-content/blogs.dir/1/files/sitemap.xml) [function.file-put-contents]: failed to open stream: No such file or directory in /home/****/public_html/wp-content/mu-plugins/simple-sitemaps.php on line 89
Warning: Cannot modify header information - headers already sent by (output started at /home/****/public_html/wp-content/mu-plugins/simple-sitemaps.php:87) in /home/****/public_html/wp-content/sitemap.php on line 29 http://REICtr.com/1/hello-world/ 2009-03-15T18:07:43+00:00 1.0
-----
Note - Safe Mode is definitely *OFF* on this account.
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
15th March 2009 (3 years ago)
#
Also check who owns the blogs.dir directory. Changing it over to whatever user the webserver runs under (ie nobody or apache depending on your OS) will probably get around that. The directory is probably owned by your own user account.
Responses (6)
Erstwhile founder — 15th March 2009 (3 years ago) #
Check the permissions for blogs.dir.
Thanks,
Andrew
Keeper of the Dark Chocolate — 15th March 2009 (3 years ago) #
Also check who owns the blogs.dir directory. Changing it over to whatever user the webserver runs under (ie nobody or apache depending on your OS) will probably get around that. The directory is probably owned by your own user account.
Erstwhile founder — 15th March 2009 (3 years ago) #
Looking back at the error messages I think that's exactly the problem.
Keeper of the Dark Chocolate — 15th March 2009 (3 years ago) #
That's actually a way to get safe_mode to run but assign a subdirectory for uploads but for the life of me, I can't find a doc on it.
I'm not kidding. I can't find squat today.
Maybe I'll go sacrifice a router or something to the internet gods...
Member — 17th March 2009 (3 years ago) #
@drmike @bryan also to add to drmike suggestion about the owner, it could be www-data as the owner.
Keeper of the Dark Chocolate — 17th March 2009 (3 years ago) #
Thanks. Which OS is that with? Have to admit that I've not seen that before. Wouldn't surprise me though.
Become a member