Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Move installation on subdomain

  • pinguinone
  • pinguinone's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 months ago #129880 by pinguinone
Move installation on subdomain was created by pinguinone
Hello,
I have installed Lime-survey on principal site www. domain.com/survey/ and so far so good, I have published one survey with success and I'm quite happy.
After that I want to move the installation on a subdomain something like survey.domain.com I follow the guide with no success. I created the subdomain, I download by FTP all data and I upload transfer to the new subdomain (that has a different position on the server's hard disk).
Now I try to connect but it gives me this error:

Internal Server Error
Unable to open directory:

If I go to see the server's errors I find:

Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://survey. domain.com/"

Same thing on survey. domain.com/admin

How can I fix this issue? I can't change DNS and the database is exactly the same (the server and the connection is the same).
Can you help me?

Thanks
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 2 months ago #129965 by DenisChenu
Replied by DenisChenu on topic Move installation on subdomain
Hi,

Step one : add a little index.php file to test if survey.example.com work (without any survey files).

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • pinguinone
  • pinguinone's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 months ago #129982 by pinguinone
Replied by pinguinone on topic Move installation on subdomain
Hello,
I create a very simple php page...here is the code:
Code:
<html>
 <head>
  <title>PHP Test</title>
 </head>
 <body>
 <?php echo '<p>Hello World</p>'; ?> 
 <br/>
 <?php echo phpinfo(); ?>
 </body>
</html>

I try and it works like a charm. What is the step two?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 2 months ago #130021 by DenisChenu
Replied by DenisChenu on topic Move installation on subdomain
Your server system ?

Did you try with renaming .htaccess ?

ANy other thing updated in config.php ?

Because i have same install for survey.example.com and www.example.com/survey and it work like a charm.

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 , plugin development .
I don't answer to private message.
The topic has been locked.
  • pinguinone
  • pinguinone's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 months ago #130043 by pinguinone
Replied by pinguinone on topic Move installation on subdomain
Hi,
what you mena as "my server system"? Is a on-line server (if you want I can PM all the details) and I have a hosting with them.
I have .htaccess file, I have to rename it? How?
I don't change nothing on the config.php, where and what I have to check?

Thanks for the support
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 2 months ago #130057 by DenisChenu
Replied by DenisChenu on topic Move installation on subdomain
Hi,

Your server system : linux, windows .... etc ... (phpconfig)
Yes : to rename it : use any FTP tools

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 , plugin development .
I don't answer to private message.
The topic has been locked.
  • pinguinone
  • pinguinone's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 months ago #130061 by pinguinone
Replied by pinguinone on topic Move installation on subdomain
Hello,
it's a linux server, I pm to you now the url where you can see the result of phpinfo statement.
I rename the .htaccess in pippo.htaccess but the error remain the same. Do you think a hosting problem?
Thanks for everything

Gianluca
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 2 months ago #130077 by DenisChenu
Replied by DenisChenu on topic Move installation on subdomain
By PM

Unable to open directory: /var/www/vhosts/clickpiu.com/httpdocs/tmp/assets/187a0f4b

Maybe you must set DocumentRoot /var/www/vhosts/clickpiu.com/httpdocs/survey/ or something like that.


Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: pinguinone
The topic has been locked.
  • pinguinone
  • pinguinone's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 1 month ago #130378 by pinguinone
Replied by pinguinone on topic Move installation on subdomain
Hi,
after more deeping research we find that the problem was from the apache server, changed that everything goes very well.
Thanks for the support!

Gianluca
The following user(s) said Thank You: DenisChenu
The topic has been locked.
More
8 years 1 month ago #131587 by codelogic
Replied by codelogic on topic Move installation on subdomain

pinguinone wrote: Hi,
after more deeping research we find that the problem was from the apache server, changed that everything goes very well.
Thanks for the support!

Gianluca


What was the problem with the apache server? It might help me.
The topic has been locked.
More
8 years 1 month ago #131591 by codelogic
Replied by codelogic on topic Move installation on subdomain
So I had a similar problem when moving all of LimeSurvey to a new server.

Solution:
In PHP settings "memory_limit" needs to be I believe at least 64M I had it on 32M for the default install.

Normally LimeSurvey finds this if you are installing it from scratch but it doesn't detect it if you just copied the whole install to a new server.
The topic has been locked.
  • pinguinone
  • pinguinone's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 1 month ago - 8 years 4 weeks ago #131661 by pinguinone
Replied by pinguinone on topic Move installation on subdomain
In my case ws a problem on how the subdomain was confgured in apache. Basically www.example.com was configured as subdomain while it shouldn't for make lime survey work
Last edit: 8 years 4 weeks ago by DenisChenu.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose