I have the same problem as many people... I am able to send data, but I can't create Feeds.
All folders are already 777 mode and error message persist. I did try all I did read in this Forum, without success.
"ERROR: Feed could not be created, undefined"
Input Data:
Node: Key Name Process list last updated value
0 1 CT1 8 hours ago 25.0
0 2 CT2 8 hours ago 0.00
0 3 CT3 8 hours ago 0.00
0 4 CT4 8 hours ago 0.00
Folders access:
drwxrwxrwx 7 minitv staff 238 Sep 28 22:16 emoncms
cd emoncms/
drwxrwxrwx 2 root everyone 68 Sep 28 22:13 phpfina
drwxrwxrwx 2 root everyone 68 Sep 28 22:13 phpfiwa
drwxrwxrwx 2 root everyone 68 Sep 28 22:13 phptimeseries
drwxrwxrwx 2 root everyone 68 Sep 28 22:16 phptimestore
Settings.php:
'phpfiwa'=>array(
'datadir'=>'/Users/minitv/Documents/emoncms/phpfiwa/'
),
'phpfina'=>array(
'datadir'=>'/Users/minitv/Documents/emoncms/phpfina/'
),
'phptimeseries'=>array(
'datadir'=>'/Users/minitv/Documents/emoncms/phptimeseries/'
),
'phptimestore'=>array(
'datadir'=>'/Users/minitv/Documents/emoncms/phptimestore/'
)
When I click to ADD a new Feed, my Apache access_log has:
[19/Dec/2014:12:03:43 -0200] "GET /emoncms/feed/create.json?name=CT1&datatype=1&engine=6&options={%22interval%22:%2210%22} HTTP/1.1" 200 421
What could be happening? Thanx!!
------------------
It was necessary to modify dir variable to be the same as settings.php, at the top of files /Modules/feed/engine/...
... PHPFINA.php
... PHPFIWA.php
... PHPTimeSeries.php
... PHPTimestore.php
Now it works fine!
Re: ERROR: Feed could not be created, undefined [SOLVED]
Hello allmac, is your OS windows?
the format for the datadir is a little different, see here: https://github.com/emoncms/emoncms/blob/master/docs/WindowsInstall.md
'phpfiwa'=>array(
'datadir'=>"C:\\Users\\minitv\\emoncms\\phpfiwa\\"
),
'phpfina'=>array(
'datadir'=>"C:\\Users\\minitv\\emoncms\\phpfina\\"
),
'phptimeseries'=>array(
'datadir'=>"C:\\Users\\minitv\\emoncms\\phptimeseries\\"
),
'phptimestore'=>array(
'datadir'=>"C:\\Users\\minitv\\emoncms\\phptimestore\\"
),
Re: ERROR: Feed could not be created, undefined [SOLVED]
Hello Trystan,
It is OS X (Yosemite)... UNIX. Configuration is Linux like, or should be.