Templates and Projects support > Php templates

Weather sunset: Parse error: syntax error, unexpected 'h' (T_STRING) ...

(1/1)

Giggino:
I uploaded the Weather sunset template but when I go to open my web page I have this error:
Parse error: syntax error, unexpected 'h' (T_STRING) in /membri/lastazionedelporto/wt_data_inc.php on line 486
Can someone help me understand the problem? Many thanks!

Andy9164:
Hi Giggino,
I will try and help you out if I can.

First question, which version of Cumulus are you using.

Andy

Andy9164:
Hi,
I had a search in the forum as I had done some work on a similar issue before. This was related to when using Cumulus MX with Weather Blues template but I think you may run into similar issues with Weather Sunset template whem using Cumulus MX.

http://weatherbyyou.com/forum/index.php?topic=2658.msg5966#msg5966

If you search for parse in the php template forum you will find more information.

If you need more help just shout.

Andy

Andy9164:
I also need to take a step back here as I did some more testing today.

If the wt_data_inc file is not being processed by Cumulus it also brings the same error.

So firstly, make sure the following files are being processed in Cumulus by copying them across to your main Cumulus directory and then:

For Cumulus 1.9.x version go to Configuration --> Internet and click on the Files tab and add the entries like so (just an example)
Local Filename: C:\Cumulus\wt_data_inc.php
Remote Filename: public/website/weather/wt_data_inc.php
Make sure the "Process" and the "FTP" buttons are checked.

The same will apply if you are using Cumulus MX except the settings are found under the "Settings" --> Extra Web Files menu.

Files that need processing are wt_data_inc.php and wt_month_inc.php

Let me know how you get on. As I say you may need other changes if you are using CumulusMX.

Andy

Navigation

[0] Message Index

Go to full version