WordPress.org

Ready to get started?Download WordPress

Forums

Google XML Sitemaps
Getting a PHP Warning: fopen..... (2 posts)

  1. jlomaga
    Member
    Posted 2 years ago #

    Just noticed this php error that we've been having. It occurs every time a post is published. Any idea on what the cause is and how it can be fixed??

    PHP Warning: fopen(/xxxx/xxxx/xxxxxx/wp-cron.php/sitemap.xml) [function.fopen]: failed to open stream: Not a directory in /xxxx/xxxxx/xxxxx/wp-content/plugins/google-sitemap-generator/sitemap-core.php on line 1623
    [13-Jan-2012 05:05:02] PHP Warning: gzopen(/xxxxx/xxxx/xxxxxx/wp-cron.php/sitemap.xml.gz) [function.gzopen]: failed to open stream: Not a directory in /xxx/xxx/xxxxxx/wp-content/plugins/google-sitemap-generator/sitemap-core.php on line 1636

    http://wordpress.org/extend/plugins/google-sitemap-generator/

  2. jbbaab44
    Member
    Posted 2 years ago #

    I changed the 'location of the sitemap file' in the settings from 'automatic detection' to 'custom location' and this fixed the error for me.
    p.s. make sure the absolute path and complete url are both correct.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic