Author Topic: Some problems with WB2  (Read 9430 times)

Offline giosi

  • Jr. Member
  • **
  • Posts: 10
    • www.meteobitetto.it
Some problems with WB2
« 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

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Some problems with WB2
« Reply #1 on: July 09, 2013, 11:32:31 AM »
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
« Last Edit: July 09, 2013, 11:35:13 AM by Mr.Meteo »
Please, consider supporting this site 

Offline Geoff Morris

  • Jr. Member
  • **
  • Posts: 14
    • Shotton Weather
Re: Some problems with WB2
« Reply #2 on: July 24, 2013, 06:00:55 AM »
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/

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Some problems with WB2
« Reply #3 on: July 25, 2013, 07:55:03 AM »
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
Please, consider supporting this site 

Offline Geoff Morris

  • Jr. Member
  • **
  • Posts: 14
    • Shotton Weather
Re: Some problems with WB2
« Reply #4 on: July 26, 2013, 07:42:39 AM »
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

Offline Geoff Morris

  • Jr. Member
  • **
  • Posts: 14
    • Shotton Weather
Re: Some problems with WB2
« Reply #5 on: July 27, 2013, 10:52:56 AM »
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

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Some problems with WB2
« Reply #6 on: July 27, 2013, 12:01:41 PM »
Hi Geoff,
.... no problem! 8)
I'm French, so I'm not always clear as I want to be! :)

Regards,
Jacques
Please, consider supporting this site