Page 1 of 1

Upload dati Custom File

Posted: Mon Sep 14, 2020 7:02 pm
by paguerra
Ciao a tutti.

Non riesco a far vedere i dati al tenplate. Il file realtime.txt viene correttamente caricato nella cartella /template/update ma quando eseguo "Show field numbers" mi ritorna questo:

Loading file...
Loading CSV/text file from http://www.ilmeteopaolo.altervista.org/ ... altime.txt
File loaded successfully.
Starting to parse data....
Loaded data:
Field Number Value
0

Se eseguo "Test Custom" esce questo:

Update Test
Update type tested: Custom file
Loading custom text file from http://www.ilmeteopaolo.altervista.org/ ... altime.txt...
Unable to load conditions from the path specified. Make sure the file has 'read' permissions and also check the URL directly from the browser. If you cannot get this to work you will need to use alternative URL - use relative path if you specified URL or use URL if you tried relative path. If even this does not help, contact me (Jachym).


Qualcuno mi aiuta?

Re: Upload dati Custom File

Posted: Tue Sep 15, 2020 12:23 pm
by Jachym
Hi,

try using a relative path

eg:

../../realtime.txt

Depending on the relative path to your file from the update.php.