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

Issue with Design and Forms #71

Open
strausmann opened this issue Jan 12, 2018 · 5 comments
Open

Issue with Design and Forms #71

strausmann opened this issue Jan 12, 2018 · 5 comments

Comments

@strausmann
Copy link

Hello,

i used the version 3.1.2 and will now upgrade to 3.2.0 but i have some issues with the new release.
currently i have a issue with the design and all input forms.

image

The Input forms does not working. I can not create a new repository or package.

Regards,

Bjoern

@strausmann
Copy link
Author

image

@tyler-sommer
Copy link
Member

tyler-sommer commented Jan 16, 2018

Were you able to get this issue worked out? It looks like jQuery was not able to load (it is currently served by a CDN, but this shouldn't be the case #76). Does your webserver have a Content Security Policy forbidding the loading of external resources?

I'll leave this issue open pending your response.

Thanks for the bug report!

@strausmann
Copy link
Author

we doesn't use a content security policy to filter CDN content. i look in to the source code and find a locale reference to jquery. see line 13.

image

My Webserver root folder is set to the web folder inside the packages folder. the vendor folder is not accessable over the internet. is this the problem ?^

thank you

@tyler-sommer
Copy link
Member

Thanks for the update @strausmann.

The files in question are symbolic links to files that exist in the vendor directory. Are you running Packages on Windows? Or maybe your webserver is not honoring the symlink since its outside document root. Cursory googling says your httpd server may need exec permissions on the vendor/ folder.

In any case, a workaround for now is to copy the necessary assets from their place in vendor/ and place them in web/css or web/js or the like.

I'm going to remove the symlinks altogether and make a composer install hook that copies the assets, but that may take some time.

I'll leave this open so we can continue figuring out what's going on. Thanks again!

@strausmann
Copy link
Author

My last test was made on a Plesk Onyx Server mit CloudLinux and an running cageFS.
Symlinks are not allowed.
Your idea with the composer hook is a good solutions.

Thanks you

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