
mschott
(usa Debian)
Enviado em 01/11/2011 - 16:26h
Pessoal não consigo fazer upload de arquivos no meu servidor apache, está dando o seguinte erro:
[Tue Nov 01 16:16:36 2011] [error] [client 192.168.0.2] PHP Warning: date(): 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 'America/Noronha' for 'FNT/-2.0/no DST' instead in /srv/www/htdocs/intranet/principal.php on line 24, referer:
http://189.8.141.4:8380/intranet/default.php
[Tue Nov 01 16:16:51 2011] [error] [client 192.168.0.2] PHP Parse error: syntax error, unexpected T_VARIABLE in /srv/www/htdocs/intranet/cad/enviacaddoc.php on line 11, referer:
http://189.4.141.8:8380/intranet/default.php
Já troquei o timezone pra São Paulo, dei permissão para as pastas e nada.
Segue abaixo a linha 11 do arquivo /srv/www/htdocs/intranet/cad/enviacaddoc.php:
$arquivo = strtr(mb_strtolower$_FILES['arquivo']['name']),$modif);
Se alguém puder dar um help ai eu agradeço!!