WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Google XML Sitemaps] Getting a PHP Warning: fopen…..

[Plugin: Google XML Sitemaps] Getting a PHP Warning: fopen…..

  • 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/

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Google XML Sitemaps] Getting a PHP Warning: fopen…..’ is closed to new replies.