Login problem from QA-Website module action block.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ideatorrent |
New
|
Undecided
|
Unassigned |
Bug Description
Version: IdeaTorrent 0.9
I have ideatorrent available from http://
Steps:
1. Browse to http://
2. Click "Submit your idea" in the QA-Website module action block.
3. Get redirected to "http://
4. Get redirected to "http://
The problem here seems to be that the redirection to the login page is passed with the path parameter "submit" instead of "ideatorrent/
Note that if the user is already authenticated before he press "Submit your idea" everything goes well and the user is taken to http://
The same problem can be observed on "http://
Discussion on #ubuntu-brainstorm indicates that this can be a problem in votebox.php
The problem seems to be in /modules/ ideatorrent/ themes/ brownie/ menublock/ default. php in the following section:
-------------- 50px">< tr><td> access( $GLOBALS[ 'site'] ->getData( )->userrole) ) 'basemodule_ url'] . $GLOBALS[ 'basemodule_ prefilter_ path'] . "/submit/"; 'base_url' ] . "/user? destination= " . substr( $GLOBALS[ 'basemodule_ prefilter_ path'] . "/submit/", 1);
<table style="margin: 0px 0px 0px 8px; height:
<a href="<?php
if(user_
echo $GLOBALS[
else
echo $GLOBALS[
?>" class="blacklink2" > getThemePath( ); ?>/images/ ideamail. png" alt="Submit your idea"> $GLOBALS[ 'basemodule_ prefilter_ path'] " doesn't return the right value??
<img src="<?php echo "/" . $this->
</a>
--------------
I don't know much about php but i guess that " substr(
Must learn php ;)