-
Notifications
You must be signed in to change notification settings - Fork 96
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
CSS and JS not found (404) #85
Comments
It seems as if you didn't follow the installations instructions https://github.com/paginagmbh/redmine_lightbox2 and didn't run the "migration":
This task copies the CSS and JS assets from the plugin directory to the public directory. |
I did run the migration. Do I need to run just Edit: If the migration task just copies the files, would I be able to copy them manually? |
Where did you run the commands? What's the output?
I've never run this with Docker. Depending on your setup and where you run the rake task, make sure the
Sure. The content of the |
Thanks for your response. I'll update you tomorrow when I'll get back to work. |
I manually copied the assets folder and now both the CSS and the JS are correctly loaded without any errors. Now, the plugin does work correctly on the attachments of every note. Should it work also on the issue attachments? Looking at the attachment URL, I can see it is still the default one, without the changes the plugin should apply (both on the attachment link and in the attachment preview). Here is what I mean: Is this the correct beheavior? By the way, since you asked: the only output I get from the migration command is the following:
It's the same with both |
Hello,
I've installed this plugin (version 0.5.1) on Redmine 4.0.4. When I open an issue page, the console shows the following 404 errors:
And of course, the plugin doesn't work. Any idea on why this happens?
Thanks for any help.
The text was updated successfully, but these errors were encountered: