Generating Tokens

More
1 week 6 days ago #173744 by terryaulenbach
terryaulenbach created the topic: Generating Tokens
Version 3.14.7+180827

This is likely a bug, but I'll ask here first in case I'm missing something obvious.
I initiated the participant table and then tried to generate tokens. I've tried this with 2 different surveys with the same result.

I get a similar message depending on how many participants are in the table:

Create tokens
Only 0 tokens have been created.Need 2 tokens.

I'm not sure what I could be missing.

Terry

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago #173745 by jelo
jelo replied the topic: Generating Tokens

terryaulenbach wrote: I initiated the participant table and then tried to generate tokens.

If you just clicked "Generate tokens" you might have forgotten to add participants first.

If you don't want to import or add participants, but just need a few tokens you can use "Create dummy participants".

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey
Attachments:

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago #173747 by terryaulenbach
terryaulenbach replied the topic: Generating Tokens
Sorry, I should have mentioned that in each case participants had already been created.

Terry

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago #173753 by jelo
jelo replied the topic: Generating Tokens
Demo.limesurvey.org is currently on 3.14.7.
I cannot reproduce the issue there. Added participant and let LimeSurvey generate a token.
No issues.

So I cannot confirm a common issue with 3.14.7 and generating tokens.

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago #173759 by terryaulenbach
terryaulenbach replied the topic: Generating Tokens
Well, this might be related. I just went to create a couple dummy participants to see if those tokens would be created and I got this error (BTW we're using PostgreSQL - this seems to be more of a problem with 3.x):


500: Internal Server Error
Something is wrong with your random generator.

An internal error occurred while the Web server was processing your request.

Please contact Administrator to report this problem.

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago #173764 by DenisChenu
DenisChenu replied the topic: Generating Tokens
Do you have a "token length" set in this survey ? Maybe set it to 0 broke generation.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago #173765 by terryaulenbach
terryaulenbach replied the topic: Generating Tokens
Yes, I've tried 15 and 16.

Terry

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago #173768 by DenisChenu
DenisChenu replied the topic: Generating Tokens
Then : « Something is wrong with your random generator.» …

Activate debug mode, save phpinfo file, get all information from your server and report a complete issue.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
1 week 5 days ago #173790 by terryaulenbach
terryaulenbach replied the topic: Generating Tokens
I tried to submit a bug report, but there's no option for selecting 3.14x.

Attached is the error page that comes up. The problem seems to centre around LSYii generating the tokens.

Terry


File Attachment:

File Name: RandomGene...tion.pdf
File Size:126 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
1 week 5 days ago #173792 by jelo
jelo replied the topic: Generating Tokens

terryaulenbach wrote: I tried to submit a bug report, but there's no option for selecting 3.14x.

Leave the version empty. They are a bit late updating the version drop down list ;-)

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Please Log in or Create an account to join the conversation.

More
1 week 5 days ago #173803 by DenisChenu
DenisChenu replied the topic: Generating Tokens

jelo wrote:

terryaulenbach wrote: I tried to submit a bug report, but there's no option for selecting 3.14x.

Leave the version empty. They are a bit late updating the version drop down list ;-)

+1 :)

And send directly the saved html file, no need a pdf export.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!