IdeaTorrent

  • demo
  • documentation
  • downloads
  • our own ideatorrent
  • community
  • report a bug
Home › Forums › General discussion

Login problems

sco01 — Sun, 12/28/2008 - 13:33

I have ideatorrent up and running and it works really well but with one small annoyance and i cant figure out if it is a bug in drupal, ideatorrent or if it is something i configured wrong.

I have ideatorrent available from http://mysite/ideatorrent and it is not set as default landingpage so users will have to navigate to it from the drupal menu. Users can browse the site unauthenticated but when they do that and click the "submit your idea" link in the QA-Website module action block they run into problems.

Steps:

1. Browse to http://yoursite/ideatorrent as unauthenticated user.
2. Click "Submit your idea" in the QA-Website module action block.
3. Get redirected to "http://yoursite/user?destination=submit/". Fill in correct username and pw. Click login
4. Get redirected to "http://yoursite/submit/" This will be a 404 since the expected page is http://yoursite/ideatorrent/submit.

The problem here seems to be that the redirection to the login page is passed with the path parameter "submit" instead of "ideatorrent/submit".

Note that if the user is already authenticated before he press "Submit your idea" everything goes well and the user is taken to http://yoursite/ideatorrent/submit.

The same problem can be observed on "http://demo.ideatorrent.org/" Follow that link. Click "submit your idea". Log in as user/user and you will be taken to a blank page (404 in my case).

Any ideas? Is there something i can do about it myself or should i post a bug report and in that case should I do it for ideatorrent or drupal?

Update: Bug report filed at https://bugs.launchpad.net/ideatorrent/+bug/311909

Update2: Found that changing the line: echo $GLOBALS['base_url'] . "/user?destination=" . substr($GLOBALS['basemodule_prefilter_path'] . "/submit/", 1);

To: echo $GLOBALS['base_url'] . "/user?destination=" . $GLOBALS['basemodule_prefilter_path'] . "ideatorrent/submit/"; in modules/ideatorrent/themes/brownie/menublock/default.php solves the problem for me.

‹ top 10 newest post on frontpage Difference between 'Delete rationale<->solution link' and 'Delete' for solution? ›
  • General discussion
  • Add new comment

I was facing this login

Anonymous — Tue, 09/08/2009 - 12:18

I was facing this login problem on many places... Thanks for shaing updates. Hope so i get solve my problem now.

----------------------------------------------------------
ibm certification | microsoft certification | nortel certification

  • reply

Hey, Thanks for this valid

nand — Fri, 01/02/2009 - 15:34

Hey,

Thanks for this valid bug report, I'll correct that right away!

  • reply

Who is using it?



Ubuntu


Sourceforge


One Laptop Per Child


GMX


Public library of Charlotte, NC, US
  • demo
  • documentation
  • downloads
  • our own ideatorrent
  • community
  • report a bug