Weather by You!
Templates and Projects support => Php templates => Topic started by: tfavors on May 15, 2013, 06:12:00 AM
-
Hello guys, anyone can help how to fix this error, please see attached file. thanks
my website link: http://www.expressincometax.com/weather
error code:
//-- Section RECORDS --
$tempH = '<#tempH>';
$TtempH = '<#TtempH>';
$TtempHF = $pre_time.'<#TtempH format="hh':'nn">'.$pre_date.utf8_encode('<#TtempH format="dd mmmm yyyy">');
$tempL = '<#tempL>';
$TtempL = '<#TtempL>';
$TtempLF = $pre_time.'<#TtempL format="hh':'nn">'.$pre_date.utf8_encode('<#TtempL format="dd mmmm yyyy">');
$mintempH = '<#mintempH>';
$TmintempH = '<#TmintempH>';
$TmintempHF = $pre_time.'<#TmintempH format="hh':'nn">'.$pre_date.utf8_encode('<#TmintempH format="dd mmmm yyyy">');
$maxtempL = '<#maxtempL>';
$TmaxtempL = '<#TmaxtempL>';
$TmaxtempLF = $pre_time.'<#TmaxtempL format="hh':'nn">'.$pre_date.utf8_encode('<#TmaxtempL format="dd mmmm yyyy">');
$apptempH = '<#apptempH>';
$TapptempH = '<#TapptempH>';
$TapptempHF = $pre_time.'<#TapptempH format="hh':'nn">'.$pre_date.utf8_encode('<#TapptempH format="dd mmmm yyyy">');
$apptempL = '<#apptempL>';
$TapptempL = '<#TapptempL>';
$TapptempLF = $pre_time.'<#TapptempL format="hh':'nn">'.$pre_date.utf8_encode('<#TapptempL format="dd mmmm yyyy">');
$HighDailyTempRange = '<#HighDailyTempRange>';
$HighDailyTempRangeD = '<#THighDailyTempRange>';
$HighDailyTempRangeDF = $only_date.utf8_encode('<#THighDailyTempRange format="dd mmmm yyyy">');
$LowDailyTempRange = '<#LowDailyTempRange>';
$LowDailyTempRangeD = '<#TLowDailyTempRange>';
$LowDailyTempRangeDF = $only_date.utf8_encode('<#TLowDailyTempRange format="dd mmmm yyyy">');
$heatindexH = '<#heatindexH>';
$TheatindexH = '<#TheatindexH>';
$TheatindexHF = $pre_time.'<#TheatindexH format="hh':'nn">'.$pre_date.utf8_encode('<#TheatindexH format="dd mmmm yyyy">');
$dewpointH = '<#dewpointH>';
$TdewpointH = '<#TdewpointH>';
$TdewpointHF = $pre_time.utf8_encode('<#TdewpointH format="hh':'nn">'.$pre_date.'<#TdewpointH format="dd mmmm yyyy">');
$dewpointL = '<#dewpointL>';
$TdewpointL = '<#TdewpointL>';
$TdewpointLF = $pre_time.utf8_encode('<#TdewpointL format="hh':'nn">'.$pre_date.'<#TdewpointL format="dd mmmm yyyy">');
$humH = '<#humH>';
$ThumH = '<#ThumH>';
$ThumHF = $pre_time.'<#ThumH format="hh':'nn">'.$pre_date.utf8_encode('<#ThumH format="dd mmmm yyyy">');
$humL = '<#humL>';
$ThumL = '<#ThumL>';
$ThumLF = $pre_time.'<#ThumL format="hh':'nn">'.$pre_date.utf8_encode('<#ThumL format="dd mmmm yyyy">');
$wchillH = '<#wchillH>';
$TwchillH = '<#TwchillH>';
$TwchillHF = $pre_time.'<#TwchillH format="hh':'nn">'.$pre_date.utf8_encode('<#TwchillH format="dd mmmm yyyy">');
$rrateM = '<#rrateM>';
$TrrateM = '<#TrrateM>';
$TrrateMF = $pre_time.'<#TrrateM format="hh':'nn">'.$pre_date.utf8_encode('<#TrrateM format="dd mmmm yyyy">');
$rfallH = '<#rfallH>';
$TrfallH = '<#TrfallH>';
$TrfallHF = $only_date.utf8_encode('<#TrfallH format="dd mmmm yyyy">');
$rfallhH = '<#rfallhH>';
$TrfallhH = '<#TrfallhH>';
$TrfallhHF = $pre_time.'<#TrfallhH format="hh':'nn">'.$pre_date.utf8_encode('<#TrfallhH format="dd mmmm yyyy">');
$rfallmH = '<#rfallmH>';
$TrfallmH = '<#TrfallmH>';
$pressH = '<#pressH>';
$TpressH = '<#TpressH>';
$TpressHF = $pre_time.'<#TpressH format="hh':'nn">'.$pre_date.utf8_encode('<#TpressH format="dd mmmm yyyy">');
$pressL = '<#pressL>';
$TpressL = '<#TpressL>';
$TpressLF = $pre_time.'<#TpressL format="hh':'nn">'.$pre_date.utf8_encode('<#TpressL format="dd mmmm yyyy">');
$gustM = '<#gustM>';
$TgustM = '<#TgustM>';
$TgustMF = $pre_time.'<#TgustM format="hh':'nn">'.$pre_date.utf8_encode('<#TgustM format="dd mmmm yyyy">');
$wspeedH = '<#wspeedH>';
$TwspeedH = '<#TwspeedH>';
$TwspeedHF = $pre_time.'<#TwspeedH format="hh':'nn">'.$pre_date.utf8_encode('<#TwspeedH format="dd mmmm yyyy">');
$windrunH = '<#windrunH>';
$TwindrunH = '<#TwindrunH>';
$TwindrunHF = $only_date.utf8_encode('<#TwindrunH format="dd mmmm yyyy">');
$LongestDryPeriod = '<#LongestDryPeriod>';
$TLongestDryPeriod = '<#TLongestDryPeriod>';
$TLongestDryPeriodF = $to.utf8_encode('<#TLongestDryPeriod format="dd mmmm yyyy">');
$LongestWetPeriod = '<#LongestWetPeriod>';
$TLongestWetPeriod = '<#TLongestWetPeriod>';
$TLongestWetPeriodF = $to.utf8_encode('<#TLongestWetPeriod format="dd mmmm yyyy">');
Godbless!
-
Hi T,
Problem is that the template could not find the data file wt_data_inc.php
That file has to be processed by Cumulus before being sent to your website.
what you have included in you post is the right file, but before processing!
Check Cumulus Configuration step on this link: http://weatherbyyou.com/wb_install.php#install
Hope this help!
Regards,
Jacques
-
thanks, yes i did but the file uploaded is 0 bytes - wt_data_inc.phptmp
also attached is my setup, big thanks
-
Were you able to resolve this issue? I am having a similar problem.
I can upload the file below just fine with FileZilla... not sure why Cumulus is having an issue.
FTP Logs:
13:52:39:060 ! HighLevelAsync 0
13:52:39:060 FTP Command: STOR /public_html/weather/wt_data_inc.phptmp
13:52:39:061 055F8A20 TriggerDataSent 904
13:52:39:108 FTP Response: 553 Can't open that file: No such file or directory
13:52:39:108 >|553 Can't open that file: No such file or directory|
13:52:39:109 055F91E0 TCustomWSocket.Shutdown 1 972
13:52:40:013 Changing directory to /public_html/weather
13:52:40:013 FTP Command: CWD /public_html/weather
13:52:40:013 055F8A20 TriggerDataSent 904
13:52:40:067 FTP Response: 550 Can't change directory to /public_html/weather: No such file or directory
13:52:40:067 >|550 Can't change directory to /public_html/weather: No such file or directory|
-
NVM - the issue above has been resolved :)