packages
packages copied to clipboard
Issue with Design and Forms
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.
The Input forms does not working. I can not create a new repository or package.
Regards,
Bjoern
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 https://github.com/terramar-labs/packages/issues/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!
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.
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
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!
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