[SOLVED] Data Folders on Shared server?

Evening all,

This is probably a bit of a daft question but I'm getting the following ERROR: Feed could not be created, undefined when trying to create a feed from my inputs.  I suspect my folders phpfiwa, phpfina and phptimeseries are not located properly or I have not uncommented them properly?

The folder 'data' is located at the same level as 'public_html' ie I cannot go higher, the permissions are set to 777 and this is how the paths look in settings.php look:

        'phpfiwa'=>array(
            'datadir'=>'/data/phpfiwa/'
        ),
        'phpfina'=>array(
            'datadir'=>'/data/phpfina/'
        ),
        'phptimeseries'=>array(
            'datadir'=>'/data/phptimeseries/'
        )

any pointers appreciated.

Thanks.

Paul Reed's picture

Re: [SOLVED] Data Folders on Shared server?

The path may not be correct, as you are assuming that 'data' is the folder above root, which on shared servers may not be.

ie, there may be a directory structure below the data folder.

Paul

robur's picture

Re: [SOLVED] Data Folders on Shared server?

Hi Paul,

Many thanks, at the root '/' I have 3 folders:

public_html

cgi-bin

data // IE created for EmonCMS

Would that be right?

Paul Reed's picture

Re: [SOLVED] Data Folders on Shared server?

robur's picture

Re: [SOLVED] Data Folders on Shared server?

Thanks again - which username would i use in the folder location please?  DataBase, webspace, emoncms?

robur's picture

Re: [SOLVED] Data Folders on Shared server?

PS, my node value is alphanumeric, would that cause a problem?  IE NODE=ABCD12

robur's picture

Re: [SOLVED] Data Folders on Shared server?

Hi, looks like in my case the locations should look like this:

        'phpfiwa'=>array(
            'datadir'=>'/home/sites/domain.co.uk/data/phpfiwa/'
        ),
        'phpfina'=>array(
            'datadir'=>'/home/sites/domain.co.uk/data/phpfina/'
        ),
        'phptimeseries'=>array(
            'datadir'=>'/home/sites/domain.co.uk/data/phptimeseries/'
        )

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.