Weather by You!

Templates and Projects support => Php templates => Topic started by: harrisweather on July 28, 2014, 08:08:57 AM

Title: Weatherblues V2 syntax error problem
Post by: harrisweather on July 28, 2014, 08:08:57 AM
I have the following problem when I try to bring up my website, I have made no changes and this happened all of a sudden:

Parse error: syntax error, unexpected T_STRING in /home/harriswe/public_html/wt_data_inc.php on line 486

Can anyone help

Thanks  :o
Title: Re: Weatherblues V2 syntax error problem
Post by: Mr.Meteo on July 28, 2014, 09:04:41 AM
Hi Harris,

You have to "feed" your Template by processing
your Template data files; wt_data_inc.php and wt_months_inc.php

Check your Template instructions (http://weatherbyyou.com/wb_install.php#install) for détails.

Regards,
Jacques
Title: Re: Weatherblues V2 syntax error problem
Post by: harrisweather on July 28, 2014, 04:22:11 PM
Hi,

Doing all that though Cumulus but still no joy?????

Thanks
Title: Re: Weatherblues V2 syntax error problem
Post by: Mr.Meteo on July 29, 2014, 07:37:44 AM
Hi Harris,

In Cumulus, be sure to tick options ftp? and process?

Also, check your path for Remote filename, that is often the tricky part!
(i.e. public_html/wt_data_inc.php or just wt_data_inc.php...or...)

You could check with, your Ftp software, that the data files timestamp changed
according to update time. Look Inside these files to see that the files has been
processed to include weather data.

Regards,
Jacques
Title: Re: Weatherblues V2 syntax error problem
Post by: nocky on August 05, 2014, 06:49:32 PM
Do I need to put the WT Data Inc file into cumulus or just put that string into file name, sorry about simple question
Title: Re: Weatherblues V2 syntax error problem
Post by: nocky on August 06, 2014, 03:44:11 AM
Have tried a few things but can't get it working and I am sure missing something, the index page is here for now
http://margaretriver.margriver.com/weaterb/index.php
my main domain is http://margriver.com/ and the files for this are in the Public_html, my main cumulus files are in a sub domain folder margaretriver and cumulus works fine to that, I now have made another folder weaterb (yes missed the h) so trying to get all working to that folder for now.
I am missing on how to get the wt_data_inc.php file working, I have unticked the inlcude local files and have the path as example, in the other box I have public_html/margaretriver/weaterb/wt_data_inc.php
Any help be appreciated as I would like working before I put up the Davis  :)
Title: Re: Weatherblues V2 syntax error problem
Post by: nocky on August 06, 2014, 06:53:23 PM
OK finally have some action happening http://margaretriver.margriver.com/weaterb/index.php

Title: Re: Weatherblues V2 syntax error problem
Post by: Mr.Meteo on August 08, 2014, 07:00:47 AM
Hi nocky,

Things seems to be well now!  8)

... good job!

Regards,
Jacques
Ps Sorry, I was late on this one!  :-[
Title: Re: Weatherblues V2 syntax error problem
Post by: meteo.thenioux on August 29, 2014, 10:28:02 AM
Parse error: syntax error, unexpected T_STRING in /home/gedfr/meteo/wt_data_inc.php on line 486

exusez mon français
meme probleme
mais en plus cumulus me met maintenant des fichiers pas le bon repertoire !!!
ma configuration
/.
fichier ovh
fichier ovh
gedfr.co ( nom de domaine )
meteo (sous domaine )
 


<--------------
cela fonctionne pas trop mal malgré quelques bugs

comment faire pour changer la google map







--------------------------------------------------------------------------------
Title: Re: Weatherblues V2 syntax error problem
Post by: Mr.Meteo on August 30, 2014, 07:10:42 AM
Bonjour,

Le problème, c'est que les fichiers wt_data_inc.php et wt_month_inc.php
ne sont pas traité par Cumulus. Il faut indiquer à Cumulus ou sont ses fichiers
et ou les envoyer sur le web.

En bref, tous les fichiers et dossiers doivent être sur le site web et seulement
les 2 fichiers de données sur ton Pc.

Cordialement,
Jacques
Title: Re: Weatherblues V2 syntax error problem
Post by: meteo.thenioux on August 30, 2014, 05:16:22 PM
ok bien merci
fait cela fonctionne merci bien
Title: Re: Weatherblues V2 syntax error problem
Post by: meteo.thenioux on September 09, 2014, 05:59:41 PM
 :D
Ben cela ne fonctionne plus !
le plus curieux que meme sur un autre hébergeur rien a faire
Title: Re: Weatherblues V2 syntax error problem
Post by: meteo.thenioux on October 23, 2014, 08:35:32 PM
Bonsoir
apres quelques semaines de bons fonctionnement
curieusement le bug est revenus
ayant rien fait de particulier 
cela est quand penible ce truc
Title: Re: Weatherblues V2 syntax error problem
Post by: Robiiin000 on October 31, 2014, 06:59:25 AM
Hello, can someone help ?
Are using weather_blues_v2_2b, but i'm getting the same errors when trying with weather_blues v2.1

Getting this errors:

wt_data_inc.php   
Parse error: syntax error, unexpected T_STRING in /home/u/u7423976/www/wt_data_inc.php on line 595

wt_data_intl.php   
Parse error: syntax error, unexpected T_STRING in /home/u/u7423976/www/wt_data_intl.php on line 483

Redirecting and settings in cumulus:

Local filenames:
C:\Cumulus\weather_blues_v2_2b\wt_data_inc.ph
Remote Filenames:
www/wt_data_inc.php

Include standard image, YES
Prosess, YES
FTP, YES
UTF-8, YES

If I delete wt_data_inc.php at the FTP share, the homepage are up and running without any data.

Homepage: http://www.lessjorda.com
Title: Re: Weatherblues V2 syntax error problem
Post by: Mr.Meteo on October 31, 2014, 05:35:42 PM
Hi,

This error tell that the file used is not processed.
Sometimes its "tricky" to indicate the right remote location.

Look at the timestamp to see if it change according
to Cumulus update.

Regards,
Jacques
Title: Re: Weatherblues V2 syntax error problem
Post by: Robiiin000 on November 03, 2014, 08:12:54 AM
Thank you!

Where can i find these timestamp's?

The wt_data_inc.php is updating every minute. When we are looking at the FTP share, we can see that the "last modify" date and time are changing. 
Title: Re: Weatherblues V2 syntax error problem
Post by: Robiiin000 on November 20, 2014, 04:48:02 AM
Anyone ?
Title: Re: Weatherblues V2 syntax error problem
Post by: Mr.Meteo on November 29, 2014, 07:39:09 AM
Hi Robin,

"Timestamp" are a way to say "Time stamped on file",
so, date/time seems to change according to Cumulus web updates,
for the file wt_data_inc.php. But your page is always displaying:

Parse error: syntax error, unexpected T_STRING in /home/u/u7423976/www/wt_data_inc.php on line 595

This looks like a file not processed by Cumulus. Check to see that you've
ticked option "process?" for that file... or take a fresh copy of that file
if error persist.

Regards,
Jacques