WordPress.org

Ready to get started?Download WordPress

Forums

Facebook AWD All in one
[resolved] "This XML document is invalid" error in Admin Panel (15 posts)

  1. MackHoncho
    Member
    Posted 2 years ago #

    The plugin has been working fine but for an unknown reason it seems broken now.

    When I go to my Dashboard I see this at the top:

    RSS Error: This XML document is invalid, likely due to invalid characters. XML error: junk after document element at line 194, column 0RSS Error: This XML document is invalid, likely due to invalid characters. XML error: junk after document element at line 349, column 0RSS Error: This XML document is invalid, likely due to invalid characters. XML error: junk after document element at line 194, column 0RSS Error: This XML document is invalid, likely due to invalid characters. XML error: junk after document element at line 349, column 0

    when I delete users I get this:

    RSS Error: This XML document is invalid, likely due to invalid characters. XML error: junk after document element at line 194, column 0RSS Error: This XML document is invalid, likely due to invalid characters. XML error: junk after document element at line 349, column 0
    Warning: Cannot modify header information - headers already sent by (output started at /home/gypsy/public_html/rromanizor.com/wp-content/plugins/facebook-awd/AWD_facebook.php:894) in /home/gypsy/public_html/rromanizor.com/wp-includes/pluggable.php on line 881

    When I click on AWD "support" I get this:

    Internal error
    
    An error occurred on the page you were trying to access.
    If you continue to experience problems please contact your redMine administrator for assistance.

    I've seem similar posts in this forum. Is this something you are working to fix or is there something I can do to correct it?

    http://wordpress.org/extend/plugins/facebook-awd/

  2. rpackman
    Member
    Posted 2 years ago #

    I am having the same problem -
    RSS Error: XML error: Invalid document end at line 194, column 1RSS Error: A feed could not be found at http://facebook-awd.ahwebdev.fr/feed/?post_type=btp_work667

    Seems to be affecting lots of areas of wordpress - adding images, etc..

    Deactivating the plugin seems drastic - but the only way around it at the moment - is this a problem that is being addressed?

  3. Gauravs90
    Member
    Posted 2 years ago #

    I'm having the same problem.. any workaround?

  4. AZNDude
    Member
    Posted 2 years ago #

    Having the same problem. with more output.
    Using version 3.4.1–fr_FR of wordpress
    and latest version of FB AWD

    Notice: Undefined property: AWD_facebook::$uid in /home/crossfit/public_html/plugins/facebook-awd/AWD_facebook.php on line 1722

    Notice: Undefined property: AWD_facebook::$plugins in /home/crossfit/public_html/plugins/facebook-awd/AWD_facebook.php on line 697

    Notice: Uninitialized string offset: 0 in /home/crossfit/public_html/plugins/facebook-awd/AWD_facebook.php on line 488

    Notice: Undefined variable: html in /home/crossfit/public_html/plugins/facebook-awd/AWD_facebook.php on line 893

    Erreur RSS : This XML document is invalid, likely due to invalid characters. XML error: junk after document element at line 194, column 0

    Notice: Undefined variable: html in /home/crossfit/public_html/plugins/facebook-awd/AWD_facebook.php on line 893

    Erreur RSS : This XML document is invalid, likely due to invalid characters. XML error: junk after document element at line 349, column 0

  5. AZNDude
    Member
    Posted 2 years ago #

    Also getting this error on a test install with only FB AWD running (not setup)

    RSS Error: A feed could not be found at http://facebook-awd.ahwebdev.fr/feed/?post_type=page&parent=220. A feed with an invalid mime type may fall victim to this error, or SimplePie was unable to auto-discover it.. Use force_feed() if you are certain this URL is a real feed.

    RSS Error: A feed could not be found at http://facebook-awd.ahwebdev.fr/feed/?post_type=btp_work. A feed with an invalid mime type may fall victim to this error, or SimplePie was unable to auto-discover it.. Use force_feed() if you are certain this URL is a real feed.

  6. Naeem Noor
    Member
    Posted 2 years ago #

    getting the same error

  7. danetidwell
    Member
    Posted 2 years ago #

    It looks like there's invalid characters at the end of the rss feed that AWD uses to display the feed that shows their pay plugins at the bottom of the settings pages.

    Those lines can always be commented out, although the developer may not like it.

  8. danetidwell
    Member
    Posted 2 years ago #

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    As a temporary fix, you can go in to the file awd_facebook.php, find these lines, and where it says 'url' substitute your feed for his. Don't change anything else, and I'm not going to turn this into a basic php editing course, so if you don't know what I'm talking about, don't try it.

    --------------------------

    public function get_documentation_feed($echo=true)
    	{
    		$widget_awd_rss = array(
    			'link' => 'http://facebook-awd.ahwebdev.fr/documentation/',
    			'url' => 'http://substituteyour.com/feed/',
    			'title' => $this->plugin_name.' Documentation',
    			'items' => 20,
    			'show_summary' => 1,
    			'show_author' => 0,
    			'show_date' => 0,
    		);
    		if($echo){ echo $this->admin_get_feeds($widget_awd_rss); }else{ $this->admin_get_feeds($widget_awd_rss); }
    	}
    
    	public function get_plugins_feed($echo=true)
    	{
    		$widget_awd_rss = array(
    			'link' => 'http://facebook-awd.ahwebdev.fr/plugins/',
    			'url' => 'http://substituteyour.com/feed/',
    			'title' => $this->plugin_name.' Documentation',
    			'items' => 20,
    			'show_summary' => 1,
    			'show_author' => 0,
    			'show_date' => 0,
    		);
    		if($echo){ echo $this->admin_get_feeds($widget_awd_rss); }else{ $this->admin_get_feeds($widget_awd_rss); }
    	}
  9. Naeem Noor
    Member
    Posted 2 years ago #

    @danetidwell

    Thanks, that fixed it!

  10. AZNDude
    Member
    Posted 2 years ago #

    @danetidwell

    just a note you said "Replace your feed for his" you mean "Replace his feed for yours"

    so replace his url for yourdomain.com/feed or any feed should do if you have it disabled.

  11. chucklebum0205
    Member
    Posted 2 years ago #

    Crashed my whole installation on adding my fb app details - whole site went into a 500 internal server error - had to remove the plugin to get my site back. Won't be reinstalling!

  12. stanwinche
    Member
    Posted 2 years ago #

    Here is a step-by-step example:

    public function get_documentation_feed($echo=true)
    	{
    		$widget_awd_rss = array(
    			'link' => 'http://facebook-awd.ahwebdev.fr/documentation/',
    			/* start patch 7/13/12 to fix RSS Error
    			* step 1 comment line:
    			* 'url' => 'http://facebook-awd.ahwebdev.fr/feed/?post_type=page&parent=220',
    			* step 2 replace with your feed shown below
    			*/
    			'url' => 'http://substituteyour.com/feed/',
    			/*
    			* step 3 go to: public function get_plugins_feed($echo=true) and make same changes
    			*/
    			'title' => $this->plugin_name.' Documentation',
    			'items' => 20,
    			'show_summary' => 1,
    			'show_author' => 0,
    			'show_date' => 0,
    		);
    		if($echo){ echo $this->admin_get_feeds($widget_awd_rss); }else{ $this->admin_get_feeds($widget_awd_rss); }
    	}
    
    	public function get_plugins_feed($echo=true)
    	{
    		$widget_awd_rss = array(
    			'link' => 'http://facebook-awd.ahwebdev.fr/plugins/',
    			/* step 4 patch 7/13/12 to fix RSS Error
    			* comment line:
    			* 'url' => 'http://facebook-awd.ahwebdev.fr/feed/?post_type=btp_work',
    			* step 5 replace with your feed shown below
    			*/
    			'url' => 'http://substituteyour.com/feed/',
    			/*  end patch 7/13/12 to fix RSS Error */
    			'title' => $this->plugin_name.' Documentation',
    			'items' => 20,
    			'show_summary' => 1,
    			'show_author' => 0,
    			'show_date' => 0,
    		);
    		if($echo){ echo $this->admin_get_feeds($widget_awd_rss); }else{ $this->admin_get_feeds($widget_awd_rss); }
    	}

    I hope this helps!

  13. crowdfundingbank
    Member
    Posted 1 year ago #

    This is one of the most annoying bugs that I had to fix so far. I call it annoying because I wasn't able to post or edit exiting posts or pages because of this problem.

    The above mentioned fix DID NOT resolve the problem it actually made it worse.

    To fix the problem do this:

    Open up this file: /wp-content/plugins/facebook-awd/AWD_facebook.php

    Go to line # 858, it says:

    'url' => 'http://facebook-awd.ahwebdev.fr/feed/?post_type=page&parent=220',

    REPLACE THE WHOLE LINE WITH YOUR OWN RSS LINK. For EXAMPLE

    'url' => 'http://crowdfundingbank.com/feed/',

    Then go to line 872 where it says:

    'url' => 'http://facebook-awd.ahwebdev.fr/feed/?post_type=btp_work',

    REPLACE THE WHOLE LINE WITH YOUR OWN RSS LINK. For EXAMPLE

    'url' => 'http://crowdfundingbank.com/feed/',

    And this is what it looks like in my case:

    public function get_documentation_feed($echo=true)
    	{
    		$widget_awd_rss = array(
    			'link' => 'http://facebook-awd.ahwebdev.fr/documentation/',
    			'url' => 'http://crowdfundingbank.com/feed/',
    			'title' => $this->plugin_name.' Documentation',
    			'items' => 20,
    			'show_summary' => 1,
    			'show_author' => 0,
    			'show_date' => 0,
    		);
    		if($echo){ echo $this->admin_get_feeds($widget_awd_rss); }else{ $this->admin_get_feeds($widget_awd_rss); }
    	}
    
    	public function get_plugins_feed($echo=true)
    	{
    		$widget_awd_rss = array(
    			'link' => 'http://facebook-awd.ahwebdev.fr/plugins/',
    			'url' => 'http://crowdfundingbank.com/feed/',
    			'title' => $this->plugin_name.' Documentation',
    			'items' => 20,
    			'show_summary' => 1,
    			'show_author' => 0,
    			'show_date' => 0,
    		);
    		if($echo){ echo $this->admin_get_feeds($widget_awd_rss); }else{ $this->admin_get_feeds($widget_awd_rss); }
    	}

    You should be able to now post and edit without issues.

    Cheers!

  14. AHWEBDEV
    Member
    Plugin Author

    Posted 1 year ago #

    Hi everybody, Sorry for that bug, that was due to a problem on my server. the disk free space was null...

    I fixed that now.

  15. partha.rkl
    Member
    Posted 1 year ago #

    can we set one logout button for both Facebook logout and admin panel logout. So that we click on one button and redirected to home page.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.