Author Topic: Is There A Debugged Version of Weather Blue v2??  (Read 9637 times)

Offline CaptainCanada

  • New member
  • *
  • Posts: 3
    • Manitowaning Bay Weather
Is There A Debugged Version of Weather Blue v2??
« on: December 14, 2012, 08:57:52 PM »
I ran a debugger on Weather Blue v2 in a couple of PHP editors and they both gave me the following:

Parse error, unexpected ':' in C:\xampp\htdocs\wt_data_inc.php on line 343.

I know nothing about programming in PHP so I have no intention of trying to correct this myself unless someone is able to give me very specific instructions.  Is there a debugged version of Weather Blue v2 available?

Captain Canada

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Is There A Debugged Version of Weather Blue v2??
« Reply #1 on: December 14, 2012, 09:02:30 PM »
Hi Cap,

This error is due to the fact that the file is not processed, I think!
You have to process this ile first!

Regards,
Jacques
Please, consider supporting this site 

Offline eushells

  • New member
  • *
  • Posts: 1
    • Vremea Romania
Re: Is There A Debugged Version of Weather Blue v2??
« Reply #2 on: December 15, 2012, 05:11:42 PM »
Hello!

I get the same error .. that would solve?

Parse error: syntax error, unexpected ':' in /home/backro/domains/back.ro/public_html/vremea/v1/wt_data_inc.php on line 343

Thanks

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Is There A Debugged Version of Weather Blue v2??
« Reply #3 on: December 15, 2012, 07:31:47 PM »
Hi Eu...

Yes, this will solve the problem! That is a little "caprice", as this file contain special words
to be processed by Cumulus and until they will be converted to weather data they will be
considered as errors. Then, these files need to be processed or removed from your website:

wt_data_inc.php and wt_data_intl.php
Choose which file you want to use (regular or international) and delete the other!

Regards,
Jacques
« Last Edit: December 15, 2012, 07:33:25 PM by Mr.Meteo »
Please, consider supporting this site 

Offline CaptainCanada

  • New member
  • *
  • Posts: 3
    • Manitowaning Bay Weather
Re: Is There A Debugged Version of Weather Blue v2??
« Reply #4 on: December 16, 2012, 03:58:55 PM »
Hi Mr.Meteo / Jacques;

I did as you said and processed the files. When I went to "manage.php", the same parse error showed at the bottom of the page and spilled out past the bottom of the page so I still don't have an active webpage. See the attached screenshot.

A related question. In Cumulus under "Local Filenames" you refer to a copy of wr_data_inc.php. Where does that file come from. The name does not match any of the files in the template download and there is no reference where that file comes from in the instructions. Is that a typo and am I supposed to place a copy of wt_data_inc.php in c:\Cumulus\web directory.

The website is: stonyshoresweather.servebeer.com

Looking forward to moving forward on this.

Thanks in advance,

Captain Canada

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Is There A Debugged Version of Weather Blue v2??
« Reply #5 on: December 17, 2012, 06:16:59 PM »
Hi Cap,

Sorry, right filename is wt_data_inc.php (my finger slipped on letter "r") As I see in your manage page, wt_data_inc.php AND wt_data_intl.php are not processed... or you don't click on "ftp?",

By the way, the easiest way to verify this is to check inside the file, if you see lines like that (with <#...> ) file is not sent!

Unprocessed file look like this: $forecast='<#forecast>';

Processed line should looklike this: $forecast='Sky will fall on your head!!'; :))

But I don't know how your working, I see message about C:\XAMPP... Then maybe a way to specify your localhost folder?

Hope this help!

Regards, Jacques
Please, consider supporting this site 

Offline CaptainCanada

  • New member
  • *
  • Posts: 3
    • Manitowaning Bay Weather
Re: Is There A Debugged Version of Weather Blue v2??
« Reply #6 on: December 18, 2012, 07:53:06 PM »
Hi Jacques;

There seems to be some issue with the php template that is causing an ftp error at my server. I have to open some ports, or change an IP address or something else.

I have re-established my previous html webpages with no problem but for some reason Cumulus is not able to send the data to the php webpages without generating an ftp error during the upload. I have decided to start up another server and play with the weather blue v2 template on it so when I get the bugs out of it I will put it online and shutdown my existing server with the html webpages on it.

My setup is pretty complicated because the weather computer sends the data wireless to a linksys router which sends the data by wire to a dlink router and then out to No-IP and back through my dlink router and by wire to the server in my basement. Cumulus is able to navigate this route with no problem when updating its html pages but I will figure it out for php on the second server without shutting down my website for an extended period.

Thanks for your help, et Joyeux Noël!

Captain Canada

Offline Trafcon

  • New member
  • *
  • Posts: 2
    • Helvetia Weather
Re: Is There A Debugged Version of Weather Blue v2??
« Reply #7 on: January 10, 2013, 12:29:53 PM »
Jacques,

I too have little experience with web publishing and get the similar error message.  Questions:
1)  Do I put the wt_data_inc.php and the wt_month_inc_php files both on the root of my website and in my C:\Cumulus directory
2)  Which files from the template do I copy to my C:\Cumulus directory ?  All of them?
3)  Where in my C:\ Cumulus directory do I place the wt_data_inc.php and the wt_month_inc_php files ?  Do I put them at the root or in the web folder?

Sorry for all the questions.  Like I said, I am Web Publishing dumb.  :'(

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Is There A Debugged Version of Weather Blue v2??
« Reply #8 on: January 10, 2013, 07:14:27 PM »
Hi Trafcon,

Weather Blues v2 is a one file process! The only file you have to use is wt_data_inc.php
wt_months_inc.php have to be processed only as a part of Cumulus v1.9.3 month patch module
All other files and folders have simply to be copied on your site, with your ftp software.

You could keep wt_data_inc.php file at any place in your Pc, but have to be uploaded to
your root weather folder (same place as index.php and other files).

Hope this help!

Cheers,
Jacques
Please, consider supporting this site