The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. jlomaga
    Posted 4 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


  2. jbbaab44
    Posted 4 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

  • Google XML Sitemaps
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic