GeoDirectory does not have access to your filesystem

This topic contains 6 replies, has 4 voices, and was last updated by  Paolo 9 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #42096

    stephanie
    Expired Member
    Post count: 6

    Since updating to GD 1.4.8 I keep getting the message “GeoDirectory does not have access to your filesystem, thing like import/export will not work. Please define your details in wp-config.php as explained here http://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants

    This appears on the Plugins page and in the mini-directory on the GD map. The map doesn’t load but hangs with a spinning loading icon.

    Exactly what access does GD need to my filesystem? The sentence “Define your details…” above is completely unhelpful. I’ve granted rwxrwxrwx access to all of wp-content, which is about as accessible as it can get.

    #42146

    Guust
    Moderator
    Post count: 29970

    You should get some useful info here:
    https://wpgeodirectory.com/support/topic/1-4-8/

    Let us know it that worked for you.

    #42410

    stephanie
    Expired Member
    Post count: 6

    Thanks, Guust. Setting FS_MODE to ‘direct’ allows the map to load, but it also removes the requirement for an FTP ID and password when updating, which I want. I still don’t know what part of my filesystem geodirectory requires access to. If it wants access outside my WP site directory, that ain’t happening.

    Why does leaving FS_MODE at its WP default suddenly prevent the map from loading? This all worked fine before the last update to GD.

    #42467

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Stephanie,

    GD needs access to the file system so it can read and write .csv files for the import/export functions, this is relatively new system we added hence it was ok before. I have stopped the check running on ajax calls and that will be on the next version.

    You should try and work with the system, if you want to remove the warning completely you can add this line to your child theme functions file but i don’t recommend it.

    remove_action('admin_init', 'geodir_filesystem_notice');

    Thanks,

    Stiofan

    #43733

    Paolo
    Site Admin
    Post count: 31206
    #44416

    stephanie
    Expired Member
    Post count: 6

    Hmm. I’m now at version 1.4.9 and Geodirectory still complains about not having access to my filesystem.

    I need to know EXACTLY WHICH DIRECTORIES Geodirectory requires access to, and what permissions it needs. The tutorial is very nice but it simply reiterates the WordPress instructions, which don’t work for me.

    Where is Geodirectory wanting to write its .csv files? I’m willing to permit that directory appropriately, but I cannot open up my entire filesystem.

    #44490

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    I only have 1 server that I work with (out of 5) that was giving me this problem and I simply added this to my wp-config.php file:

    
    
    
    define( 'FS_METHOD', 'ftpsockets' );
    define( 'FTP_BASE', '/nfs/c09/h01/mnt/130135/domains/dropct.com/html/enfold' );
    define( 'FTP_CONTENT_DIR', '/nfs/c09/h01/mnt/130135/domains/dropct.com/html/enfold/wp-content/' );
    define( 'FTP_PLUGIN_DIR ', '/nfs/c09/h01/mnt/130135/domains/dropct.com/html/enfold/wp-content/plugins/' );
    define( 'FTP_USER', 'myusername' );
    define( 'FTP_PASS', 'mypassword' );

    You are not opening up the entire file system, you are just telling wordpress precisely where it is what.

    If you provide the url, admin and ftp credentials I’ll be glad to have a look at it for you.

    Thanks

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount