Forums

RSS not working after i installed mystat (7 posts)

  1. jakovljevic
    Member
    Posted 2 years ago #

    My site is http://www.blstudent.com

    As you can see, when you click on rss icon, you will get error:

    In chrome its

    This page contains the following errors:
    
    error on line 397 at column 108: EntityRef: expecting ';'
    Below is a rendering of the page up to the first error.

    in IE its

    A semi colon character was expected.
     Line: 397 Character: 152
    
     <img style='margin:0;padding:0;border:0;' width='1px' height='1px' src="http://www.blstudent.com/wp-content/plugins/mystat/mystat.php?act=time_load&id=691&rnd=364603953" /></channel>

    I`ve uninstalled mystat but as i can see part of the plugin is still running and i cant find a way to delete it, even on index.php you can see part of mystat script even if script is uninstalled.

    Can you help me on this ?

    http://wordpress.org/extend/plugins/mystat/

  2. esmi
    Theme Diva & Mod
    Posted 2 years ago #

    Try resetting the plugins folder by FTP or phpMyAdmin.

  3. Anonymous
    Unregistered
    Posted 2 years ago #

    Function is_feed () not working in WordPress. I hope the administrators fix the problem

  4. esmi
    Theme Diva & Mod
    Posted 2 years ago #

    Has this been logged with Trac?

  5. yasinakgun
    Member
    Posted 2 years ago #

    I'm having the same problem too with my site!

    http://www.theconservativeblog.co.uk

  6. stevevoght
    Member
    Posted 2 years ago #

    Function is_feed() is working fine in WP 2.8.6. The problem is within mystat.php, in function myStat_footer(), which does not check if the page is a feed before deciding to insert the myStat footer image into the page code.

    Until an official fix is released, you can fix the current v2.6 code with one small edit. Locate line 475 in mystat.php (the line starts with "echo "<img style='margin:0;padding:0;border:0;'"...) and change it to the following:

    if(!is_feed()) { echo "<img style='margin:0;padding:0;border:0;' width='1px' height='1px' src=\"".WP_PLUGIN_URL."/".dirname(plugin_basename(__FILE__))."/mystat.php"."?act=time_load&id=".$GLOBALS['myStat_id']."&rnd=".rand()."\" />"; }

    That's identical to the current line 475, but enclosed by an if-statement (the bolded parts at the start and end are the new code.)

    Remember it might take a few hours for your updated feed to propagate if you're using a service such as FeedBurner.

  7. yasinakgun
    Member
    Posted 2 years ago #

    Thank you so much stevevoght!

    You are an absolute star!!!

    Works!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags