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
Install magento 2.0 successfully but backend getting error #1299
Comments
@Nguyen Danh Tung: The seem you are using wamp server? and if you use the wamp server you need to add more bellow configs to your Hope this help. On Sun, May 24, 2015 at 2:27 PM, Nguyen Danh Tung notifications@github.com
Best regards, Quynh Vu Van. http://www.magentocommerce.com/certification/directory/dev/1639183/Skype: quynh.vv |
I had the same problem with all the resources in /pub/ : 404 errors When I try to request http://[my_project]/pub, it return me the index page without CSS Cannot create a symlink for "C:/xampp/htdocs/www/client/mage2/app/design/adminhtml/Magento/backend/web/fonts/admin-icons/admin-icons.woff" and place it to "C:/xampp/htdocs/www/client/mage2/pub/static/adminhtml/Magento/backend/en_US/fonts/admin-icons/admin-icons.woff" Warning!symlink(): Cannot create symlink, error code(1314) I use XAMPP on Windows 8 to run my local http server. the PHP function symlink() don't have permission to write UNLESS you start your httpserver as an Administrator. So if you use XAMPP or something like this (WampServer...), try to start it "As an administrator" (right click menu) Maybe that's the same problem you have. |
Hello I am having the same issues in Beta 10. Looking at the issue it seems that on install when the pub assets are created then it is creating the symlink incorrectly.
The path should be: Notice that the |
If you error is the same as mine and the path to the symlinks is wrong what I had to do was remove ( delete ) pub/static/frontend && adminhtml and then via the new cli run I think this was because I have been using this code base for some time and upgrading / moving VM's |
@tungmpo Thank you for reporting this issue. Have you tried suggestions from @quynhvv @jialuni and @jamescowie? Please let us know if you are still having issues. |
Hi, ***_Fix Erorr can't load js and css in back end_
If any exception happens during processing of this resource, the error should be displayed on step 4. Open up app/etc/di.xml and find the virtualType name="developerMaterialization" section. In that section you'll find an item name="view_preprocessed" that needs to be modified or deleted. You can modify it by changing the contents from Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink to Magento\Framework\App\View\Asset\MaterializationStrategy\Copy Delete the files under pub/static to get rid of any existing symlinks. You may want to be careful not to delete the .htaccess file. |
Hi Tungmpo, Your Steps resolved my admin link not working issue. Thank you for your information. Best Regards, |
@tungmpo, thank you for updating us with your steps to resolve this issue. Should you encounter additional issues, please don't hesitate to submit a new GitHub issue. |
Hello, Do you know how to call static block at template file in magento 2 ? Thanks On Wed, Jul 15, 2015 at 2:25 AM, Sheila Nohe notifications@github.com
|
Please research at Good luck. On Thu, Jul 16, 2015 at 10:21 AM, Nguyen Danh Tung <notifications@github.com
Best regards, Quynh Vu Van. http://www.magentocommerce.com/certification/directory/dev/1639183/Skype: quynh.vv |
this is my first try of magento and i am running apache24 + php-fpm (5.5) in chroot on a live enviroment. php file paths are always seen from within the chroot (/web/magento), i.e. they are not the same as seen from apache service (/srv/www/site_home_chroot/web/magento). upon the first visit of magento, it created many symlinks in /pub/static which do not point to the proper directory as saw by apache (it just ignored any chroot or php being on a different server) ideally it would be nice if any symlinks that needs to be used, would be relative to the file location and not to the root folder (which is not known from php). All modern Linux distros should support relative symlinks. best regards, stan |
Just Open the MAGENTO_ROOT/app/etc/di.xml and replace below code form line number 574
TO
|
Fixed it by running |
Hi, @tbondois: Have you checked that you are running the command prompt as an administrator. |
Yes i have logged in with the root user in terminal On Thursday 25 February 2016, Akshay Jindal notifications@github.com
*Regards, * Mitul Patelpatelmit69@gmail.com patelmit69@gmail.com9724757428 |
@mitul69 @akshayjindallab @0x1ad2 please avoid commenting on closed issues. Please create a new one. |
Hey, Thank you in advance! |
You must have a total of three cron jobs as this topic explains. The one you're missing is this one: */1 * * * * [path-to-binary] -c [ini-file-path] [your Magento install dir]/bin/magento cron:run [>> [log-file]&] Note that the cron job must run as your Magento file system owner |
Maybe you have missed any step or you are not fulfilling its requirements. You can check this simple guide to install Magento 2 on localhost: Install Magento 2 on Localhost |
I have the same issue, in magento 2.18 CE and this is the question on stack exchange. https://goo.gl/nZusVW |
- Merge Pull Request magento-engcom/magento2ce#1299 from magento-engcom-team/magento2:batch-14-forwardport-2.3-develop - Merged commits: 1. 99e3a76 2. 4cfc07e 3. ea616e0 4. be55217 5. 41c52fb 6. 7f42a67 7. 1090c8b 8. c80b5ca 9. 8077af7 10. 38e34a8 11. c13ad85 12. 9e7bf93 13. 10a6288 14. abf31d2 15. 898a470 16. c99c3a7 17. 4537e78 18. 0bad56f 19. fd2418e 20. 946e9e1
@0x1ad2 php bin/magento setup:static-content:deploy |
Hi,
I have setup magento 2.0 successfully but when i login on backend. i can't click on anything. there are many bugs on console relate to js
Anyone can help me. thank a lots!
The text was updated successfully, but these errors were encountered: