- Posts: 40
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Test copy of existing limesurvey installation on local LAMP
1 year 8 months ago #219897
by jsibley
Hello,
I'm thinking that it would be good to test restoring my Limesurvey (running on a private server) locally.
I'm running lando, which uses docker, and am using a LAMP recipe.
When I go to the URL for the local site, I'm getting
I'm guessing that this could be because the local database has different credentials than the database I downloaded and imported. Does that seem likely?
If so, is there somewhere I should change the local database credentials that Limesurvey is using?
Is there something else I should consider?
Many thanks!
I'm thinking that it would be good to test restoring my Limesurvey (running on a private server) locally.
I'm running lando, which uses docker, and am using a LAMP recipe.
When I go to the URL for the local site, I'm getting
Code:
Internal Server Error CDbConnection failed to open the DB connection.
If so, is there somewhere I should change the local database credentials that Limesurvey is using?
Is there something else I should consider?
Many thanks!
The topic has been locked.
1 year 8 months ago #219898
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Test copy of existing limesurvey installation on local LAMP
Look in /application/config/config.php.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
1 year 8 months ago #219899
by jsibley
Replied by jsibley on topic Test copy of existing limesurvey installation on local LAMP
I found documentation telling me to change the credentials in config.php (under application/config).
This gets me to my home page. However, going to the admin page gives me a blank page and doesn't display any errors.
Any ideas?
Thank you.
This gets me to my home page. However, going to the admin page gives me a blank page and doesn't display any errors.
Any ideas?
Thank you.
The topic has been locked.
1 year 8 months ago #219901
by jsibley
Replied by jsibley on topic Test copy of existing limesurvey installation on local LAMP
Yes, I needed to change the credentials in application/config/config.php to match the ones set up by lando (or I could have changed the credentials that lando set up the database with, I suppose).
Case solved, I believe.
Case solved, I believe.
The topic has been locked.