After reading through this issue: http://drupal.org/node/305235, I was able to solve my problem - but thought it would be helpful for others.

I had trouble with the subscribe link after updgrading to D6 beta5. I have Drupal installed in a subfolder - and hence have my settings.php file updated to this:

$base_url = 'http://example.com/IDP'; // NO trailing slash!

Using: check_url(preg_replace('!^/!', '', url($_GET['q'] .'/subscribe'))) in subscriptions_ui.module caused the Subscribe url to render improperly.

What I ended up with was: http://example.com/IDP/IDP/node/93/subscribe#subscribe. Notice the double IDPs in the middle.

Removing the url() wrapper fixed this problem for me. Now, the url is rendered correctly as: http://example.com/IDP/node/93/subscribe#subscribe.

I'm not sure if this will cause any other problems, but it fixes my issue.

Comments

salvis’s picture

Category: task » bug
Status: Active » Fixed

Without the url() wrapper it doesn't do what it was supposed to do (which worked in some cases).

Anyway, I've reverted #305235: Using Pathauto with Subscriptions Module. Should appear in the -dev versions within a few hours.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.