Support » Fixing WordPress » [Plugin: Google XML Sitemaps] 3.1.5 update

  • I’ve just upgraded to v3.1.5 from 3.1.4
    and it now says…
    “The last build succeeded, but the file was deleted later or can’t be accessed anymore. Did you move your blog to another server or domain?”
    I haven’t moved anything anywhere

    The debug function says…
    “Errors, Warnings, Notices
    Fatal error: Only variables can be passed by reference in /content/StartupHostPlus/h/a/haroldstreet.org.uk/web/other/wp-content/plugins/google-sitemap-generator/sitemap-core.php on line 1756″

    any ideas?

    phil

Viewing 13 replies - 1 through 13 (of 13 total)
  • Oups, thats a PHP 4 issue.

    Quick fix:
    1. Go to line 1756 in sitemap-core.php
    2. Replace:
    $p = get_page(get_option('page_on_front'));
    with:

    $pageOnFront = get_option('page_on_front');
    $p = get_page($pageOnFront);

    That should work. I don’t have PHP4 at my test machine at the moment, so please tell me the result 🙂

    i have the same problem
    i think that we can wait the next update

    solution provided by arnee doesn’t work unfortunately
    I have the same problem…

    Hi gicrom,

    I just installed PHP 4.4.9 and the fix works for me. Did you replace it correctly?

    Hi!

    The same problem. PHP version: 5.1.6.
    Plugin was upgraded from 3.1.4 to 3.1.5.
    Red message is now displaying: “The last build succeeded, but the file was deleted later or can’t be accessed anymore. Did you move your blog to another server or domain?”.
    I haven’t moved anything nor changed file permissions!
    Debug doesn’t show any errors or warnings.
    Sitemap rebuilds normally.
    Solution provided for PHP4 doesn’t work.

    Regards,
    Dmitry.

    Hi Arnee
    Well i replaced the bit as described however it still reports
    “The last build succeeded, but the file was deleted later or can’t be accessed anymore. Did you move your blog to another server or domain?”

    However the debug error has now changed to
    “Notice: WP HTTP API Web Request failed: Operation timed out with 0 out of -1 bytes received in /content/StartupHostPlus/h/a/haroldstreet.org.uk/web/other/wp-content/plugins/google-sitemap-generator/sitemap-core.php on line 2304”

    Is that any help?

    phil
    http://www.haroldstreet.org.uk/

    hi arnee,
    here the piece of code

    if($this->GetOption(“in_home”)) {
    if(‘page’ == get_option(‘show_on_front’) && get_option(‘page_on_front’)) {
    $pageOnFront = get_option(‘page_on_front’);
    $p = get_page($pageOnFront);
    if($p) {
    $homePid = $p->ID;

    Now when I go to the plugin settings I got a completely blank page 🙁
    The same if I go back and put the orginal row…
    I have already try to deactivate / delete the plugin.
    Could you please help? Thanks a lot.

    PHP Version 5.2.8 at my site, same problem, various blogs.
    Joao Moraes

    I am having the same problem and I am on PHP version 5.2.9

    I haven’t tried a fixed yet, should I? If so, which one? Or is it more sensible to wait for the next update?

    Thanks

    bob

    I have same problem … any news when this will be fixed ?

    Hi all,

    the reference error is fixed in the next release, you can already try it here:
    http://downloads.wordpress.org/plugin/google-sitemap-generator.3.1.6.zip

    Regarding the “The last build succeeded, but the file was deleted later or can’t be accessed anymore. Did you move your blog to another server or domain?” error: This message appears if a PHP “is_readable()” call with the path to the sitemap files returns false and was added to prevent a warning in case the file is really gone and the plugin tries to get the last modification date.

    If you can access the sitemap with your browser, everything is fine. I can’t reproduce this behavior on all of my installations, so its hard to say whats wrong. It would be great if somebody of you who sees this message could contact me via email at arne at arnebrachhold dot de so we can find out whats wrong directly on your blog .

    Thanks, Arne

    Great – 3.1.6 seems to have fixed the problem

    phil
    http://www.haroldstreet.org.uk/

    That was ten months ago and I’m having the same problem, a blank “Register your application on the Yahoo Developer Network”.

    My solution was to take the generated url:
    https://developer.apps.yahoo.com/wsregapp/?wsydn_authtype=gen&wsydn_product_name=WordPress%20Sitemaps%20Ping&wsydn_application_description=Used%20to%20send%20ping%20requests%20for%20the%20XML%20sitemaps%20program

    and shorten it to:
    https://developer.apps.yahoo.com/wsregapp/

    Fill in the blanks and VOILA!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Plugin: Google XML Sitemaps] 3.1.5 update’ is closed to new replies.