See the screenshot for more details. I'm using the 5.x-1-x-dev development snapshot of August 26.

CommentFileSizeAuthor
Picture 1_56.png39.36 KBwim leers

Comments

shane birley’s picture

This has been happening for a while, this is just the latest error I have received:

warning: preg_match() [function.preg-match]: Unknown modifier 'v' in /home/drupal_5x_prd_01/sites/all/modules/feedburner/feedburner.admin.inc on line 425.
shane birley’s picture

This has been happening for a while, this is just the latest error I have received:

warning: preg_match() [function.preg-match]: Unknown modifier 'v' in /sites/all/modules/feedburner/feedburner.admin.inc on line 425.
wim leers’s picture

Any news from the maintainer?

furmans’s picture

I found that the code as written fails sometimes when you have forwards slashes in the Feedburner path (field "Feedburner feed"). Since the code uses regular expressions, it's clear that the forward slashes aren't being escaped properly before they're sent to the regular expression parser.

Starting at line 419 in feedburner.admin.inc update the code to look like this:

      // need to escape the forward slashes so not to mess up the regexps
      $fb_uri_esc = str_replace( '/', '\/', $fb_uri );

      // FeedFlare detection
      if (preg_match('/feedflare/i', $fb_request->data) && preg_match('/~f\/'. $fb_uri_esc .'/i', $fb_request->data)) {
        $feed['feedflare'] = true;
      }

      // Ad Network detection
      if (preg_match('/~a\/'. $fb_uri_esc .'/i', $fb_request->data)) {
        $feed['ad_network'] = true;
      }

Inventor Spot is a Drupal site.

dave reid’s picture

Assigned: Unassigned » dave reid

Hey this is the maintainer, Dave here. Sorry I haven't had a while to reply to any issues. I'm going to be coding tonight and tomorrow night and get this committed asap. Thanks you furmans for helping figure out what was wrong.

wim leers’s picture

Any news?

dave reid’s picture

Status: Active » Fixed

Ok this should be fixed in the new 5.x-1.x version that the Drupal website should be creating in a couple of hours or so. Please let me know if this issue is resolved for you. Sorry it took so long!

furmans’s picture

Thanks! This fixed it for my site.

Inventorspot is a Drupal site

Anonymous’s picture

Status: Fixed » Closed (fixed)