Hello everyone,
Not sure but on fresh installation, i can't seem to load the page.
Here's the errors i'm getting on my lighttpd
(mod_fastcgi.c.2673) FastCGI-stderr: PHP message: PHP Warning: file_put_contents(/var/www/public_html/smf/db_last_error.php): failed to open stream: Permission denied in /var/www/public_html/smf/Settings.php on line 195
Are you using SMF 2.0 or SMF 2.1?
SMF 2.1, might have posted in the wrong board. Please move it.
I used repair settings file to properly configure the server but that doesn't help much, the log files in lighttpd still showing constantly
The error says permission denied, so did you fix permissions?
Also check contents of htaccess.
I don't have htaccess file. I checked the permissions already. So should i go for 0777?
Quote from: Adzkii on January 12, 2017, 12:37:35 PM
I don't have htaccess file. I checked the permissions already. So should i go for 0777?
Either 777 or change the owner to the same as your web server application. On Debian and most of its derivatives thats
chown www-data:www-data db_last_error.php
I don't think it's the permission problem. Upon installation i may have enabled Force SSL throughout forum option, that may have triggered the too many redirects error. Is there any way i could uncheck this option in the files? I can't seem to find it in the settings.php file.
Cheers
bump
Don't bump your topic within 24 hours... Remember we're all volunteers here.
Are you using latest GitHub build of SMF 2.1? Or what 2.1 version are you using? Give us some more details...
when i enabled the option force ssl, no can access the forums because it shows too many redirects error. how can i turn of the option in the ftp?
Did you sort the db_last_error issue?
Also you can't, you need to change it in the database.
What version of SMF 2.1 are you using? Is it the latest copy from GitHub?
Quote from: tinoest on January 14, 2017, 02:05:45 PM
Did you sort the db_last_error issue?
Also you can't, you need to change it in the database.
What version of SMF 2.1 are you using? Is it the latest copy from GitHub?
If the option is in the database, which table is it to change the force SSL? I can't seem to find it.
I'm using the most latest version of the 2.1 beta software found in the download page above, didn't download it from github.
Cheers.
You should probably use the version from Github, it's about a year newer and has a lot of bugs fixed.
Thank you, i'll check it out!
btw how would the github version work? It hasn't got an installation file in it. Do i just install it on 2.1?
Did you read the sticky post at the top of this board?
Manage to get it install, of course i've read it. Just wanted to clear it out.
To Others: Just move the files from "other" folder to the root of your smf directory.
Yup... that's what the instructions say to do... :)