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

CommentFileSizeAuthor
#9 fixsortpaths-1049218.patch1.73 KBoggsmith
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rjerome’s picture

So 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.

illy’s picture

yes i have drupal on MAMP in subdirectory. I tried set $base_url to http://localhost/drupal7 and nothing change, sort links are still bad...

illy’s picture

i also installed biblio on drupal6 (on MAMP too) without editing.php and everything works fine...

rjerome’s picture

I'm looking into this, but so far I can't replicate the problem or come up with a solution.

Stay tuned.

illy’s picture

I 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...

bgerber’s picture

I have had the same problem specifically with MAMP and D7. I thought it was just me (it usually is...).

akayani’s picture

I'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.

rjerome’s picture

I'm right in the middle of reworking all that code so stay tuned, the next dev should resolve this.

oggsmith’s picture

FileSize
1.73 KB

Here's a patch to make the sort URLs correct.

rjerome’s picture

Status: Active » Fixed

Thanks for that, I got distracted by something else and never quite got back to this one.

http://drupalcode.org/project/biblio.git/commit/624c7b4

Status: Fixed » Closed (fixed)

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