WordPress.org

Support

Support » Plugins and Hacks » Yoast SEO » [Resolved] [Plugin: WordPress SEO by Yoast] Bugs in 2.0

[Resolved] [Plugin: WordPress SEO by Yoast] Bugs in 2.0

  • with 2.0 installed I get errors on the sitemap writability. the files are writable but the plugin says it’s not. files are located in webroot…

    WordPress SEO can't write to the directory , XML Sitemap creation will not work, please make sure the directory is writable.

    this is with the option sitemap not used.
    when i tick that box, i get the following errors

    Warning: fopen(sitemap.xml) [function.fopen]: failed to open stream: Permission denied in /home/melon/domains/melon.nl/public_html/wp-content/plugins/wordpress-seo/sitemaps/xml-sitemap-class.php on line 53
    
    Warning: fwrite(): supplied argument is not a valid stream resource in /home/melon/domains/melon.nl/public_html/wp-content/plugins/wordpress-seo/sitemaps/xml-sitemap-class.php on line 68
    16:19:30: Starting to generate output.
    
    Warning: fwrite(): supplied argument is not a valid stream resource in /home/melon/domains/melon.nl/public_html/wp-content/plugins/wordpress-seo/sitemaps/xml-sitemap-class.php on line 47

    the last error is repeated several times…
    and then continues with this

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/melon/domains/melon.nl/public_html/wp-content/plugins/wordpress-seo/sitemaps/xml-sitemap-class.php on line 47
    16:19:31: 0 taxonomy entries of type post_tag found.
    
    Warning: fwrite(): supplied argument is not a valid stream resource in /home/melon/domains/melon.nl/public_html/wp-content/plugins/wordpress-seo/sitemaps/xml-sitemap-class.php on line 328
    16:19:31: Sitemap successfully (re-)generated with 55 URLs.
    
    Warning: fclose(): supplied argument is not a valid stream resource in /home/melon/domains/melon.nl/public_html/wp-content/plugins/wordpress-seo/sitemaps/xml-sitemap-class.php on line 333
    
    Warning: file_get_contents(sitemap.xml) [function.file-get-contents]: failed to open stream: No such file or directory in /home/melon/domains/melon.nl/public_html/wp-content/plugins/wordpress-seo/sitemaps/xml-sitemap-class.php on line 336
    
    Warning: fopen(sitemap.xml.gz) [function.fopen]: failed to open stream: Permission denied in /home/melon/domains/melon.nl/public_html/wp-content/plugins/wordpress-seo/sitemaps/xml-sitemap-base-class.php on line 35
    262KB of memory used.

    also the first mentioned error comes after updating a post, with the plugin activated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Joost de Valk

    @joostdevalk

    Can you change line 154 of wpseo-functions.php to:

    if ( isset( $options['wpseodir'] ) ) {

    And see if that changes things?

    sorry, doesn’t change a bit…

    i have no caching installed (since the site is not live yet).

    I have created a landingpage template with just a css and a home.php which is plain html (www.melon.nl)

    could that be related ???
    if u want access to the admin let me know…

    Plugin Author Joost de Valk

    @joostdevalk

    Solved in private chat, improved error handling for 0.2.1, so you get more helpful errors.

    I am having the same Problems.
    Tried giving 777 rights to wp-content, root dir and still the same error.
    Any advice?
    Thanx

    maybe try this ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: WordPress SEO by Yoast] Bugs in 2.0’ is closed to new replies.
Skip to toolbar