WordPress.org

Ready to get started?Download WordPress

Forums

Google Sitemaps and WordPress 2.3 (Please help testing) (87 posts)

  1. xavierp
    Member
    Posted 6 years ago #

    DonPietro - thanks for posting your solution. I was getting a blank page after activation and by adding that line in I have the site map up and running. Thanks again.

    And thanks Arnee - it's a very simple plugin and very effective.

  2. Keilya
    Member
    Posted 6 years ago #

    I got it to work right now. Even the blank page problem is gone now after I click on activate.

    I copied the original wp-config.php and added the memory limit. (@ini_set("memory_limit","16M");) After that I uploaded it and everything seems to work.

    I must have had a bad copy of wp-config or something when I added the line before.

    Anyway, thanks for the support.

    Glad to hear that it's working again! Kuddos. (:

  3. Wolly
    Member
    Posted 6 years ago #

    I upgraded to 2.3 and I have installed new version of yours plugin and it works great .

    There is only a problem with yahoo it always tell me that there is a problem with yahoo but I think it is a yahoo's problem :-)

    Thanx a lot for this plugin

  4. JerryJM
    Member
    Posted 6 years ago #

    What if I already have a sitemap.xml with over 100 pages? Will this plugin respect and add to it? Thanks.

  5. JerryJM
    Member
    Posted 6 years ago #

    Response to my post above: My WordPress blog is in a subfolder at http://coolcats.com/Nashville-Web-Designers-Blog/.

    Google Sitemap Generator took all of three minutes to set up and created sitemap.xml and sitemap.xml.gz in the subfolder, and even notified Google, Ask, YAHOO! and my mom (just kidding) of the new sitemap.

    This is way cool, thanks for this plugin!

  6. khrys
    Member
    Posted 6 years ago #

    Hi ! I'm also experiencing problems with your plugin since I upgraded to WordPress 2.3 ...
    Since it was complaining that some tables were deleted, I came here to download the latest version of your plugin (3.0). Now I have a "funnier" issue ; when writing an article and clicking on the save button (or save and continue editing), it shows a white page with this text:

    Warning: mysql_fetch_object(): 103 is not a valid MySQL result resource in /mnt/123/sdb/5/e/schermesser/khrys/wordpress/wp-content/plugins/google-sitemap-generator/sitemap.php on line 2075
    
    Warning: Cannot modify header information - headers already sent by (output started at /mnt/123/sdb/5/e/schermesser/khrys/wordpress/wp-content/plugins/google-sitemap-generator/sitemap.php:2075) in /mnt/123/sdb/5/e/schermesser/khrys/wordpress/wp-includes/pluggable.php on line 390

    I get a similar issue when posting a comment. Would you have an idea what's happening ?

  7. asmodai
    Member
    Posted 6 years ago #

    Arne, you said earlier:

    @alyas2022: This error is probably not related to the Sitemaps plugin since it is not active on the front end. There is also no such database query in it so you could try to disabled all your plugins one by one to see which of them causes the error.

    Unfortunately you are mistaken. google-sitemap-generator.3.0b7 has this snippet:

    $catsRes=$wpdb->get_results("SELECT cat_ID AS ID, MAX(post_modified) AS last_mod FROM" . $wpdb->posts . "p LEFT JOIN" . $wpdb->post2cat . "pc ON p.ID = pc.post_id LEFT JOIN" . $wpdb->categories . "c ON pc.category_id = c.cat_ID WHERE post_status = 'publish' GROUP BY cat_ID");

    Notice the $wpdb->post2cat occurence in the code.

  8. arnee
    Member
    Posted 6 years ago #

    @JerryJM: The plugin will overwrite your existing sitemap file but you have the option to specify another filename.

    @khrys: Could you post a list of other plugins you have currently activated? Maybe one of them doesn't use the WordPress API to make MySQL queries.

    @asmodai: You are right, but look again at the query from the post I've replied to. It's using table aliases like "t1" which the sitemap plugin doesn't. Please also note that v 3.0b7 is not compatible with WP 2.3, see my first post.

    Best regards,

    Arne

  9. ponolan
    Member
    Posted 6 years ago #

    In case this helps with any debugging:

    Trying to use the Sept 28 version of 3.0 I get:

    Error loading stylesheet: A network error occured loading an XSLT stylesheet:http://mydomain/wp-content/plugins/sitemap.xsl

    The plug-in is installed at /public_html/wp-content/plugins/google-sitemap-generator.

    the sitemap.xml file is generated ok and placed in the root directory of the blog where it should be findable with http://domain/sitemap.xml

    At first I thought I needed to make a change to .htaccess but after changing the default location for the XSL file to

    domain/wp-content/plugins/google-sitemap-generator/sitemap.xsl

    I was able to see a sitemap at this address http://domain/sitemap.xml

    The file contents are updated but the datestamp is unchanged. There was a problem notifying Google, Yahoo and Ask. Since the files are being built ok I'm not sure if the debug function will shed any additional light.

  10. khrys
    Member
    Posted 6 years ago #

    I use the following plugins:

    Akismet
    Executable PHP widget
    Google Analytics
    MyBlogLog Widget
    Sociable
    Where did they go from here?
    WordPress.com Stats
    WordPress Database Backup

    Note that everything is fine as long as Google XML Sitemaps is Deactivated. But I like your plugin, so it would be cool to be able to use it again :)

  11. MarkBarnes
    Member
    Posted 6 years ago #

    I have a similar problem to krhys (I'm using WP 2.3). When mass-editing comments I get:

    Warning: mysql_fetch_object(): 187 is not a valid MySQL result resource in /home/blog/public_html/wp-content/plugins/google-sitemap-generator/sitemap.php on line 2075
    
    Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/blog/public_html/wp-content/plugins/popularity-contest.php on line 576
    
    Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/blog/public_html/wp-content/plugins/popularity-contest.php on line 576
    Access denied for user 'nobody'@'localhost' (using password: NO) on line: 576

    I have lots of other plugins I'm afraid: http://www.4-14.org.uk/off-topic/my-wordpress-plug-ins

  12. war59312
    Member
    Posted 6 years ago #

    @war59312 Maybe you had the plugin installed in the wp-content/plugins folder before (without an own subdirectory)? Does it work if you move the sitemap.xsl back to the sitemap plugin directory and click on "Use default" next to "Include a XSLT stylesheet"?

    Yes, that was the problem. Old build was not in its own directory and reseting that option to default worked great. Thanks! :D

  13. andreiterente
    Member
    Posted 6 years ago #

    i have a very irritating problem and o hope you can help me. After i install everything seems fine (no errors) but if i want to access the sitemap it shows this error
    "Parse error: syntax error, unexpected T_STRING in /home/cityv/public_html/gollum/sitemap.xml on line 1"

    if i try the debug it gives me this error
    "Undefined property: stdClass::$post_content ($post_content_filtered, $post_title and so on) in /home/cityv/public_html/gollum/wp-includes/post.php on line 440"
    I'm using wordpress 2.3 and sitemap 3.0
    This is the link to the sitemap: http://gollum.cityvoice.ro/sitemap.xml
    thanks

  14. BCKing
    Member
    Posted 6 years ago #

    Version 3.0 is working fine for me on WordPress 2.3 except:

    All pages that are sub pages are not listed in the Sitemap.

  15. andreiterente
    Member
    Posted 6 years ago #

    i resolved my problem, i modified something in my .htaccess
    now everything seems to be working fine http://gollum.cityvoice.ro/sitemap.xml

  16. BCKing
    Member
    Posted 6 years ago #

    I fixed my problem too by clicking the box "Enable manual sitemap building via GET Request"

    I thought that it wasn't grabbing my sub pages when I was clicking on "rebuild the sitemap". What was actually happening was the sitemap wasn't rebuilding without the GET Request option turned on. I suggest that perhaps there should be a note next to this option or have the option greyed out if GET Request is turned off.

  17. paulroberts
    Member
    Posted 6 years ago #

    @arnee:

    I'm also getting the errors reported by MarkBarnes and khrys when posting or editing posts in the admin area as reported above, i have tried it worth all plug-ins deactivated, except the Google Sitemaps plug-in, the errors still occur.

  18. paulroberts
    Member
    Posted 6 years ago #

    @arnee:
    it appears i had v2.7.1 which is linked from your site, eventually i found Version: 3.0 here
    http://wordpress.org/extend/plugins/google-sitemap-generator/

    the details listed for wp v 2.3 could be made clearer in this section

    Download (includes all languages):

    Download Icon Download for WordPress 2.1 and better (recommended)
    Download Icon Download for WordPress older than 2.1 (discontinued)
    http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator

    it works fine now I have the right plug-in version (3.0)

  19. khrys
    Member
    Posted 6 years ago #

    @paulroberts : thanks ! I didn't have the good version either, it seems. I also got the 2.7.1 ...

  20. callmeforsox
    Member
    Posted 6 years ago #

    I'm using Sitemaps 3.0, but getting a few errors in my log.

    mktime() expects parameter 1 to be long, string given in .../google-sitemap-generator/sitemap.php on line 2580

    Also sometimes it will max out my connections to the db

    mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: User wp already has more than 'max_user_connections' active connections in .../plugins/google-sitemap-generator/sitemap.php on line 2063

    Can't seem to figure what's going on. This started happening when i upgraded to wordpress 2.3 and then upgraded to sitemaps 3.0. When the max connections happen, wordpress will be unable to connect to the db.

  21. soregums
    Member
    Posted 6 years ago #

    WordPress 2.3.1 with DB 6124 on PHP 5.2.4

    Plugin version: 3.0 ($Id: sitemap.php 19712 2007-09-24 11:32:47Z arnee $)

    # There was a problem while notifying Google.
    # There was a problem while notifying YAHOO
    # There was a problem while notifying Ask.com

    That's what I get when I run the rebuild.

    [UPDATE]
    I turned "allow_url_fopen" on and now Google and Ask work :P
    Yahoo must be down

    Thanks :)

  22. wgiordano
    Member
    Posted 6 years ago #

    ARRRRGHHHH! I love this plugin more than I can put into words, but since I upgraded to 2.3 I can't use it, not even with the tips posted in here. When I activate it the options screen says that it failed last time and that I should do it manually. When I click that it tries loading for like 10 minutes and times out. And I can't save or publish posts or leave comments without it going to a white screen or (and this was a new one) going to the duplicate comments screen.

    Anybody got any ideas or am I screwed?

    C

  23. MegaZone
    Member
    Posted 6 years ago #

    WordPress and PHP Information

    WordPress 2.3.1 with DB 6124 on PHP 5.2.4

    Plugin version: 3.0 ($Id: sitemap.php 19712 2007-09-24 11:32:47Z arnee $)

    "Write a gzipped file (your filename + .gz)" grayed out - anyone else? I've just installed this plugin and it seems to be working. I manually created sitemap.xml and sitemap.xml.gz and chmod'd them 777. The sitemap.xml file is created OK - but not the sitemap.xml.gz, and the option to do so is grayed out in the plugin.

    What is this plugin looking for to enable gzip? Does it specifically need PHP installed '--with-zlib'?

    I'm also getting:

    # There was a problem while notifying Google.
    # There was a problem while notifying YAHOO
    # There was a problem while notifying Ask.com

    I know allow_url_fopen is off, for security reasons. My understanding is that this plugin can use libcurl instead. Before I go off debugging, is there a way to see what the real 'problem' is? The 'debug function' didn't seem to reveal anything, and there are no associated errors in the Apache error log.

    And when I try 'debug function' I get:

    Errors, Warnings, Notices

    Notice: Undefined index: path in /u/www/tivolovers.com/doc/wordpress/wp-admin/includes/file.php on line 25

    Notice: Undefined index: path in /u/www/tivolovers.com/doc/wordpress/wp-admin/includes/file.php on line 25

    Notice: Undefined property: stdClass::$post_content in /u/www/tivolovers.com/doc/wordpress/wp-includes/post.php on line 440

    Notice: Undefined property: stdClass::$post_content_filtered in /u/www/tivolovers.com/doc/wordpress/wp-includes/post.php on line 440

    Notice: Undefined property: stdClass::$post_title in /u/www/tivolovers.com/doc/wordpress/wp-includes/post.php on line 440

    Notice: Undefined property: stdClass::$post_excerpt in /u/www/tivolovers.com/doc/wordpress/wp-includes/post.php on line 440

    Notice: Undefined property: stdClass::$comment_status in /u/www/tivolovers.com/doc/wordpress/wp-includes/post.php on line 440

    Notice: Undefined property: stdClass::$ping_status in /u/www/tivolovers.com/doc/wordpress/wp-includes/post.php on line 440

    Notice: Undefined property: stdClass::$post_password in /u/www/tivolovers.com/doc/wordpress/wp-includes/post.php on line 440

    Notice: Undefined property: stdClass::$to_ping in /u/www/tivolovers.com/doc/wordpress/wp-includes/post.php on line 440

    Notice: Undefined property: stdClass::$pinged in /u/www/tivolovers.com/doc/wordpress/wp-includes/post.php on line 440

    Notice: Undefined property: stdClass::$menu_order in /u/www/tivolovers.com/doc/wordpress/wp-includes/post.php on line 440

    Notice: Undefined property: stdClass::$post_mime_type in /u/www/tivolovers.com/doc/wordpress/wp-includes/post.php on line 440

    Notice: Undefined property: stdClass::$post_category in /u/www/tivolovers.com/doc/wordpress/wp-includes/post.php on line 440

    That repeats over and over, it looks like once for every post it processes - which is quite a few.

    You can see the list of plugins I use here: http://www.tivolovers.com/plugins/

    Thanks for any advice.

  24. Rodrigo M
    Member
    Posted 6 years ago #

    I'm having the same error than "megazone" when I debug.
    But I can notify the Search Engines except Yahoo, and seems that the sitemap is building itself fine.
    Thanks

  25. linuxcruiser
    Member
    Posted 6 years ago #

    I too am having the same problem of notifying YAHOO. When I manually rebuild the sitemap, I get the message, "There was a problem while notifying YAHOO."

    When I debug, I also get the errors regarding post.php on line 440.

    Any info on this?

  26. arnee
    Member
    Posted 6 years ago #

    Hi,

    the notice in line 440 is normal, you don't need to care about that.

    Regarding the YAHOO ping: Looks like this service doesn't have a high priority at YAHOO since it was down so often in the last time. The new version 3.0.1 of the plugin adds a link "View result" next to the error message where you can check the response from YAHOO.

    If it is blank or contains an error, it's the fault of YAHOO. If it returns something like "Success", it's an issue with the plugin.

    The new version now also uses the Snoopy HTTP class for pings so if you dashboard displays the latest news, pings should also be possible.

    @megazone: Yes, gzip must be installed.

    Best regards,

    Arne

  27. archjedi
    Member
    Posted 6 years ago #

    Well before I go emailing my host and asking them to increase a memory limit..I'll ask here.

    I've done all of the suggestions.
    WP is 2.3.1
    I made sure I have the 3.0.1 version of sitemaps. (XML Sitemap Generator for WordPress 3.0.1)
    I added to wp-config

    ------
    define ('WPLANG', '');
    @ini_set("memory_limit","16M");

    /* That's all, stop editing! Happy blogging. */
    -----

    It always says "The last run didn't finish! Maybe you can raise the memory or time limit for PHP scripts." at the top. And, when I manually rebuild (even with "Enable manual sitemap building via GET Request" - checked) it hangs and gives a blank screen.

    I also set permissions to 777 even though I've never had to do this before for this plugin. The sitemap.xml and the gz files were always set to 666 and functioned properly.

    I also deleted the wp-config and re-uploaded it with obviously more disappointing results.

    When I check the sitemap url I get this

    -------
    XML Parsing Error: not well-formed
    Location: http://conspiracyrealitytv.com/sitemap.xml
    Line Number 115, Column 1:
    -------

    I even tried disabling all other plugins. Same results.

  28. arnee
    Member
    Posted 6 years ago #

    What's the last message you see if you run the debug mode? (Beside of the PHP notices)

  29. scottficek
    Member
    Posted 6 years ago #

    I am at the same spot as archjedi, but I am running WP 2.2.2. I have about 30 entries in my debug log that look like the following (is this your question?):


    Notice: Undefined property: stdClass::$category_name in /home/minneso4/public_html/wp-includes/category-template.php on line 83

    I just love this product and it was working fine. I had to shut it down because it was locking up my posts.

  30. archjedi
    Member
    Posted 6 years ago #

    Not exactly sure which you mean, arnee:

    Notice: Undefined property: stdClass::$post_content in /home/conspir1/public_html/wp-includes/post.php on line 440

    probably that?

Topic Closed

This topic has been closed to new replies.

About this Topic