Page 1 of 1

indoorData Plugin - Import, Help or Suggestions

Posted: Mon Mar 19, 2018 4:09 pm
by LOBWX
Hello All,

Today I am working on importing data I have for (Date Time, TIN, HIN) into the "indoor" db table for the indoorData plugin.
All the data is in the 5-minute intervals as mentioned in the instructions.

Using the Indoor Data-Setup in the middle section of this page is where you can import the data (CSV/textfile setup). Upon pushing the Test File button I am returned with:

Code: Select all

Loading CSV/text file from https://lobwx.com/template/install/extraData.csv

Cannot find the file specified. Check it has the right permissions and double check the path. If you are using URL try using relative path or vice versa.
I know for sure, that the path is good and the permissions are correct.

This plugin "indoorData" is working. I just need to add the extra two months of data to the indoor table. 20,000+ entries :(

~Bob~

Re: indoorData Plugin - Import, Help or Suggestions

Posted: Wed Mar 21, 2018 7:29 pm
by Jachym
Hi,
some servers dont like absolute paths, try using a relative one.

I.e.

for directory up use

../

if the data file is in the same folder as the import script just use extraData.csv

Re: indoorData Plugin - Import, Help or Suggestions

Posted: Thu Mar 22, 2018 1:14 am
by LOBWX
Thank you Sir.

Importing CSV/text file...
Loading CSV/text file from ../../install/extraData.csv
Import finished, successfully imported 21656 records.

Had to put " " around "Y-m-d H:i:s" :D