WordPress.org

Forums

[resolved] [Plugin: Google XML Sitemaps] Warning errors on 'Activate' (2 posts)

  1. Mark
    Member
    Posted 6 years ago #

    When I click 'activate' for Google XML Sitemaps, I get a page listing these warnings:

    Warning: include_once(/var/www/wordpress/wp-content/plugins/google-sitemap-generator/) [function.include-once]: failed to open stream: Success in /var/www/wordpress/wp-settings.php on line 473
    
    Warning: include_once() [function.include]: Failed opening '/var/www/wordpress/wp-content/plugins/google-sitemap-generator/' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/wordpress/wp-settings.php on line 473
    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/wordpress/wp-settings.php:473) in /var/www/wordpress/wp-includes/pluggable.php on line 850
    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/wordpress/wp-settings.php:473) in /var/www/wordpress/wp-includes/pluggable.php on line 850

    Also, at the top of my wordpress admin pages I have this:

    Warning: include_once(/var/www/wordpress/wp-content/plugins/google-sitemap-generator/) [function.include-once]: failed to open stream: Success in /var/www/wordpress/wp-settings.php on line 473
    
    Warning: include_once() [function.include]: Failed opening '/var/www/wordpress/wp-content/plugins/google-sitemap-generator/' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/wordpress/wp-settings.php on line 473
    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/wordpress/wp-settings.php:473) in /var/www/wordpress/wp-includes/functions.php on line 698
    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/wordpress/wp-settings.php:473) in /var/www/wordpress/wp-includes/functions.php on line 699

    and if I "Visit Site" this is printed at the very top of my page:

    Warning: include_once(/var/www/wordpress/wp-content/plugins/google-sitemap-generator/) [function.include-once]: failed to open stream: Success in /var/www/wordpress/wp-settings.php on line 473
    
    Warning: include_once() [function.include]: Failed opening '/var/www/wordpress/wp-content/plugins/google-sitemap-generator/' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/wordpress/wp-settings.php on line 473

    this is a fresh wp install and I had to install and configure vsftpd in order to allow the install for Google XML Sitemaps to run. During that install, it wouldn't create folders given the username I had supplied, so in the process of trying to get it to work, I fiddled around between sudo chown -R theoneness\: /var/www (my primary Ubuntu username) and sudo chown -R www-data\: /var/www (which probably seems stupid, but i'm new to linux, so don't be mad).

    Does anyone know what this means, and how I can fix the warning messages and get the XML Sitemap toot to work?

  2. Mark
    Member
    Posted 6 years ago #

    To resolve this I deactivated and deleted.
    I reinstalled manually through the terminal, rather than using the ftp install provided through the Install Plugins section.
    All the aforementioned warnings are gone and the sitemap seems to be working properly.
    If anyone can explain whether or not I may have permanently screwed up my permissions (see last paragraph above), that would be appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic