hi
when I try to import survey to limesurvey sync an AJAX HTTP err happens :
code HTTP: 500
path: /batch?id=6&op=do
Internal Server Error ResponseText
how can I fix this please?

Comments

thedut’s picture

Ok,

  • could you provide the page url ? ('node/add/survey', 'node/[nid]/import' ?)
  • Could you tell me if my fix solves your previous issue (they may be connected) ?
thedut’s picture

Component: Documentation » Code
Assigned: farzantabrizi » thedut
Category: support » bug
Priority: Critical » Major
farzantabrizi’s picture

hi
tnx for your help,yes your solutions work but every time something new comes up
what u mean by url?
I think its: /node/1/import
if its what u mean

thedut’s picture

Yes is it node/1/import.

Please go to the https://drupal.org/node/1908490#comment-7724187 page an report on that page if the fix succeed (replacing the ls_api/limesurvey_sync_api_survey.inc file).

Do you still met the AJAX HTTP err ?

farzantabrizi’s picture

hi
yes I still have the AJAX err
what should I do?

thedut’s picture

Ok, now tell me if you still met the 'add survey issue' issue after applying my fix : Go to
https://drupal.org/node/1908490#comment-7724187.

farzantabrizi’s picture

no it dint work and I still have the problem

farzantabrizi’s picture

hi
I still get the same err what should I do?
please help

farzantabrizi’s picture

hi
is there any hope for this problem to be solved ?
please tell me if it can be solved
tnx

thedut’s picture

Status: Active » Closed (cannot reproduce)

Hi farzantabrizi,

I have tested the importation and it works for me.
Regarding the informations you have provided, I'm not able to reproduce this issue or understand where it comes from.

You should try selecting 'Automatic import answer after completion' on the node/1/options page, it may solve your issue or provide a pertinent error message.
I mark this thread as 'can not reproduce' but feel free to reply with new comments or informations.

farzantabrizi’s picture

hi thedut,
tnx for your answer
I tried it but it showed following err
For privacy raison, anonymized or undated surveys can not automatically import answers
what should I do?

thedut’s picture

The easiest way is to go to node/1, look for the 'Automatic import is available' row and follow the 2 [EDIT] links : on the LimeSurvey Amin interface, change those options :

  • Anonymized responses set to No
  • Date stamp set to Yes

then try selecting 'Automatic import answer after completion' on the node/1/options page again.