Page 1 of 1

everything works again (except the statuses).

Posted: Mon 01 Apr 2024 4:08 pm
by PaulMy
Hi Martial,
Bonjour Paul
J'ai récupéré ma machine avec cumulus a jour!!!
tout remarche (sauf les status).
Joyeuses Pâques.
Martial

good-morning Paul
I got my machine back with cumulus up to date!!!
everything works again (except the statuses).
Happy Easter.
Martial
Moving this to this new thread in this Saratoga template forum viewtopic.php?t=22041

Good progress, https://vieuxboucau.info/index.php
but looks like you have not up loaded the CU-plugin\CUmx folder and content, and also not uploading the processed \CU-plugin\CUtagsT.php to your website as CUtags.php. Your remote CUtags.php is dated 24/09/22 and has data from 11/27/2011 which I believe is the template sample data.

Code: Select all

// allow viewing of generated source
if (isset($_REQUEST["sce"]) and strtolower($_REQUEST["sce"]) == "view" ) {
//--self downloader --
   $filenameReal = __FILE__;
   $download_size = filesize($filenameReal);
   header("Pragma: public");
   header("Cache-Control: private");
   header("Cache-Control: no-cache, must-revalidate");
   header("Content-type: text/plain");
   header("Accept-Ranges: bytes");
   header("Content-Length: $download_size");
   header("Connection: close");
   
   readfile($filenameReal);
   exit;
}
$WXsoftware = 'CU';  
$defsFile = 'CU-defs.php';  // filename with $varnames = $WX['CU-varnames']; equivalents
 
$rawdatalines = <<<END_OF_RAW_DATA_LINES
date|1/27/2011|// The current date:|:
time|09:15 on 27 January 2011|// The current time and date. Example result: 18:30 on 30 December 2009.  If you simply wish the time, use a combination of the day, month, year tags (below):|:
timehhmmss|09:15:46|// The current time. Example format: 18:30:27:|:
day|27|// The current day as a 2-digit number. Example format: 14:|:
dayname|Thursday|// The current day as a word.  For example, Monday:|:
shortdayname|Thu|// The current day as a shortened word. Example format: Mon:|:
month|01|// The current month as a 2-digit number. Example format: 05:|:
monthname|January|// The current month as a word. Example format: August:|:
shortmonthname|Jan|// The current month as a shortened word. Example format: Aug:|:
Also many of your site scripts need updating as shown here https://vieuxboucau.info/wxstatus.php
I suggest you click on the link shown at the bottom to get all the needed updated scripts. Then follow the Readme to make edits as needed, and upload all the new scripts to your website.

Then add the CUtagsT.php file to your CumulusMX Extra web files tab for processing and uploading to your site as CUtags.php.

Re your index2.php https://vieuxboucau.info/index2.php it shows the correct date but I can't tell if it is updating correctly.

Enjoy,
Paul