And all I needed was a break to figure it out... I added the 3rd rewrite rule a few days ago and forgot a $rules[] = $rule; so the second one was never being added to the list. Stupid moment, you saw nothing...

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

        Chris Meller <mailto:[email protected]>
April 30, 2011 12:35 PM


I'm having a problem with rewrite rules that handle displaying a locally-cached version of the Flickr thumbnails on my site. The relevant pieces are on this gist: https://gist.github.com/949786

When the rewrite rules are added using the filter_rewrite_rules() hook, 2 out of the 3 work fine. The third, cwm_display_flickr_thumbnail, does not. Every time the cron runs to update them and tries to URL::get( 'cwm_display_flickr_thumbnail', array( 'guid' => '<guid>' ) ); it fails and a log entry is generated claiming it could not find a matching rule.

If I insert the rule manually into the database everything works fine (part 2 of the gist).

Anyone have any ideas? This is driving me crazy...


--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/habari-dev

<<inline: postbox-contact.jpg>>

Reply via email to