Weather by You!
Templates and Projects support => Php templates => Topic started by: giosi on July 09, 2013, 08:08:26 AM
-
Hi guys.
I have just installed WB2 template to www.meteobitetto.it
I have two problems:
- in TMM I see "wt_data_intl.php
Parse error: syntax error, unexpected T_STRING in /home/mhd-01/www.meteobitetto.it/htdocs/wt_data_intl.php on line 342" error. You can see it to www.meteobitetto.it/manage; "adminpass" is the password
- when I try to update eg italian translation file, get the error "Remote file:not found".
Attention: I have not yet installed the weather station, I am just preparing the web site.
Could you help me ?
Thanks a lot
-
Hi giosi,
That is normal that all new files like wt_data_intl.php (and other data files wt_*_inc.php)
cause problem in Template Manager Module, because these files are non-processed files.
Then, Php see "weird words" in that file, so (false) error happen!
This is the TMM v1.0... an update will soon solve this problem, with better handling
of "local" and "remote" files. For your language files update, try to update template
files, before doing language updates.
I'm at work for now (Its noon here), tonight I'll try to take time to double check my update
installations to be sure that all is ok!
Regards,
Jacques
-
Hello...............Just seen this topic after looking for help with WAMP and XAMPP. Both these local servers work ok, but will not display my site. They both return the error message
Parse Error:syntax error, unexpected ':' In *****\wt_data_inc.php on line 343
This is the same message as appears in manage.php on the live site. I installed XAMPP really just to check any minor changes I made, and save having to upload to check. Its not a major problem, really just trying to understand why this may be happening. The templates themselves are excellent.
Thanks..........Geoff
http://www.gw3atz.co.uk/shotton_weather/
-
Hi Geoff,
This is a common reported situation, as these data files (wt_...php)
exist on 2 status: unprocessed and processed (by Cumulus) to replace
its own "special words" (webtags) with real weather data.
Then, in unprocessed state, files contains webtags considered
as an errror by Php (don't know what to do with words like <#Temp>).
So, on your site, remove unwanted data file (ie. wt_data_intl.php).
A "cue" when working wit AMP, I've take a copy of processed files to work with.
That way, I could edit the data to "trigger" situation I want.
Hope you a lot of fun with your new Template! :D
Regards,
Jacques
-
Hello Jacques...................Thanks for the reply. Removed the file as you suggested. This enabled index.php to load in wampserver, but with lots of error messages. It is not a major problem, as I have my/your templates as I want them.
Many thanks for your time and effort with your templates.
Cheers.............Geoff
-
Hi again.................After forcing my elderly brain into proper action, I now have WAMPServer working correctly on my php templates. As suggested I downloaded wt_data_inc from my online server, and used that. Sorry for being slow to understand your first message.
Thanks Jacques.
Geoff
-
Hi Geoff,
.... no problem! 8)
I'm French, so I'm not always clear as I want to be! :)
Regards,
Jacques