ERROR after FTP setting

Here you don't need to be afraid to ask

ERROR after FTP setting

Postby noaptus » Fri Jul 30, 2010 5:45 pm

Hi.

I get this after putting inn FTP details.

I am using CentOS 5.5
PHP v 5.2.12
Apache 2

Runtime notice: include() [function.include]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'UTC' for 'GMT/0.0/no DST' instead in /home/pcvalehf/pcval.is/system/config/localconfig.php on line 33

#0 /home/pcvalehf/pcval.is/system/libraries/Config.php(92): __error(2048, 'include() [__construct()
#3 /home/pcvalehf/pcval.is/system/initialize.php(74): Config::getInstance()
#4 /home/pcvalehf/pcval.is/contao/install.php(36): require_once('/home/pcvalehf/...')
#5 {main}


Parse error: syntax error, unexpected T_STRING in /home/pcvalehf/pcval.is/system/config/localconfig.php on line 33




And i deed look into localconfig.php line 33 and there is no date.timezone and my system is set to Atlantic/Reykjavik.

her is my localconfig.php

Code: Select all
### INSTALL SCRIPT START ###
$GLOBALS['TL_CONFIG']['websitePath'] = ';
$GLOBALS['TL_CONFIG']['useFTP'] = true;
$GLOBALS['TL_CONFIG']['ftpHost'] = 'pcval.is';
$GLOBALS['TL_CONFIG']['ftpPath'] = '/';
$GLOBALS['TL_CONFIG']['ftpUser'] = 'REMOVED';
$GLOBALS['TL_CONFIG']['ftpPass'] = 'REMOVED';
$GLOBALS['TL_CONFIG']['ftpSSL'] = 1;
$GLOBALS['TL_CONFIG']['ftpPort'] = 21;
### INSTALL SCRIPT STOP ###

?>

i want this system to be installed on my web host. Been trying for no 5 days.

i downloaded contao 2.9.0

Anny help please.

Regards

Bragi
noaptus
User
 
Posts: 1
Joined: Fri Jul 30, 2010 5:34 pm

Re: ERROR after FTP setting

Postby ramjet » Sat Jul 31, 2010 6:34 am

Code: Select all
$GLOBALS['TL_CONFIG']['websitePath'] = ';
is your "unexpected T_STRING".....this usually means a missing string terminator... should be
Code: Select all
='';
...
don't know why sorry
ramjet
User
 
Posts: 533
Joined: Sat Jun 20, 2009 12:24 pm


Return to Newbie forum

Who is online

Users browsing this forum: No registered users