- Posts: 5
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Problem when installing in subfolder
- marvelousvts
- Topic Author
- Offline
- New Member
Less
More
7 years 2 months ago #148371
by marvelousvts
Problem when installing in subfolder was created by marvelousvts
Hello all,
I have an issue when I try to start installation in a subfolder:
I have intra1.xxxxxxx.com/app/survey/ where I have copied all limesurvey files
when I execute this path then I am redirected in: intra1.xxxxxxx.com/survey/index.php?r=installer and I get 404 - File or directory not found because this folder doesn't exist of course. This folder is located under app folder and not under home.
Can you please tell me how I can stop this redirection and start the installation?
I have an issue when I try to start installation in a subfolder:
I have intra1.xxxxxxx.com/app/survey/ where I have copied all limesurvey files
when I execute this path then I am redirected in: intra1.xxxxxxx.com/survey/index.php?r=installer and I get 404 - File or directory not found because this folder doesn't exist of course. This folder is located under app folder and not under home.
Can you please tell me how I can stop this redirection and start the installation?
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11658
- Thank you received: 2742
7 years 2 months ago #148375
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Problem when installing in subfolder
I would say that you had already installed Limesurvey in that other folder before, with the same database?
Did you change the config file and switch the base url.
Did you change the config file and switch the base url.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- marvelousvts
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
7 years 2 months ago #148380
by marvelousvts
Replied by marvelousvts on topic Problem when installing in subfolder
Can you please give me a sample of config.php with the base url configuration?
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
7 years 2 months ago #148383
by DenisChenu
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.
Replied by DenisChenu on topic Problem when installing in subfolder
There are a redirection from app/survey to survey on YOUR server, not by limesurvey.
config.php don't need update to be in subfolder
Look at your server config
config.php don't need update to be in subfolder
Look at your server config
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.
- marvelousvts
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
7 years 2 months ago #148386
by marvelousvts
Replied by marvelousvts on topic Problem when installing in subfolder
Hello DenisChenu,
I put die(); on index php and I have noticed that when is executed the last line :
Yii::createApplication('LSYii_Application', $config)->run();
only then is redirecting.
I suppose that the server configuration is correct otherwise index.php would never be executed.
I put die(); on index php and I have noticed that when is executed the last line :
Yii::createApplication('LSYii_Application', $config)->run();
only then is redirecting.
I suppose that the server configuration is correct otherwise index.php would never be executed.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
7 years 2 months ago #148388
by DenisChenu
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.
Replied by DenisChenu on topic Problem when installing in subfolder
I already have a lot of LS installed on subfolder's : never have issue ...
Try with
here : github.com/LimeSurvey/LimeSurvey/blob/master/index.php#L212
Try with
here : github.com/LimeSurvey/LimeSurvey/blob/master/index.php#L212
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.
- LouisGac
- Visitor
7 years 2 months ago #148390
by LouisGac
Replied by LouisGac on topic Problem when installing in subfolder
Hi marvelousvts,
Myself, I always work with LS installed in a subfolder, in a symlink, and it works perfectly fine.
So I bet your problem is not related to LimeSurvey but rather to your server configuration.
Myself, I always work with LS installed in a subfolder, in a symlink, and it works perfectly fine.
So I bet your problem is not related to LimeSurvey but rather to your server configuration.
The topic has been locked.
- marvelousvts
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
7 years 2 months ago #148391
by marvelousvts
Replied by marvelousvts on topic Problem when installing in subfolder
please find attached the $config
Attachments:
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
7 years 2 months ago #148393
by DenisChenu
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.
Replied by DenisChenu on topic Problem when installing in subfolder
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.
Attachments:
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11658
- Thank you received: 2742
7 years 2 months ago #148397
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Problem when installing in subfolder
As Tpartner und Denis say, installing into subfolders is totally normal and I also do it all the time. This is why I tought that you had installed Limesurvey in the root folder of the subdomain first and then moved the files to the subfolder and there was still some trace left.
config.php normally finds the URL itself.
I also think you need to check on your server if there are any redirects or anything.
I would do the following: clean the app folder completly, upload the limesurvey files completely new, make a fresh install in a fresh database and see what happens.
config.php normally finds the URL itself.
I also think you need to check on your server if there are any redirects or anything.
I would do the following: clean the app folder completly, upload the limesurvey files completely new, make a fresh install in a fresh database and see what happens.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
7 years 2 months ago #148399
by jelo
1. This is a sub-subfolder installation.
2. What kind of Webenvironment is it. Installtion under a /app folder is always ringing a bell.
Mostly there is already some kind of webapplication installed with certain redirection routines.
Question A:
Can you install LimeSurvey under intra1.xxxxxxx.com/ls/ ?
If not, why not? What is the restriction?
Question B:
What is the result of phpinfo(); ?
Create a simple textfile with
<?php
phpinfo();
?>
and upload it to the root of the webserver. Access it via the browser
mediatemple.net/community/products/dv/20...e-a-phpinfo.php-page
BTW: I no longer can use the code button in this forum editor. It is just a greyed out window which cannot be clicked.
And I'm really pissed of that I get a URL limit protection when creating posts. This kind of SPAM-protection is demotivates me of answering posts. This now goes on for a long time. Nothing changed. As a normal user account I see no sense in the URL limit. Where is that preventing SPAM?
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Problem when installing in subfolder
marvelousvts wrote: I have an issue when I try to start installation in a subfolder:
I have intra1.xxxxxxx.com/app/survey/ where I have copied all limesurvey files
1. This is a sub-subfolder installation.
2. What kind of Webenvironment is it. Installtion under a /app folder is always ringing a bell.
Mostly there is already some kind of webapplication installed with certain redirection routines.
Question A:
Can you install LimeSurvey under intra1.xxxxxxx.com/ls/ ?
If not, why not? What is the restriction?
Question B:
What is the result of phpinfo(); ?
Create a simple textfile with
<?php
phpinfo();
?>
and upload it to the root of the webserver. Access it via the browser
mediatemple.net/community/products/dv/20...e-a-phpinfo.php-page
BTW: I no longer can use the code button in this forum editor. It is just a greyed out window which cannot be clicked.
And I'm really pissed of that I get a URL limit protection when creating posts. This kind of SPAM-protection is demotivates me of answering posts. This now goes on for a long time. Nothing changed. As a normal user account I see no sense in the URL limit. Where is that preventing SPAM?
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
7 years 2 months ago #148406
by DenisChenu
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.
Replied by DenisChenu on topic Problem when installing in subfolder
I have same issue : 2 url for post, but any number when editjelo wrote: ....
And I'm really pissed of that I get a URL limit protection when creating posts. This kind of SPAM-protection is demotivates me of answering posts. This now goes on for a long time. Nothing changed. As a normal user account I see no sense in the URL limit. Where is that preventing SPAM?
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.