Weather by You!
Templates and Projects support => Php templates => Topic started by: Mspec on June 06, 2012, 09:46:25 AM
-
First off great job on the new template looks great. Just a couple of errors I have come across you may like to fix up in the download.
in the file wt_data.inc.php there are these to references.
$LongestDryPeriodRecordSet = '0 ';
$LongestWetPeriodRecordSet = '0 ';The space after the 0 results in missing images on the system.php page.
Also on the system.php page if there is a comms error it does not show a red light as it references a file style/light_red.png which is not included in the download.
Very minor items but if the person had limited experience in code they would not know how to fix.
As I said though fantastic job keep it up.
-
Hi Mpsee,
Thanks to take time to give me feedback! ;D
Since it's a new project (Beta) mistakes are possible! ::)
Also on the system.php page if there is a comms error it does not show a red light as it references a file style/light_red.png which is not included in the download.
Very minor items but if the person had limited experience in code they would not know how to fix.
This problem is probably due to space in webtag results you've hilighted.
Alarms and errors have a status of "0" if no problem and "1" otherwise
That's why all lights are named "led_red0.png" - "led_red1.png" all over.
Again thanks for your kindness for reporting mistakes
Don't hesitate to report anything that you found 8)
Best regards,
Jacques
Archive has been updated in download section
-
Hi Jaques
Many thanks for your work. It is very much appreciated. I am trying to install this template and am getting the following parse error.
[16-Sep-2012 11:32:10 UTC] PHP Parse error: syntax error, unexpected '<' in /home/jules382/public_html/Weather/wt_data_inc.php on line 540
[16-Sep-2012 11:53:03 UTC] PHP Parse error: syntax error, unexpected '<' in /home/jules382/public_html/Weather/wt_data_inc.php on line 540
As a newbie this is hard for me to understand.
Can you help?
Many thanks
-
Hi Jules,
Have Cumulus processed your wt_data_inc.php file
as shown on instruction page? (see: http://weatherbyyou.com/wb_install.php)
Could you indicate which template you are using?
Jacques
-
Hi Jacques,
Thank you for the fast reply :-) I have followed the instructions and put the 2 lines into Cumulus/Config/Internet/Files to tell it
to process the template. I am using the Weather Sky v2 template. The url I am using is www.morvena.com/weather and I am
now getting some data but there are many things wrong. It is getting more confusing.
Thanks agina for your help.
Jules
-
Hi Jules,
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent
This message mean that you probably have modified page to add something in the real begin
of the page, then session management couldn't work.
If you want to add something in top of page, you have to locate <body> tag and insert your lines just after it.
Regards,
Jacques
Ps You're using Weather Blues v2 template (Weather Sky v2 doesn't exist)