WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Install Directory Error

[Resolved] Install Directory Error

  • Unable to create directory /var/www/vhosts/host.com/sites/site.com//var/www/vhosts/host.com/sites/site.com/wp-content/uploads/slp/. Is its parent directory writable by the server?

    This happens when I try and activate the plugin.

    Is this something common to may virtualized installs and such? And what should I ask the host company to change for me in order for this to work?

    Any help is appreciated.

    http://wordpress.org/extend/plugins/store-locator-le/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Store Locator Plus

    @charlestonsw

    You need to turn on the write permissions in that specific directory. Is should be in your “owned” space. Make sure ./wp-content/uploads is writable by your web process.

    The plugin should still work but I’d be surprised if you don’t have other side effects outside of the SLP plugin if new stuff cannot be created/stored there.

    Thank you for the help, I didn’t want to just start changing things, but that did help.

    I got the plugin installed without any more complaints, and I added the code to a blank page, but as soon as that page loads, I get a browser pop up message saying ‘Store Locator Plus Script not loaded properly’

    It doesn’t really give me any direction on where to go next, and I suspect it could be a theme or other related problem like some of the others in the forum.

    Is this something you have seen before?

    Thank you in advance for any insight.

    as a followup, I downloaded Firefox and installed firebug to see what it was saying about the page…

    ReferenceError: slplus is not defined
    [Break On This Error]

    if (slplus.use_sensor) {

    csl.js?ver=3.2.1 (line 1316)

    Tried reading up on sensor and such, but all I get is the Google GPS sensor info, and I am not sure if that is the right path.

    Plugin Author Store Locator Plus

    @charlestonsw

    slplus will always be undefined if you are getting the “Store Locator Plus Script not loaded properly”. There is a self-check built-in to make sure the proper javascript is running an initialized. If not, you get that error message.

    You can try turning Force Load JavaScript off. It should be on by default. However if that is not working I suspect larger issues, possibly with the theme. If a theme does not employ WordPress 3.3+ compliant script management via proper enqueue script calls and proper page footer processing it is going to be ongoing battles to get SLP to work in that environment.

    I suggest trying first with a base theme like Twenty Ten/Eleven/Twelve and see what happens. Sort out any issues there first as those 3 are very well tested. If those themes have problems there is a good chance the PHP configuration and/or server security settings are getting in the way.

    I get a similar error, but the directory structure is different. I noticed that the directory structure the error gives is not correct: The error states that it can’t create /home/content/27/10477527/html/mutualprotective.org/uploads/slp/; however, the file structure of my install should be /home/content/27/10477527/html/mutualprotective.org/wp-content/uploads/slp/

    Why is the wp-content subfolder missing?

    Plugin Author Store Locator Plus

    @charlestonsw

    It is based on what WordPress returns when SLP asks “what is the default WP upload directory”. You may need to check the WordPress install settings.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Install Directory Error’ is closed to new replies.