Closed (fixed)
Project:
Petition Node
Version:
6.x-1.2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
2 Sep 2009 at 17:38 UTC
Updated:
4 Sep 2009 at 09:36 UTC
Jump to comment: Most recent file
Comments
Comment #1
gauvain commentedAre you sure you set the user permissions so that anonymous users may sign the petition? I mean under:
"admin/user/permissions" ?
This can also be due to your Internet hosts:
When I tested the petition module on (very cheap but) poor quality server, this kind of issue was happening: clicking on the confirmation link would send to a white screen and then tell I had no access...
Have you tested yourself to sign?
Comment #2
glocal-2 commentedHi Gauvain,
thanks for the answer but i conrfim that:
- the anonymous users may sign the petition as seen in the copy of screen (see file attachement)
- after clicking on the confirmation link, the anonymous users or me as Adminsystem (with all permissions) have the screen tells us Access denied (see file attachement) !!!
I am using a powerfull dedicated server with debian lenny and apache 2.
Thank by advance.
Glocal
ps: it's possible to configure somewhere a redirection to confirm to petitionners about confirmation of their signature ?
Comment #3
gauvain commentedVery strange....
If you test on my demonstration site at http://petition.blogopa.net, you will see that it doesn't happen...
Have you check the other access settings of your site?
The function called to confirmed the signature is found at the menu path:
petition/signature/confirmation/+ a few agurments.
If it works normally, you should get a message to confirm that...
Could this menu path be "occupied" by another module or another menu?
What happens if you type in your url:
http://yoursite.fr/petition/signature/confirmation/1/1/1/1 ?
Do you have an access error or a page not found (it should be a page not found)
Comment #4
glocal-2 commentedHi,
when i type in my url:
http://mysite.fr/petition/signature/confirmation/1/1/1/1 it's answer me that the page was not found.
In the file attachement, you will find all the module activated for my web site.
I try on you demo site at http://petition.blogopa.net and it answer me after clicking the email confirmation by a page where all the signatures could be viewed by the petitionner.
In my site configuration, anomymous users have only the right to sign petition (from the module petition) and to access content (from the module node).
I don't want the petitioner be able to see others petitioners.
Thanks for your help.
Comment #5
gauvain commentedWell, I think I know what it is the reason...
I will not have the the possibility to update the code before one week or two, but let me guess:
In the petition settings, you chose not to keep the signatures private?
After confirming the signature is confirmed, the user is sent to page 'node/%/signatures' where % is the nid of the petition. This is the page displaying the signatures but because the signatures are kept private, the user cannot see the page.
You can momentarily fix the code.
In the petition_module directory, please modify the petition.module file accordingly:
on line 1737, replace
with the following code:
on line 1699, replace
with:
Then it should work.
Comment #6
glocal-2 commentedThank you for the help.
I made the modification in the code.
So after the confirmation, the anonymous users are redirected to the page of the petition without any confirmation that their signature is validated but it's better than having an "access denied" .
To improve the interaction with users, i create a page called thanks located at http://www.mysite.fr/thanks ( real name is node/3) and i use your code recommendation to do these modifications on line 1737 and 1699 :
I replace :
$url ='node/'. $nid .'/signatures';
by :
$url ='node/'. 3;
So for now , my problem is resolved (not elegant but ok for now)
Thang you for your great module and your great help.
I hope that the next release will fix these.
Glocal
ps: You said in you previous message : " In the petition settings, you chose not to keep the signatures private?"
NO, i want the signatures to be kept private (not seen by anonymous)
Best regards
Comment #7
glocal-2 commented