Weather by You!
Templates and Projects support => Php templates => Topic started by: [David] on April 06, 2015, 01:39:15 AM
-
Hi there guys, after 945 days of records, yesterday (without any sign) I just checked my own weather website and DAMN I found a syntax error on a line inside wt_data_inc.php :(
Once I got back home I realized Cumulus seems to send in FTP a file inconplete ...Not written in full so my website gives me that php issue. I checked it this morning and there's a new file in Cumulus's folder called wt_data_inc.phptmp which is updated each five mins I guess. I don't know what the hell is going on and why the f**k it happened without any reason!!! I cannot seem to fix that problem pleaee help me :(
-
Hi David,
I've checked your site and seen a message: Error in line 77.
You could first check the processed wt_data_inc.php file to see
what was processed on line 77. Then, take back a fresh copy of
wt_data_inc.php file from original archive to replace defect one
in your C:\Cumulus\web folder.
For file wt_data_inc.phptmp, it is a "temporary" file created by Cumulus
before sending to the web site.
Regards,
Jacques
-
Thank you so much Mr.Meteo :-* I just notice my wt_data_inc.php was stuck into once written at 08:00am today and, even if it was uploaded 'till now to the server, it was always stuck there so people displayed weather status at that time.
Now I delete this file and re-downloaded a new wt_data_inc.php from Library and I put it into Cumulus folder...Let's see what happening :o I hope it will be written as well as before :(
UPDATE : Checked!!!! Syntax ERROR AGAIN!!!! and I really don't know why and how
UPDATE 2: String error was the link to the Webcam. I removed it from Cumulus internet Setup and let's see what happen ;)
UPDATE 3: NO WAY, even if I fixed the syntax error it still create a *.phptmp file without rewriting the original .php file ...
-
Hi David,
Since your site was working for quite a few time without problem,
check what is different from that time... Have you updated Cumulus
(newest build need UTF-8 ticked now) or your host has been modified.
Regards,
Jacques
-
That's the problem! It hasn't changed anything, Cumulus can't just process wt_data_inc in a correct way. It doesn't compile whole tags or generate an issue dunno...Should I upgrade my software now? And what about history data?
IMPORTANT UPDATE I don't want to scream victory yet BUT, I did these steps : Closed Cumulus and checked cumulus.ini wich wasn't correct written in wt_data_inc settings (for example Process 0=0 - I did 1=1), given to my new wt_data_inc.php all permissions even from my own user...Restarted Cumulus and bingo, now it "seems" working, I'll continue to check it and update you ;) Thanks you a lot I hope it could help someone who'll face my same issues :-*