WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] Bugs in 2.0 (6 posts)

  1. Beee
    Member
    Posted 3 years ago #

    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.

  2. Joost de Valk
    Member
    Plugin Author

    Posted 3 years ago #

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

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

    And see if that changes things?

  3. Beee
    Member
    Posted 3 years ago #

    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...

  4. Joost de Valk
    Member
    Plugin Author

    Posted 3 years ago #

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

  5. zartgesotten
    Member
    Posted 3 years ago #

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

  6. Beee
    Member
    Posted 3 years ago #

    maybe try this ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic