Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: $rooturl

$rooturl 4 years 1 month ago #88031

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
Got it !!

In config.php :
'components' => array(
        'request'=>array(
            'hostInfo'=>'http://surveys.northerndeanery.nhs.uk',
        ),
hostInfo is used for createAbsoluteUrl

For surveylisting, we just use createUrl, this make url like this : /index.php/.... and it's OK.

But for admin page, we force the absolute url, maybe it's not a big idea.

Only use absolute url for "survey url" in survey description and in survey mail.

Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.
The following user(s) said Thank You: quaint

Aw: $rooturl 4 years 1 month ago #88032

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
quaint wrote:
Will submit another bug report.
Plesa, give the number , or best the complete bug report link (with number).

Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.

Aw: $rooturl 4 years 1 month ago #88034

  • quaint
  • quaint's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 14
  • Thank you received: 1
  • Karma: 0
Success!

That seems to do the job!

Thanks very much. I think now it should just be a case of updating the documentation to say "hostinfo" rather than "baseUrl".

I'd actually submitted that bug report mere seconds from noticing your reply here:

http://bugs.limesurvey.org/view.php?id=6844
The administrator has disabled public write access.

Aw: $rooturl 4 years 1 month ago #88035

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
quaint wrote:
Thanks very much. I think now it should just be a case of updating the documentation to say "hostinfo" rather than "baseUrl".
Please,

Do it, docs is a wiki :).

And for bug report, think this solution is not so easy. We have to use a $config for rooturl like in 1.92.

Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.

$rooturl 2 years 5 months ago #110407

  • Gordon55M
  • Gordon55M's Avatar
  • Offline
  • Junior Lime
  • Posts: 30
  • Thank you received: 1
  • Karma: 0
This worked for me, thanks so much!
The administrator has disabled public write access.

$rooturl 2 years 5 months ago #110417

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
Last Edit: 2 years 5 months ago by DenisChenu.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 1.082 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form