View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|15424||Bug reports||Installation||public||2019-10-18 23:34||2019-10-30 23:09|
|Summary||15424: Limesurvey in virtual folder - css and js ok but any form action URL is wrong|
I'm trying to install limesurvey in a Docker container. For that I'm trying to create a limesurvey Docker image from alpine 3.7 with nginx. So you have 3 containers involved here:
What I'm trying to do is to add https://my.example.com/limesurvey/ for the limesurvey application here.
|Steps To Reproduce|
So I have added the link to this new limesurvey container and edited the entry in the nginx reverse proxy container configuration (see configuration after).
In the limesurvey container, I have temporary edited the file /var/www/html/limesurvey/application/config/config-defaults.php for the installation process in order to get the css and js working.
Once installed, I have
So now the problem with the form action URL is still there : I can for example successfully login to the backoffice, but I still need to manually edit the HTML before clicking the "Log in" button.
How can I definitively configure that? What is the best way to configure that? container B's nginx configuration? container C's nginx configuration? Limesurvey configuration? Yii Framework configuration?
Thank for your help!
Here is the /var/www/html/limesurvey/application/config/config.php file content :
Here is the nginx reverse proxy configuration (container C) : /etc/nginx/nginx.conf
Here is the nginx server configuration in the limesurvey container (container B) : /etc/nginx/nginx.conf
|Tags||No tags attached.|
|Complete LimeSurvey version number (& build)||4.0.0-RC1|
|I will donate to the project if issue is resolved||No|
|Browser||Google Chrome 77.0.3865.120 (64 bits)|
|Database & DB-Version||mysql 5.7|
|Server OS (if known)||alpine 3.7|
|Webserver software & version (if known)||nginx 1.12.2-r4|
|PHP Version||php 7.1|
Sorry for the formatting I don't know how to edit the ticket...
You can use markdown :)
Think it's best to use 3.19 for such setup. Use a stable version for checking config before make it for unstable …
Yes I could neither preview before submitting nor edit once submitted. Thank you for the formatting.
As you can see, it uses the tags URL and not the release URL from GitHub since there are no releases on GitHub repo...
Anyway, is GitHub the correct repo for stable releases? Doesn't look like... I need a way to automatically find the latest version URL and then download it over wget. What is the correct way to be able determine the URL of the latest stable release to download programatically?
Personally i use git master …
But stilla : about original issue : best is to manually check with 3.19.1+191009
For example the latest official stable release (version 3.19.2+191017) can be downloaded from here:
This doesn't work for me since I cannot guess via an API the URL from the version as input...
This is NOT related to the original issue
Please : one issue by issue report …
Yes you are right.
Then you can set some PHP SERVER value in your nginx config …
In the nginx server configuration in the limesurvey container (container B), I have made some changes in order to change the behaviour of some $_SERVER values.
So now I get the following values when I visit https://my-domain.com/limesurvey/index.php?r=admin/authentication/sa/login, this is the var_dump of the $_SERVER array:
I think the issue comes from
Does it have something to deal with the cgi.fix-pathinfo flag in the php.ini config?
Of course " is the quote iteself!
|2019-10-18 23:34||jaybeede||New Issue|
|2019-10-18 23:38||jaybeede||Note Added: 54101|
|2019-10-19 09:59||DenisChenu||Note Added: 54102|
|2019-10-19 10:01||DenisChenu||Description Updated||View Revisions|
|2019-10-19 10:01||DenisChenu||Steps to Reproduce Updated||View Revisions|
|2019-10-19 10:01||DenisChenu||Additional Information Updated||View Revisions|
|2019-10-19 10:01||DenisChenu||Complete LimeSurvey version number (& build)||$config['versionnumber'] ='4.0.0-RC1'; $config['dbversionnumber'] = 418; $config['buildnumber'] = ''; $config['updatable'] = true; $config['assetsversionnumber'] = '30090'; => 4.0.0-RC1|
|2019-10-19 10:02||DenisChenu||Note Added: 54103|
|2019-10-19 11:58||jaybeede||Note Added: 54106|
|2019-10-19 12:07||DenisChenu||Note Added: 54107|
|2019-10-19 12:13||jaybeede||Note Added: 54108|
|2019-10-19 12:14||DenisChenu||Note Added: 54109|
|2019-10-19 12:19||jaybeede||Note Added: 54110|
|2019-10-19 17:07||DenisChenu||Note Added: 54111|
|2019-10-20 22:35||jaybeede||Note Added: 54117|
|2019-10-20 23:15||jaybeede||Note Added: 54118|
|2019-10-20 23:19||jaybeede||Note Added: 54119|
|2019-10-20 23:21||jaybeede||Note Added: 54120|
|2019-10-30 23:08||jaybeede||Note Added: 54289|
|2019-10-30 23:09||jaybeede||Note Added: 54290|
|2019-10-30 23:09||jaybeede||Note Added: 54291|