WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Google XML Sitemaps] 3.1.5 update (14 posts)

  1. phil_newby
    Member
    Posted 4 years ago #

    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

  2. arnee
    Member
    Posted 4 years ago #

    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 :-)

  3. webmasterpiece
    Member
    Posted 4 years ago #

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

  4. gicrom
    Member
    Posted 4 years ago #

    solution provided by arnee doesn't work unfortunately
    I have the same problem...

  5. arnee
    Member
    Posted 4 years ago #

    Hi gicrom,

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

  6. Dmitry usings.ru
    Member
    Posted 4 years ago #

    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.

  7. phil_newby
    Member
    Posted 4 years ago #

    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/

  8. gicrom
    Member
    Posted 4 years ago #

    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.

  9. Joao Baptista Lordello de Moraes
    Member
    Posted 4 years ago #

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

  10. bobinoz
    Member
    Posted 4 years ago #

    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

  11. djevrek
    Member
    Posted 4 years ago #

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

  12. arnee
    Member
    Posted 4 years ago #

    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

  13. phil_newby
    Member
    Posted 4 years ago #

    Great - 3.1.6 seems to have fixed the problem

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

  14. flashbuddy
    Member
    Posted 3 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic