Softaculous MyBB * Could not write the Configuration File settings.php

Status
Not open for further replies.

blazingcomputer

New Member
Messages
16
Reaction score
0
Points
0
I recently had mybb but it got hacked and i didnt have a recent back up for it :nuts:

Now when i try installing MyBB in the root directory, i get


  • Could not write the Configuration File settings.php
I am on adfree hosting...

I'm a noob with PHP and filezilla isnt uploading manual install properly :dunno:

and im also getting this php error, just view my site http://blazingcomputer.pcriot.com/
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Hello, please make sure the webserver has access to write to the file settings.php you can right click the file in the file manager and change the permissions to allow this.
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
Hello, please make sure the webserver has access to write to the file settings.php you can right click the file in the file manager and change the permissions to allow this.

Also, for the php error Hellsheep missed, there's a file "init.php" missing in the subfolder "inc" - that's why the page is failing to load.


Warning: require_once(/home/blazing/public_html/inc/init.php) [function.require-once]: failed to open stream: No such file or directory <--- see?
 
Last edited:

blazingcomputer

New Member
Messages
16
Reaction score
0
Points
0
Hi,

I couldn't find a settings.php file so i uploaded it manually, i will now CHMOD them appropriately and i will edit this post with the results

Thanks guys

EDIT: I also uploaded the init.php file :D

EDIT 2: I uploaded the files but it isn't appearing in the file manager
 
Last edited:

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
You're welcome. If you have any more issues please post back here and let us know.
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Have you tried deleting all the files and restarting the install from softaculous again?
 

blazingcomputer

New Member
Messages
16
Reaction score
0
Points
0
I uploaded the files but it isn't appearing in the file manager as I said before (sorry) and this is what filezilla is saying:

Command: USER blazing
Response: 331 User blazing OK. Password required
Command: PASS ***********
Response: 331 User blazing OK. Password required
Command: PASS ***********
Response: 230-User blazing has group access to: blazing
Response: 230 OK. Current restricted directory is /
Status: Connected
Status: Starting upload of C:\Documents and Settings\Ashley\My Documents\MyBB\Upload\inc\init.php
Command: CWD /public_html/inc
Response: 230-User blazing has group access to: blazing
Response: 230 OK. Current restricted directory is /
Status: Connected
Status: Starting upload of C:\Documents and Settings\Ashley\My Documents\MyBB\Upload\inc\settings.php
Response: 250 OK. Current directory is /public_html/inc
Command: PWD
Response: 257 "/public_html/inc" is your current location
Command: TYPE A
Command: CWD /public_html/inc
Response: 200 TYPE is now ASCII
Command: PASV
Response: 250 OK. Current directory is /public_html/inc
Command: PWD
Response: 227 Entering Passive Mode (69,162,76,170,216,237)
Command: STOR init.php
Response: 257 "/public_html/inc" is your current location
Command: TYPE A
Response: 553-Can't open that file: Permission denied
Response: 553 Rename/move failure: No such file or directory
Error: Critical error
Response: 200 TYPE is now ASCII
Command: PASV
Response: 227 Entering Passive Mode (69,162,76,170,221,126)
Command: STOR settings.php
Response: 553-Can't open that file: Permission denied
Response: 553 Rename/move failure: No such file or directory
Error: Critical error

EDIT: Okay thanks again i will try that.

EDIT2: I deleted all the files in public_html and reinstalled, it comes up with the same error, and the files appear. I think its missing loads of files because i cant see a plugins, themes folder etc. when im in the file manager, and the admin folder just has index.php in it :\
 
Last edited:

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Okay, i'm going to test my account on stoli to see if this works. I'll reply here shortly.
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Hello, can you please check to ensure the mysql database doesn't already exist? Also check that you are filling out the information correctly during the install. It installed perfectly on my stoli account.
 

blazingcomputer

New Member
Messages
16
Reaction score
0
Points
0
OK, i will delete all the databases (as i dont need them)

will edit this post when i get results ;)

EDIT: Apparently i have no SQL databases, and im still getting the error

do you want me to print screen the information im filling in? (Ill blank about my password)

oh, and on a side note, when i used to have mybb i used to always get 404 errors, i refreshed the page and it went back to normal...

and Fantastico gives me a 404 error.
 
Last edited:

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Hello, please attach the screenshot for me and blank out any important data. :)
 

blazingcomputer

New Member
Messages
16
Reaction score
0
Points
0
sorry for the late reply, didnt notice the second page, i will edit this post with the link to the image

EDIT:
installpage.png


filemanager.png


Is there a way you could like set everything to default on my account?
Edit:
i just had a thought:

Could you delete my account, then i create it again and everything should be back to normal???

EDIT: I installed it to /forums and its now working, thanks for all the help!!!!!
 
Last edited:

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
You're welcome. It seems there was probably some config/temp files stored somewhere from a previous installation that was causing problems. You could always move the install to the root directory now and then change the configs to reflect the change.
 
Status
Not open for further replies.
Top