Project: XML sitemap
-Version: 6.x-1.x-dev
+Version: 6.x-1.0
Component: Other
Category: task

Priority: normal
Assigned to: Anonymous
Status: fixed
Updated by: richard.e.morton

Since upgrading to 1.0 I now get errors when submitting to any
searchengine.

Details
Type xmlsitemap
Date Monday, 24 August, 2009 - 21:30
User administrator
Location http://nafof.org.uk/admin/settings/xmlsitemap/tools [1]
Referrer http://nafof.org.uk/admin/settings/xmlsitemap/tools [2]
Message Error occurred submitting sitemap to Google: 0.
Severity error
Hostname 78.146.204.228
Operations

I upgraded by disabling, uninstalling, deleting, installing new module,
enabling & configuring as before; I was previously using beta6 I
believe.

[1] http://nafof.org.uk/admin/settings/xmlsitemap/tools
[2] http://nafof.org.uk/admin/settings/xmlsitemap/tools

richard.e.morton

Comments

sterndata’s picture

I can confirm this, too. In installed 6.x.1 following 6.x.1.rc2. The submission URL fields were (1) blank and (2) non-writeable. Got an "error 0" attempting to sumbit to search engines.

javizcaino’s picture

Title:failure to submit sitemaps» I also can confirm this. In installed 6.x.1 following 6.x.1.rc2.

The submission URL fields were disabled, and even enabling it using my browser developing tools (I use Chrome), I'm able to post any changes, but the xmlsitemap submission gives me the same "Error 0".

javizcaino’s picture

Title:I also can confirm this. In installed 6.x.1 following 6.x.1.rc2.» failure to submit sitemaps

Sorry, changed the title, now the title of this issue is recovered

gaijinu’s picture

I can confirm the error as well.

SaxxIng’s picture

Same problem to me too.

earnie’s picture

Priority:Normal» Critical

I'll get this fixed ASAP. When I tested the change the ping URL was shown in the disabled boxes.

earnie’s picture

The bug seems to be in the update path. Execute the following SQL, go to admin/settings/performance and click "Clear cached data". I'll research the .install ASAP.

DELETE FROM variable WHERE name LIKE 'xmlsitemap_engine%url';

Be sure to add a prefix to the variable table name if you have one.

earnie’s picture

Component:xmlsitemap.module» xmlsitemap_engines.module

This issue gets stranger the more I look at it. There is no possible way the update process caused the variables in the variable table to be empty. But I know the values for the URL are being set somewhere as empty strings in the variable table.

Dave Reid’s picture

Setting a textfield to #disabled will cause the variable to be set to '' if you're using system_settings_form, which is what is happening in this case. We need to hide this completely and provide an upgrade path now.

Dave Reid’s picture

Status:Active» Needs review
StatusFileSize
new5.33 KB

Patch attached for review.

Dave Reid’s picture

StatusFileSize
new5.93 KB

Revised patch.

earnie’s picture

StatusFileSize
new4.63 KB

I was working on something similar. I didn't remove the fields from view. Maybe we should.

Dave Reid’s picture

@earnie/12: Looks good. You can remove the #default_value values if you're using #value with a #disabled textfield. Tested and it works.

earnie’s picture

Title:failure to submit sitemaps» Failure to submit sitemaps
Status:Needs review» Fixed
StatusFileSize
new6.6 KB

The attached patch has been committed to CVS. I will create the release tag for a 1.1 release immediately.

richard.e.morton’s picture

excellent news, thanks for all your hard work and community effort. I am astounded by the speed of response!

I am sure all Drupal 6 users look forward to installing this module.

R

williamw’s picture

I have installed the lastest verion, but I still cannot modify Submission URL.
I modified xmlsitemap_engines.admin.inc
change '#disabled' => TRUE to '#disabled' => FALSE
even I can modify Submission URL, but after click save configuration for search engines
It cannot be modify at all. It still show default URL.
How can I fix it? Thanks

earnie’s picture

Why do you want to modify the URL? It is disabled as a result of #553930: Disable the UI for search engine URL.

williamw’s picture

Do you mean I don't need to change the configuration

from
http://www.google.com/webmasters/tools/ping?sitemap=[sitemap]
to something like
http://www.google.com/webmasters/tools/ping?sitemap=[http://drupal.site/...

Am I correct? Thanks

Dave Reid’s picture

@williamw: You shouldn't need to change that. [sitemap] will be automatically replaced with the path to your site's sitemap during submission.

javizcaino’s picture

StatusFileSize
new3.32 KB

I upgraded to version 6.x.1.1 and the textboxes are still disabled.

Is this correct?

-------

Ok... ignore this comment... It was a complete nonsense.

earnie’s picture

The viewable field texts will be changed in the future to make it clear that the data in these fields is for your information only and should not be changed.

williamw’s picture

Thanks Dave. very appreciate your help!

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

drupalhook’s picture

xmlsitemap-6.x-1.1 is not working in IE or mozilla in window system.
It is showing page not found error when I open http://localhost/drupal613/sitemap.xml in IE or in mozilla.
Please help.

drupalhook’s picture

Version:6.x-1.0» 6.x-1.1
Component:xmlsitemap_engines.module» xmlsitemap.module
Status:Closed (fixed)» Needs work

xmlsitemap-6.x-1.1 is not working in IE or mozilla in window system.
It is showing page not found error when I open http://localhost/drupal613/sitemap.xml in IE or in mozilla.
Please help.

Dave Reid’s picture

Version:6.x-1.1» 6.x-1.0
Component:xmlsitemap.module» xmlsitemap_engines.module
Status:Needs work» Fixed

@amarbijay: Please don't re-open an issue that isn't related to your problem. Please file a separate issue. Also make sure you search existing issues because maybe something like #485432: Page not found 404 when trying to open /sitemap.xml is your problem?

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.