Page 1 of 1

Install issues

Posted: Mon Jan 16, 2017 12:15 pm
by TcktG
Hi,

I'm trying out Bludit and I like it so far. A few questions:

1. the install manual says it should be installed in the /bludit folder on the server. I don't want my main site running in /bludit though, I just want it to be http://www.blabla.com (without the trailing /bludit). Installation of Bludit in the root doesn't seem to work?

2. During installation, I get an error about permissions of the content folder. Setting it manually to 777 seems to fix the problem. Is this something more people are experiencing (and should it be corrected in the install)?

Thanks.
TG

Re: Install issues

Posted: Mon Jan 16, 2017 10:32 pm
by Edi
TcktG wrote:1. the install manual says it should be installed in the /bludit folder on the server. I don't want my main site running in /bludit though, I just want it to be http://www.blabla.com (without the trailing /bludit). Installation of Bludit in the root doesn't seem to work?
Installation in the root directory works.
2. During installation, I get an error about permissions of the content folder. Setting it manually to 777 seems to fix the problem. Is this something more people are experiencing (and should it be corrected in the install)?
What server environment do you use? Have you tried with 755?

Re: Install issues

Posted: Mon Jan 16, 2017 11:12 pm
by TcktG
thank you for your reply. I think the default permissions (in install) are 755, but that doesn't work. I'm using Apache 2.4.25 with PHP 5.3.29.
This is the error:

Writing test failure, check directory content permissions. (ERR_205)

Manually changing the permissions of the bl-content folder to 777 and running install again fixes the problem.

I tried installing in the root again and now it does work, so that is fixed.

Re: Install issues

Posted: Mon Jan 16, 2017 11:25 pm
by Edi
Is it a shared hosting? Could be that there are some restrictions.

Re: Install issues

Posted: Tue Jan 17, 2017 11:04 am
by TcktG
No, it's my own VPS

Re: Install issues

Posted: Tue Jan 17, 2017 11:59 am
by Edi
In this case, I think, it's how your server handles permissions. ;-)

Re: Install issues

Posted: Tue Jan 17, 2017 4:20 pm
by TcktG
Hmm, okay. Anyway, changing line 251 in install.php to

@mkdir(PATH_CONTENT, 0777, true);

fixes it and installs Bludit (for me).