See what I bolded there? It's putting an extra / in the URL. That could be the problem.Warning: fopen(/home/bluemus/public_html//sitemap.gz): failed to open stream: Permission denied in /home/bluemus/public_html/plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 313
Could not open the outfile for writing.
Your entry has been saved
Sitemap Plugin (was Google Sitemap Plugin)
Here's the error message I'm still getting, even after I created a sitemap.gz file myself:
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
755 is not appropriate! Your directory must be 777 to be writable for Serendipity.
The extra "/" can be ignored.
Regards,
Garvin
The extra "/" can be ignored.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Double posting?
This plugin appears to cause some posts to get entered twice. I don't currently have the time to dive into the code, and our blog is just a casual site, so I've removed the extension for now, but you can reach me at joey@php.net if you need me to test fixes or for more info.
I found the fix for this.
That said, I tried setting the main folder to 777, and that still didn't help. What DID help was:
I created my own sitemap.gz file, then set the permissions on it to 777, and left the main folder (S9's folder) at 775. Now it's woking just fine.
I put my blogs in the main folder (public_html) and I've always used 775 without a hitch, because 777 on the main folder would be a security risk. So in my experience with two blogs on several different hosts, 775 works fine. I wouldn't use S9 if I thought I had to either put it in a subfolder or set my main folder to 777, because I want the main site page to be my blog, but I don't want to be insecure.garvinhicking wrote:755 is not appropriate! Your directory must be 777 to be writable for Serendipity.
The extra "/" can be ignored.
Regards,
Garvin
That said, I tried setting the main folder to 777, and that still didn't help. What DID help was:
I created my own sitemap.gz file, then set the permissions on it to 777, and left the main folder (S9's folder) at 775. Now it's woking just fine.
-
- Regular
- Posts: 340
- Joined: Sun Jun 12, 2005 5:28 am
I want to include this some time.Pintu wrote:did the plugin include the content of staticpages into the sitemap.gz?
Well, gzip is not zip. In zip you really have files in a compressed container. Gzip is only one compressed file with no information about the original filename. Most/All programs use only add an .gz to the original filename when compressing and remove it after decrompressing.MySchizoBuddy wrote:shouldn't the file inside sitemap.gz have an xml extension
right now its just sitemap with no extension.
I thought about naming it sitemap.xml.gz, but then I choosed the filename sitemap.gz because google used that filename in their own documentation. The googlebot does not care about the extension, it's more important, that the XML inside is correct, which it seems to be.
Of course it is up to you to change the filename to sitemap.xml.gz
It's now in CVS...Boris wrote:I want to include this some time.Pintu wrote:did the plugin include the content of staticpages into the sitemap.gz?
Has anyone (Garvin?) any idea how to get notified of configuration changes? E.g. changing the URL-Rewriting-method or the basurl should change the sitemap too.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
There currently is no hook to notify plugins of a change in permalinks, but this could be added easily.
I think it would be safer to use the index.php?serendipity[subpage]=pagetitle URL method for static pages instead of the permalink, as that might not always work and is dependant on the permalink config...
Regards,
Garvin
I think it would be safer to use the index.php?serendipity[subpage]=pagetitle URL method for static pages instead of the permalink, as that might not always work and is dependant on the permalink config...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hi folks,
I have installed the google sitemap plugin last weekend and it seems to work fine. I wanted to check if google reads my sitemap. So I went to
http://www.google.com/webmasters/sitemaps/login
When asked to for the URL of my sitemap I entered: http://atlanticreview.org/sitemap.gz
Google then asked me to create a control file at the same URL to confirm that this is my homepage. So I created and uploaded that file in the same directory where my sitemap is, but google can't find that control file.
Does this have to do with rights as well? I don't know how to change those 700 numbers, I can only change "read, write, execute" settings for "owner, group and all".
Perhaps this is a general problem I have with S9Y since I have never been able to open any page on www.atlanticreview.org that has not been created by S9Y. I always had to create a subdomain www.abc.atlanticreview/xyz.html. What shall I do?
I appreciate any help since I am still new. Thanks
I have installed the google sitemap plugin last weekend and it seems to work fine. I wanted to check if google reads my sitemap. So I went to
http://www.google.com/webmasters/sitemaps/login
When asked to for the URL of my sitemap I entered: http://atlanticreview.org/sitemap.gz
Google then asked me to create a control file at the same URL to confirm that this is my homepage. So I created and uploaded that file in the same directory where my sitemap is, but google can't find that control file.
Does this have to do with rights as well? I don't know how to change those 700 numbers, I can only change "read, write, execute" settings for "owner, group and all".
Perhaps this is a general problem I have with S9Y since I have never been able to open any page on www.atlanticreview.org that has not been created by S9Y. I always had to create a subdomain www.abc.atlanticreview/xyz.html. What shall I do?
I appreciate any help since I am still new. Thanks
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hhm, this is a bit weird. The sitemap.gz looks properly - what is the control file that google is complaining about?
Do you have an example for a file that can not be reached on your host even though you uploaded it?
Permissions need to be "read/write" for the owner, "read/write" for the group and "read" for the "other" column.
Regards,
Garvin
Do you have an example for a file that can not be reached on your host even though you uploaded it?
Permissions need to be "read/write" for the owner, "read/write" for the group and "read" for the "other" column.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 340
- Joined: Sun Jun 12, 2005 5:28 am
a control file is just an empty file with filename GOOGLEa349d3022cd8634a.html or something
its used to identfy that the site belongs to u
JOsh try entering the sitemap manually on this website
http://www.google.com/webmasters/sitemaps/login
its used to identfy that the site belongs to u
JOsh try entering the sitemap manually on this website
http://www.google.com/webmasters/sitemaps/login
Thank you very much for your help, Garvin and MySchizoBuddy.
"Do you have an example for a file that can not be reached on your host even though you uploaded it?"
Couple of month ago I created atlanticreview.org/aboutus.html, but instead of seeing aboutus.html, the browser showed the frontpage. I don't need this about us page anymore.
This problem, however, exists now with the google controlfile. When I click on http://atlanticreview.org/GOOGLEbe27aee4a423fxxx.html
I should see an empty page, but instead I see my frontpage again.
Google apparently experiences the same problem, since it can't find my controlfile.
The good news, however, is that google describes my sitemap status as "OK" now. Apparently google only needs this control file to determine that I am the owner of the homepage and therefore may view the statistics for my sitemap. I don't know what statistics exactly. They might be interesting, thus I would love to get access.
Since this is a public forum and that control file identifies me as the owner, I have replaced the last three digits in the above mentioned URL of the control file. I could email you the real file name if that helps to determine the problem I am having.
In one attempt to solve the problem, I described both the URL of my sitemap as both http://atlanticre.... and http://www.atlanticre....
Now google has two sitemaps. Is that good or bad? (Which one should I delete?)
Any help is appreciated!
"Do you have an example for a file that can not be reached on your host even though you uploaded it?"
Couple of month ago I created atlanticreview.org/aboutus.html, but instead of seeing aboutus.html, the browser showed the frontpage. I don't need this about us page anymore.
This problem, however, exists now with the google controlfile. When I click on http://atlanticreview.org/GOOGLEbe27aee4a423fxxx.html
I should see an empty page, but instead I see my frontpage again.
Google apparently experiences the same problem, since it can't find my controlfile.
The good news, however, is that google describes my sitemap status as "OK" now. Apparently google only needs this control file to determine that I am the owner of the homepage and therefore may view the statistics for my sitemap. I don't know what statistics exactly. They might be interesting, thus I would love to get access.
Since this is a public forum and that control file identifies me as the owner, I have replaced the last three digits in the above mentioned URL of the control file. I could email you the real file name if that helps to determine the problem I am having.
In one attempt to solve the problem, I described both the URL of my sitemap as both http://atlanticre.... and http://www.atlanticre....
Now google has two sitemaps. Is that good or bad? (Which one should I delete?)
Any help is appreciated!
My blog: http://AtlanticReview.org
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Josh, the reason for this is the "mod_rewrite" issue.
If serendipity is installed in the root of your homepage, it takes on ALL *.htm files that exist to acknowledge rewriting.
There some a couple of ways to surround this:
1. Do not use mod_rewrite but apache errorhandling instead. apache errorhandling first checks for existing files and then does no rewriting.
2. Put the files you want to show not inside the root, but in a subdirectory. In that same directory put a ".htaccess" file with the content "rewriteengine off".
3. Do not name the file ".html" but instead ".txt" or so. s9y does not pick up those links.
Best regards,
Garvin
If serendipity is installed in the root of your homepage, it takes on ALL *.htm files that exist to acknowledge rewriting.
There some a couple of ways to surround this:
1. Do not use mod_rewrite but apache errorhandling instead. apache errorhandling first checks for existing files and then does no rewriting.
2. Put the files you want to show not inside the root, but in a subdirectory. In that same directory put a ".htaccess" file with the content "rewriteengine off".
3. Do not name the file ".html" but instead ".txt" or so. s9y does not pick up those links.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/