I added a new Survey to Drupal.

All checks on the admin interface are green.

When trying to response to the survey I receive:

The requested page "/response/add/ls-survey-912522" could not be found.

Anything I made wrong?

CommentFileSizeAuthor
#3 lime.jpg51.61 KBslowflyer

Comments

slowflyer created an issue. See original summary.

thedut’s picture

Category: Bug report » Support request

Hello slowflyer

I'm not able to reproduce this issue.
The response/add/ls-survey-912522 url is the right one for creating answer for the survey 912522.
Try this :

  • Go to the admin/structure/limesurvey/surveys page and make sure you have created a survey for the LimeSurvey survey 912522 ID.
  • On your LimeSurvey admin interface make sure the survey is active
  • Refresh cache (admin/config/development/performance)

come back for reporting.

slowflyer’s picture

StatusFileSize
new51.61 KB

Same as before, after walking to your steps.

Even with a new survey created, same behaviour.

Just to mention: Using Limesurvey 2.5 based on your answer: https://www.drupal.org/node/2645866

thedut’s picture

Ok, I'm able to reproduce this issue now.
It's happen only if there is more than one survey declared on Drupal (ie : 2 lines or more on the admin/structure/limesurvey/surveys page).

slowflyer’s picture

Confirmed,

after removing all surveys except one, it's working.

But can that be changed, to be able to run more than one?

thedut’s picture

Title: cant responed on survey » The requested page "/response/add/ls-survey-912522" could not be found.
Assigned: Unassigned » thedut
Category: Support request » Bug report
Status: Active » Fixed

Yes,
Edit the api/limesurvey_sync_api_entity.class.inc file on line 2583 : replace :
function limesurvey_sync_api_entity_entity_ui_get_form($entity_type, $entity, $op = 'edit', $form_state = array()) {
by
function limesurvey_sync_api_entity_entity_ui_get_form($entity_type, $entity, $op = 'edit', $form_state = array(), $bundle_provided = NULL) {
I will include this fix into the 7.x-2.x dev version.

  • thedut committed f544926 on 7.x-2.x
    Issue #2736111 fix respond page for more than 1 survey
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.