Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: how to write the script path in LS?

how to write the script path in LS? 2 years 6 months ago #109471

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 292
  • Thank you received: 1
  • Karma: -4
i add js as <script src="scripts/testjs.js", it's OK.
i add ajax as $.post('scripts/testphp.php', it's NOT OK.
WHY?
The topic has been locked.

how to write the script path in LS? 2 years 5 months ago #109532

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 292
  • Thank you received: 1
  • Karma: -4
maybe it's bug
The topic has been locked.

how to write the script path in LS? 2 years 5 months ago #109548

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9551
  • Thank you received: 1370
  • Karma: 389
Not a bug,
You need to put the complet link to your test.php, for example:

$.post('/lsdir/scripts/testphp.php',
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time (Need support ?).
A bug not reported is a bug not corrected. | 2.61lts version improved | Need plugins for LimeSurvey ?
The topic has been locked.

how to write the script path in LS? 2 years 5 months ago #109571

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6566
  • Thank you received: 1477
  • Karma: 578
Seems to me that I have already answered this - www.limesurvey.org/en/forum/design-issue...ll-php-script#109402
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

how to write the script path in LS? 2 years 5 months ago #109588

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9551
  • Thank you received: 1370
  • Karma: 389
Thanks Tony, then close this one.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time (Need support ?).
A bug not reported is a bug not corrected. | 2.61lts version improved | Need plugins for LimeSurvey ?
The topic has been locked.
Time to create page: 0.247 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form