Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create file directory #74

Closed
rheman opened this issue Jul 1, 2018 · 6 comments
Closed

Unable to create file directory #74

rheman opened this issue Jul 1, 2018 · 6 comments

Comments

@rheman
Copy link

rheman commented Jul 1, 2018

Hi I am using the lastest release of your plugin (3.0). In setting page I allowed Use folder structure.
But my users are not able to create "file folder".
When they click on "file folder" button nothing is done.
I when I check my apache log. nothing is mentioned in my log.
I dont know what i did wrong.

Best regard.

@jeabakker
Copy link
Member

Do you have any javascript errors on the page?

@rheman
Copy link
Author

rheman commented Jul 3, 2018

yes I have he following javascript error when I click on "New file Folder" Button

Error: Script error for "jstree/jstree.min", needed by: file_tools/tree
http://requirejs.org/docs/errors.html#scripterror
require.js:17:53
Error: Script error for "jquery.serializejson", needed by: file_tools/site
http://requirejs.org/docs/errors.html#scripterror

Best regard

@jeabakker
Copy link
Member

How did you install file_tools?

  • download from the community
  • download from github
  • download from Github releases
  • git checkout
  • composer install

Since you're missing the required javascript libs (i think) you got a wrong release. I checked our automated zip-builder failed for v3.0.

If you have command line access and composer installed, go to the file_tools mod folder and run composer install

@rheman
Copy link
Author

rheman commented Jul 3, 2018

Thanks a lot

@reimerd
Copy link

reimerd commented Sep 7, 2018

GO TO FINAL UPDATE AT END OF POST!


I'm getting this same problem, having installed file_tools from the plugin's page on the Elgg.org site.

I'll try deactivating that version, and downloading the ZIP from github (here). Hope that one works, as this feature is one I'm anxious to include in our Elgg site.

Would it be worth updating the download on the Elgg plugin page? (Or am I missing something - quite possible!)

Update 1 - nope. I replaced the Elgg/plugin download with the 3.0 release from github. Got the spinner icon, and saw the "Add folder" button in the sidebar, but the "Add folder" button did nothing, and after trying to upload a small test.txt file, the spinner didn't change, either - just kept spinning.

Is using "composer" the only safe way to install this plugin?

Update 2 - so we got Composer installed, and I ran it ... and something happened!

screenshot

But, sadly, there is no change in behaviour. I think that's me out of ideas. Hopefully there is a fix!

Update 3 - SO THERE IS A FIX! After watching an Elgg development video on Youtube, I thought it would be a good idea to flush the site Cache in Elgg's admin. So I did. And the plugin is now working. It was, in the end, so simple. I'll update my various other posts about this.

@jeabakker
Copy link
Member

closing this as it seems caching/installation related, not a bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants