Permalink Plugin Error

By s2smedia - November 5, 2014

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?

By s2smedia - November 5, 2014

1.02

I added the "@"

now I get error:

Dispatcher: No mod_rewrite url detected!

By Dave - November 5, 2014

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

By s2smedia - November 12, 2014

Any update with this? I emailed you all of the info.

By Dave - November 12, 2014

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