Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
On my fresh D7.0 installation with Biblio Module 7.x-1.x-dev with enabled clean url are bad urls for "sort by" links. My domain is localhost/drupal7/ and url for author sorting are localhost/drupal7/drupal7/biblio?s=author&o=asc with page not found. On localhost/drupal7/biblio?s=author&o=asc everything is ok. I tried repair that, but i didn't find solution...
Thanks for help and sorry for my english
Comment | File | Size | Author |
---|---|---|---|
#9 | fixsortpaths-1049218.patch | 1.73 KB | oggsmith |
Comments
Comment #1
rjerome CreditAttribution: rjerome commentedSo if I understand correctly, you have drupal installed in a sub-directory (drupal7) on your server?
Have you set the "$base_url" variable in settings.php to reflect the drupal7 subdirectory?
Ron.
Comment #2
illy CreditAttribution: illy commentedyes i have drupal on MAMP in subdirectory. I tried set $base_url to http://localhost/drupal7 and nothing change, sort links are still bad...
Comment #3
illy CreditAttribution: illy commentedi also installed biblio on drupal6 (on MAMP too) without editing.php and everything works fine...
Comment #4
rjerome CreditAttribution: rjerome commentedI'm looking into this, but so far I can't replicate the problem or come up with a solution.
Stay tuned.
Comment #5
illy CreditAttribution: illy commentedI tested it on real server and everything is correct, so i don't know where the problem is.
Maybe some configuration issue on MAMP. However thanks for any ideas...
Comment #6
bgerber CreditAttribution: bgerber commentedI have had the same problem specifically with MAMP and D7. I thought it was just me (it usually is...).
Comment #7
akayani CreditAttribution: akayani commentedI'm seeing it too, the sort box in the columns causes the site directory to be reproduced in the URL.
You can work back from biblio.pages.inc line 567 'path'...
I can't see where the code goes wrong.
Some claim of path undefined.
Comment #8
rjerome CreditAttribution: rjerome commentedI'm right in the middle of reworking all that code so stay tuned, the next dev should resolve this.
Comment #9
oggsmith CreditAttribution: oggsmith commentedHere's a patch to make the sort URLs correct.
Comment #10
rjerome CreditAttribution: rjerome commentedThanks for that, I got distracted by something else and never quite got back to this one.
http://drupalcode.org/project/biblio.git/commit/624c7b4