Hi!
First question is about security. I was able to install ftt2 thanks to the command CHMOD - R 777 ftt2. So the whole folder tree got accessible for everyone to read and write now. Does that also give smart asses easy (or easier) access to my settings and MySQL databases? I also have chosen for the 'Directly' update methode of the script now that all files and folders aren set to chmod 777. Do I need to make some files harder to access to ake ftt2 more secure? If yes, which ones and what chmod settings should I use?
Second. When I start up ftt2 and login, I get this error message:
A PHP Error was encountered
Severity: Warning
Message: mktime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Moscow' for 'MSK/3.0/no DST' instead
Filename: libraries/Session.php
Line Number: 616
I have located the line in the script that gives the error. It now says:
$time = mktime(gmdate("H", $now), gmdate("i", $now), gmdate("s", $now), gmdate("m", $now), gmdate("d", $now), gmdate("Y", $now));
but since I am not a php coder, I wonder what I have to put instead so that this error won't appear again.
Steven
|