Closed (fixed)
Project:
FeedBurner
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
14 Feb 2009 at 01:04 UTC
Updated:
27 May 2009 at 15:10 UTC
Jump to comment: Most recent file
Hi I have a Blog feed showing up which I did not burn. It's showing up as blog/87/feed and I cannot unburn it. When I click unburn nothing happens. I am on Drupal 6.9.
| Comment | File | Size | Author |
|---|---|---|---|
| #26 | unburn.patch | 452 bytes | burningdog |
| #7 | ScreenShot001.jpg | 51.18 KB | HS |
Comments
Comment #1
dave reidCan you try the latest 6.x-1.x version?
Comment #2
HS commentedHi Dave,
Thanks for the response. Your referring to the dev version right? 6.x-1.x-dev?
Comment #3
HS commentedThat buggered things up more..
Now I've got a 'taxonomy/term/%/%/feed' and a 'blog/87/feed'
Comment #4
HS commentedThis is showing up on the block as well as the admin section
Comment #5
dave reidYes, I meant the 6.x-1.x-dev version. RIght now it's the latest stable version, so you can give it a try and let me know if it works for you. Could you also post a screenshot of the admin/build/feedburner page on your site? I'll look into this problem on my end.
Comment #6
HS commentedYeah dave the above responses are after I installed the latest Dev.
Comment #7
HS commentedI have attached the screenshot you requested.
Comment #8
HS commentedComment #9
gorlov commentedI just experienced the same problem - a bunch of new blog feeds showed up in the feedburner block that I couldn't delete from the feedburner admin section. It happened immediately after I deleted a number of users (they were spam users who registered but didn't respond to their automated email). Upon deletion, each of these users was automatically given an "undeletable" feed. Finally, I deleted them from the "feedburner" table. Not pretty, but it worked.
I also noted the following error repeatedly in the apache logs:
PHP Notice: Undefined index: HTTP_USER_AGENT in /usr/local/www/drupal6/sites/all/modules/feedburner/feedburner.module on line 293
So, looks like deleting users suddenly gives them "permanent" feeds.
version 6-1.0 beta3, drupal 6.10
Comment #10
dave reidI take another look at this tonight, but everyone please make sure you are using the latest 6.x-1.x-dev version of feedburner.
Comment #11
dave reidSo I just tried all the following:
1. Creating new user
2. Adding feedburner for user's blog in the user/x/edit form
3. Deleted user
Results: Blog feed was removed from database, as expected
1. Manually ran
INSERT INTO {feedburner} (path, feedburner) VALUES ('blog/1/feed', '');2. Went to user/1/edit, and just pressed 'Save'
Results: Blog feed was removed from database, as expected
I'm adding test cases to feedburner.test just in-case for user deletion, but I cannot confirm this bug on the latest 6.x-1.x-dev. Please download the latest and report back here. For now, I'm keeping this issue as needs more info.
Comment #12
HS commentedDave I am on the dev version and the latest release as I have been saying all along.
My issue turned up when upgrading from your previous dev release to the current. It had nothing to do with adding or removing feeds/users. Check the CVS for older releases you may have added something wrong with the older code submitted.
Comment #13
HS commentedThe block associated with feedburner module has been rendered useless since this issue popped up. The block displays feeds that was not created by admin. They cannot be deleted.
I changed the title for better tracking. I am sure there are a lot of others faced with this issue, they just haven't noticed it yet.
Comment #14
dave reidDon't change the status. I still need more info because I am not able to duplicate this.
At this point to get this fixed, I'm going to ask if someone can create an account on their website for me with the 'administer feedburner' permission. Additionally, if you are able to grant some kind of temporary FTP access to the server as well so I can make adjustments in the feedburner.module code, that would be great. If someone is willing to do this, I can probably find out what is going wrong and get this fixed.
Please do not post server details here, instead use my contact form.
Comment #15
HS commentedUnfortunately I can't provide that access at the moment.
I uninstalled the module and downloaded the latest dev release. Started with a clean slate on Drupal 6.10/PHP5 I burned a feed. Then attempted to unburn the feed, nothing happens, when I click on the edit button it just takes me to the burn new feed tab.
Somethings got to give? Surely you should be able to reproduce this if you download the current dev version in the CVS.
Most people using this module may never have had the need to unburn a feed just yet. This issue will crop up again and need to be addressed again.
Comment #16
dave reidAgain, I'm using the latest CVS version that gets packaged into the dev releases. I'm able to unburn feeds using the same circumstances as you. I can't duplicate this on my own install or any of my remote websites, so I'll need to be able to debug on the servers where other people are having this problem.
Comment #17
HS commentedNo worries Dave. You did what you could. Just for your reference I uninstalled the module and the uninstall does not remove the DB table/entries either.
Thanks again for your help. I hope someone will come along who can provide access to their server so this can be fixed.
Comment #18
HS commentedDave for what it's worth don't use files on your PC which you submitted to CVS to error check. Something may have got corrupted in the files hosted on Drupal and you'll never be able to reproduce it.
Comment #19
dave reidI only use the CVS version on my local development site. I actually use the drupal.org packaged versions on my remote websites, and they all work fine too, so I know it's not a corruption issue. :/
Comment #20
dave reidJust wanted to let everyone know that I was finally able to replicate this on one of my production sites, so I'm on the case and will get this figured out by tomorrow.
Comment #21
dave reidFixed. Give the packaging script about 12 hours to rebuild the 6.x-1.x-dev download, then you can use it.
Comment #22
HS commentedGood news. So what was it then?
Comment #23
dave reidIt was a stupid logic error in the 'unburn' form code that would simply redirect the user back to admin/build/feedburner if the FeedBurner url for a feed path was 'empty'. :/ Upon investigating more of the 6.x-1.0-beta3 code, I found a few more similar errors, but luckily they have all been fixed before they've become a problem.
Comment #25
burningdog commentedI still have this issue - I cannot unburn a feed. I first installed 6.x-1.0-beta4, then read this issue and upgraded to dev - but still had this problem. In admin/build/feedburner the "unburn" link is "admin/build/feedburner/unburn/roger-saner/feed" - I've clicked on that and I'm simply returned to the admin/build/feedburner page.
Luckily my trusty debugger tells me that line 178 in feedburner.admin.inc is incorrect:
$path = _feedburner_get_path_segment(5);It should be:
$path = _feedburner_get_path_segment(4);Then it works nicely!
Comment #26
burningdog commentedComment #27
dave reidThanks burningdog. I went and double checked through every call to _fb_get_path_segment() and discovered that they were all off by one. :/ Not sure where that got changed, but I fixed them all now. See http://drupal.org/cvs?commit=210920 for the commit.