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

elfinder.min.js 404 when project is in folder #529

Open
enboig opened this issue Jun 26, 2024 · 1 comment
Open

elfinder.min.js 404 when project is in folder #529

enboig opened this issue Jun 26, 2024 · 1 comment

Comments

@enboig
Copy link

enboig commented Jun 26, 2024

I am updating a symfony project from 4.4 to 5.4, using helios-ag/fm-elfinder-bundle 12.5.

My project is in https://dev-server/myproject; ckeditor loads correctly, but when opening popup to choose a file, it tries to load https://dev-server/bundles/fmelfinder/js/elfinder.min.js and should be https://dev-server/**myproject**/bundles/fmelfinder/js/elfinder.min.js.

I updated in config/routes/fm_elfinder.yaml:

#fm_elfinder:
#    resource: "@FMElfinderBundle/Resources/config/routing.yaml"
elfinder:
     resource: "@FMElfinderBundle/Resources/config/routing.yaml"

But it continue failing, and added to config/packages/fm_elfinder.yaml:

fm_elfinder:
    assets_path: '/myproject'

With no luck.

@Qt1Rbt
Copy link

Qt1Rbt commented Oct 22, 2024

Your problem may be related to this comment.
#497 (comment)

I hade the same issue when updating from 12.5 to 12.6 and changed the path to my needs.
I also edited my composer.json auto-scripts to match requested path

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

No branches or pull requests

2 participants