Your LimeSurvey version: 5.2.13 LimeSurvey build 220207
Own server or LimeSurvey hosting: Own server (CentOS)
Survey theme/template: Custom (Vanilla, Bootwatch as parents)
==================
In order to avoid getting a 500 HTTP Error response from the server, I need to run the following 3 steps,
1. Run
Code:
sudo chmod -R 775 /var/www/html/limesurvey && \
sudo chmod -R 777 /var/www/html/limesurvey/tmp && \
sudo chmod -R 777 /var/www/html/limesurvey/upload
2. Visit the site.
3. Run
Code:
sudo chmod 770 /var/www/html/limesurvey/application/config/security.php && \
sudo chmod 770 /var/www/html/limesurvey/application/config/config.php
I haven't been able to pin down exactly what triggers the HTTP 500 responses to begin, but they seem to happen when CentOS is rebooted, and not when the apache server is restarted. These 3 steps make them go away.
Why must I visit the Limesurvey site between these chmod commands? If I run all the commands together, then visit the site, I get a HTTP 500 response. Does Limesurvey load the security.php and config.php files into a cache, making step 3. useless?
Thank you,
Michael