Closed (fixed)
Project:
Linkit
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2011 at 21:46 UTC
Updated:
7 Feb 2011 at 18:30 UTC
Jump to comment: Most recent file
Clicking on the "Browse Server" in Linkit's dialog opens up basePath + 'imce' which doesn't work without clean URLs enabled.
basePath + 'index.php?q=imce' would be a safer choice.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | linkit.1027500.D6.patch | 1.44 KB | anon |
| #5 | linkit.1027500.D7.patch | 1.44 KB | anon |
Comments
Comment #1
anonI disabled the "Enable clean URLs" and tested this.
Works fine for me.
Comment #2
mtyaka commentedI'm a total Drupal (and PHP) noob and probably got the terminology wrong. What I meant by "clean URLs not enabled" is that the server is not set up to rewrite incoming '/path' requests to '/index.php?q=path'.
If http://localhost/imce works for you, you must have a rewrite rule kicking in at some level. In my setup, where I don't have a rewrite rule enabled, http://localhost/imce doesn't work, while http://localhost/?q=imce or http://localhost/index.php?q=imce do work.
Comment #3
anonComment #4
anonThis was a tricky one.
Without clean urls
/?q=imce?app=Linkit|url@edit-link--2
With clean urls
/imce?app=Linkit|url@edit-link--2
And
url('imce');just give us /?q=imce and /imce then we have to add a ? OR a & depending on thats the URL functions returns.Hmm I will look into this more tomorrow.
Comment #5
anonCommitted to both 6.X and 7.x
Thanks for reporting.