Check out the LimeSurvey source code on GitHub!

LimeSurvey1.92RC1 is released

More
5 years 1 month ago #71148 by lemeur
Article cannot be shown

Please Log in to join the conversation.

More
5 years 1 month ago - 5 years 1 month ago #71156 by Steve01
Hello,

the database name, database user and the rootURL in config.php don't seem to match the usual standard/default values. The default value for the database name should be something like "limesurvey" or "limesurvey_dev" while "root" seems to be the default database user. The rootURL also doesn't seem to match the folder "limesurvey" which is extracted from the zip/7z/... file.



I know you can or in some cases must change the settings in config.php, but I think it would be easier if the default values can be used because you just want to test the RC.

EDIT:
I encounterd the next problem. I cannot login, the set user and password in config.php doesn't seem to work:
User: admin
Password: password

Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team
Attachments:
Last Edit: 5 years 1 month ago by Steve01.

Please Log in to join the conversation.

More
5 years 1 month ago #71166 by TMSWhite
vierundzwanzig-

Thanks for pointing that out. We'll take care of that in the next RC release.

There are two possible work arounds:
(1) Here is a working INSERT query for an admin user with the default password of "password".

INSERT INTO `lime_users` (`uid`, `users_name`, `password`, `full_name`, `parent_id`, `lang`, `email`, `create_survey`, `create_user`, `delete_user`, `superadmin`, `configurator`, `manage_template`, `manage_label`, `htmleditormode`, `templateeditormode`, `questionselectormode`, `one_time_pw`, `dateformat`, `participant_panel`) VALUES
(1, 'admin', 0x35653838343839386461323830343731353164306535366638646336323932373733363033643064366161626264643632613131656637323164313534326438, 'Your Name', 0, 'en', 'This email address is being protected from spambots. You need JavaScript enabled to view it.', 1, 1, 1, 1, 1, 1, 1, 'default', 'default', 'default', NULL, 1, 0);

(2) I have a copy of 1.92 RC1 hosted on Amazon's Compute Cloud. Details are here:

ec2-50-16-27-54.compute-1.amazonaws.com/limesurvey_dev

The admin password is ls-dev-pass

Feel free to play with this version. It is running on a 32 bit micro Amazon EC2 instance, so has only 600 MB of memory, but it gives fast response times as long as there are only a few concurrent users.

/Tom

Please Log in to join the conversation.

More
5 years 1 month ago #71168 by Steve01
Thank you for your answer, TMSWhite. I tried (1) and it works fine, so I'll go on with this. Though I don't know how much time I can afford/use to test it and play with it.*g*

Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team

Please Log in to join the conversation.

More
5 years 3 weeks ago #71284 by Fred01
Hi, Tom, I had the same problem with the Admin user not being created but used your SQL and that solved it. Thanks

One comment on Equations. Our surveys include a lot of calculations based on respondents' answers (e.g., financial ratios) and I was definitely looking forward to calculating them in the database at runtime rather than later on in Excel during analysis. As it is now, you have the formula going into the Question field where the question text would normally be. It would be nice if there were a way to keep the equation distinct from the Question text that serves to describe it. I guess this would mean creating a new field or attribute?

I noticed that the new database includes the participants tables from the Central Participants database experiment last Summer. Does this mean that the next release is going to include that new functionality too?

Please Log in to join the conversation.

More
5 years 3 weeks ago #71285 by TMSWhite
Fred-

Glad the admin work-around worked. When we release 1.92 RC2, that will be fixed up front.

I hear you about Equations, but still think it makes more sense to keep them as a separate question type. Very few questions will need an Equation (and for question types that require sub-questions, the idea of sub-equations doesn't make intuitive sense), so if we have explanatory text in addition to an Equation, the equation field would be empty most of the time. For most of the equations I use, I don't need the explanatory text. If I want some boilerplate, I add that as a separate question and use tailoring to incorporate the Equation results.

As to the Central Participants Database - I kept it in so that the database version numbers between 1.92 and 2.0x would be in sync. I wasn't planning on adding CPD to 1.92

/Tom
The following user(s) said Thank You: Fred01

Please Log in to join the conversation.

More
5 years 3 weeks ago #71293 by Fred01
Thanks Tom. If I find any bugs I'll put them in the tracker.

I'm sure you're aware, but Equations don't work in the Data Entry view or the Edit Response view. I don't think conditions worked there either, but I'm thinking of when we have to go back and do corrections to data sometimes, we shouldn't count on the Equations recalculating.

Please Log in to join the conversation.

More
5 years 3 weeks ago #71294 by TMSWhite
Fred-

You are correct that conditions never worked for Data Entry. Like Printable Survey, they were displayed, but they were not enforced (except perhaps at submit time).

Now that relevance and mandatory/validation calculations works identically for all survey styles (e.g. question, group, survey), they can also work for data entry. So, my inclination is to consider data entry as effectively survey (all-in-one) style (all relevant questions shown), but with a different look and feel. That way we can ensure that data entry does enforce conditions. The same approach could be taken for Edit Response View. If so, then we can be sure that equations will re-calculate.

/Tom

Please Log in to join the conversation.

More
5 years 3 weeks ago - 5 years 3 weeks ago #71299 by fransmarcelissen
Hi Tom,
You write: "Now that relevance and mandatory/validation calculations works identically for all survey styles (e.g. question, group, survey),...."
What do you mean by writing that these work for a survey? Of course I understand that these work for questions and groups (I am very glad with this...), but I do not understand how these work at a survey level.
Frans
Last Edit: 5 years 3 weeks ago by fransmarcelissen. Reason: mistake

Please Log in to join the conversation.

More
5 years 3 weeks ago #71307 by TMSWhite
Frans-

By "survey" level, I meant "all-in-one" style. So, Expression Manager ensures that all of the conditions/relevance and validation rules all work even if you have dozens of groups shown on the same page. In such cases, only relevant groups and questions will be visible. This is like using data entry but ensuring that only relevant questions are visible there.

/Tom

Please Log in to join the conversation.

More
5 years 2 weeks ago #71400 by ChacoKevy
Was the Central Participants Database going to be a LS2.0 feature or something we could see in 1.9x? Was certainly hoping to see that as soon as possible!

Please Log in to join the conversation.

More
5 years 2 weeks ago #71401 by TMSWhite
ChacoKevy-

I don't think I have bandwidth to back-port CPDB into 1.92, so it probably will need to wait for 2.0.

/Tom

Please Log in to join the conversation.

More
5 years 2 weeks ago #71437 by badronald
I keep getting this error with 1.92, even with the test survey:
Warning: usort() [function.usort]: Invalid comparison function in /home/reddwarf/public_html/jenn/limesurvey2/classes/eval/LimeExpressionManager.php on line 1630

Please Log in to join the conversation.

More
5 years 2 weeks ago #71439 by TMSWhite
badronald-

Which test survey is giving that problem? One which group/page? All of the surveys I've tested work for me, so I want to ensure I can reproduce what you're seeing.

/Tom

Please Log in to join the conversation.

More
5 years 2 weeks ago #71440 by fransmarcelissen
Hi,
I also get this message, each time I load whatever questionnaire, for instance on "Sample LimeSurvey Survey for v1.9 (All question type and some option)". After that everything works well.
If you want you can see it on www.digipsy.nl/survey192/
Frans

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form