Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Bird Feeder gone haywire

Hi,

Hoping someone can point me in the right direction here.

I’m using Bird Feeder with Chyrp on my blog http://thedailyt.com , and as of three days ago I’m having the problem that every single feed hit is counted as a subscriber.

I’m using a Chyrp module I wrote myself to include the Bird Feeder /feeder/index.php script, the module website is here: http://terje.github.com/chyrp-mint

This module has worked fine for me for a couple months now, and the only thing I know changed in the past few days is that dreamhost moved me to a new server.

Does anyone know what can be causing this?

Shaun Inman
Mint/Pepper Developer
Posted on Oct 28, '09 at 09:51 am

If I’m understanding your Chyrp code correctly that’s because you’re telling Bird Feeder to track the actual feed url as a click rather than each individual items link url.

Then you’re not understanding the Chyrp code correctly I’m afraid.

I include /feeder/index.php and fetch the $BirdFeeder global once per request, and then use the seed() function once per post in that feed to generate the seed URL. (in the code, the feed_url trigger is called once per feed item that’s being printed)

As I said, this has worked fine for quite a while, I double checked with the server logs when I wrote the extension. It’s a bit more complicated than I had the time for to verify exact feed subscriber numbers from just server logs but it was definitely ballpark.

Something happened in the last week, and the only thing I can think of is the server move, as mentioned. I’m on shared hosting and the server probably got a new IP along with a new name.

I realise this is difficult to troubleshoot without more info but I was hoping someone had seen something similar. I’ll poke around a bit and see what I can find.

Thanks.

Shaun Inman
Mint/Pepper Developer
Posted on Nov 01, '09 at 11:08 pm

The only other thing it might be (outside of something Chyrp related—which is beyond my responsibility) is a change in server architecture when you moved. Do you know if you moved from a 32-bit server to 64-bit? The result of PHP’s CRC32() function will be signed or unsigned depending on architecture.

Check your mint_seeds table. The *_checksum columns in particular. If you are on a 64-bit server (hover over the Mint version number in the footer of your Mint installation) they should be UNSIGNED otherwise they should be SIGNED (and depending on your version of MySQL/PhpMyAdmin might not be labelled as such).

That did the trick, thanks! :) I updated all checksum and ip columns to UNSIGNED and Mint is now back to tracking as usual.

You must be logged in to reply. Login above or create an account