I activated this plugin.. however when I try to go to permalinks I created.. i get this error:

Notice: Undefined index: REQUEST_URI in XXXXXXXXX\plugins\permalinks\permalinks_dispatcher.php on line 12 Dispatcher: No mod_rewrite url detected!

what am i doing wrong?

Hi s2smedia, 

What version of permalinks are you using?  (It should say under the plugins menu).

Can you try adding a @ in front of $_SERVER['REQUEST_URI'] in permalinks_dispatcher.php, like this: @$_SERVER['REQUEST_URI']

And let me know if that resolves the issue?

Thanks!

Dave Edis - Senior Developer
interactivetools.com

1.02

I added the "@"

now I get error:

Dispatcher: No mod_rewrite url detected!

Hi s2smedia, 

Yea, what's happening is the plugin isn't able to detect any information about the URL path on your server for some reason.  I haven't seen that before but I can take a look for you.

If you can send me the following I can debug and resolve it for you:

  1. A link to this forum post
  2. CMS & FTP login details
  3. Steps to reproduce the issue (eg: a link I should click) 

Email that to me at dave@interactivetools.com (do not post login details to the forum).

Thanks!

Dave Edis - Senior Developer
interactivetools.com

Hi s2smedia, 

I tracked this down.  It looks like you have a Windows Server with a version of  ISAPI_Rewrite installed that doesn't set REQUEST_URI  and instead sets a variable called HTTP_X_REWRITE_URL.

References: 

I added HTTP_X_REWRITE_URL to the list of variables to check for the current URL in the Permalinks plugin, patched your version, and updated our code for the next release.

It should be working now.  Stay tuned I'm going to send you some more details via email as well that refer to the paths on the server.

Let me know any other questions (after you get the email).  Thanks!

Dave Edis - Senior Developer
interactivetools.com