Coder Social home page Coder Social logo

Comments (7)

snimavat avatar snimavat commented on May 29, 2024

Well, its not the plugin issue. the configuration grails.plugin.elfinder.rootDir is not available when plugin is initialized. and this is causing the exception.

from grails-elfinder-connector.

francescodisciascio avatar francescodisciascio commented on May 29, 2024

Ok. But the question is: is there a way to define rootDir path in external configuration file?because I don't want to leave that configuration into the config.groovy file.

from grails-elfinder-connector.

snimavat avatar snimavat commented on May 29, 2024

Ofcourse, the standard grails way of defining external config would work.Make sure that you have properly configured the external config location.

You may temporarily uninstall the plugin, and in your bootstrap, verify that the external config is available by inspecting grailsApplication.config

from grails-elfinder-connector.

francescodisciascio avatar francescodisciascio commented on May 29, 2024

As you have suggested, I've uninstalled the plugin and added a print of grailsApplication.config in Bootstrap.groovy file.
The print shows the following:
grailsApplication.config = ...config:[location:[file:/home/francesco/docm/medicalOfficeManager-config.groovy]...
I've tried to print grailsApplication.config.grails.plugin.elfinder.rootDir and it prints anything.
I've given 777 permission to both docm folder and configuration file, but nothing changes.
What am I missing?

from grails-elfinder-connector.

snimavat avatar snimavat commented on May 29, 2024

It's a configuration issue, not the plugin issue, you would be better ask it on mailing list.

from grails-elfinder-connector.

francescodisciascio avatar francescodisciascio commented on May 29, 2024

Where is the mailing list?

from grails-elfinder-connector.

snimavat avatar snimavat commented on May 29, 2024

http://grails.org/Mailing+lists

from grails-elfinder-connector.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.