Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

problem using jQuery

  • djarnold01
  • djarnold01's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 7 months ago - 8 years 7 months ago #125630 by djarnold01
problem using jQuery was created by djarnold01
I disable the XSS in config but when I try to use jquery, the code is not saved and the page remains loading when I click the save button.
My server has Version 2.06+ Build 150831


It could be a problem with the server configuration?
Last edit: 8 years 7 months ago by djarnold01.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 7 months ago #125763 by DenisChenu
Replied by DenisChenu on topic problem using jQuery
Hi,

Can you activate debug mode : manual.limesurvey.org/Debug_mode ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • djarnold01
  • djarnold01's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 7 months ago - 8 years 7 months ago #125813 by djarnold01
Replied by djarnold01 on topic problem using jQuery
Yes, I activated the debug mode but nothing happens....
After being trying to save the changes, only the error page "a connection was reset....." and the changes are not made.
Edit:
Basic html code works good.
Last edit: 8 years 7 months ago by djarnold01.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 7 months ago #125821 by DenisChenu
Replied by DenisChenu on topic problem using jQuery
OK,

I think it's another "protection" issue in your server. Please : search in server log if you have a error when this happen.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
8 years 7 months ago #125822 by Mazi
Replied by Mazi on topic problem using jQuery
Is there any additional security module installed on your server blocking saving of JS?

Are you a superadmin?

Please test the demo if it works there.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
  • djarnold01
  • djarnold01's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 7 months ago - 8 years 7 months ago #125826 by djarnold01
Replied by djarnold01 on topic problem using jQuery
error_log

[pid 11647] (13)Permission denied: [client 10.10.10.244:60460] AH00529: /opt/lampp/htdocs/limesurvey/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/opt/lampp/htdocs/limesurvey/' is executable



php_error_log

Undefined index: HTTP_HOST in /opt/lampp/htdocs/index.php on line 7



I created another php file with a basic jquery code for alert box and saved in the limesurvey folder... this code works good
so I think is not a server problem


yes I am superadmin
Last edit: 8 years 7 months ago by djarnold01.
The topic has been locked.
  • djarnold01
  • djarnold01's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 7 months ago #125987 by djarnold01
Replied by djarnold01 on topic problem using jQuery
Now I reinstalled xampp and limesurvey in my linux server but the problem is still there.
Maybe a folder rights?... apache config?
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose