• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux Problem when installing Gesior, does not allow delete install.txt

Bob Nofx

New Member
Joined
Apr 26, 2012
Messages
4
Reaction score
0
Hello guys I am having a problem when installing the Gesior, esto using linux ubuntu 14:04, everything happens just in time to install Gesior more when it comes in step 5, appears this error:
STEP 5
Set Admin Account
Admin account login: 1
Admin account password: 5555

It's end of installation. Installation is blocked!
Error occured!
Error ID:
More info: Cannot remove file install.txt. You must remove it to disable installer. I recommend you to go to step 0 and check if any other file got problems with WRITE permission.

File: /var/www/html/install.php Line: 475


I already entered the install.php and went up to the line 475 and there is this code


Line 474:
echo '<h1>Admin account login: 1<br>Admin account password: '.$newpass.'</h1><br/><h3>It\'s end of installation. Installation is blocked!</h3>';

Line 475:

if(!unlink('install.txt'))


already excludes install.txt file manually but it causes error in the installation.


Already researched a lot and can not find a solution, please if anyone knows how to solve help me!
 
Give the script write permissions.

Could you be more specific? I'm kind of lay in linux and php,
I have performed in the Linux terminal in Gesior folder
chmod a+w config/config.php cache -R custom_scripts install.txt
chmod 777 install.php
chmod 777 install.txt

nothing has been resolved, if you know any way to solve please teach me
 
Could you be more specific? I'm kind of lay in linux and php,
I have performed in the Linux terminal in Gesior folder



nothing has been resolved, if you know any way to solve please teach me
try give the whole folder 777 to see if that is the problem.
Code:
chmod -R 777 /var/www/html
 
you shouldn't use 777 for the permissions use 774 instead.
as 777 allows other ppl to Write inside your files.

I suggest you run the following commands for safety reasons.
Code:
chown -R www-data:www-data /var/www/html
chmod -R 774 /var/www/html
 
you shouldn't use 777 for the permissions use 774 instead.
as 777 allows other ppl to Write inside your files.

I suggest you run the following commands for safety reasons.
Code:
chown -R www-data:www-data /var/www/html
chmod -R 774 /var/www/html
Would not recommend using 774 either, you do not wanna make it executable if you not actually want the user to run it. (Or is that 775??)
755 / 644 is pretty standard isn't it?

edit, 77 is a bad idea. Just suggested that as a test to see if it was permissions fault.
I pretty much use this: http://askubuntu.com/a/209547
 
Last edited:
Back
Top