Closed neginparsa closed 9 years ago
Try to execute this command being inside the magento folder root.
php -f dev/tools/Magento/Tools/View/deploy.php
@neginparsa
app/code/core/Mage/Core/Model/Session/Abstract/Varien.php
in Magento2. Please verify your code base.@JesusTinoco I cannot execute although the path is correct and dev exists there I did this : php -f dev\tools\Magento\Tools\View\deploy.php because I am on windows and it should be backslash maybe inside deploy.php has "/" instead of "\" and it could be a problem?! I don't know I just guess
I also did this: php -f dev/tools/Magento/Tools/View/deploy.php the same results . ERROR: Cannot read contents from file "C:/wamp/www/magento2-develop/" Warning!fi le_get_contents(C:/wamp/www/magento2-develop/): failed to open stream: No such f ile or directory (Processing file 'js/row-builder.js' for area 'adminhtml', them e 'Magento/backend', locale 'en_US', module 'Magento_Theme') . ERROR: Cannot read contents from file "C:/wamp/www/magento2-develop/" Warning!fi le_get_contents(C:/wamp/www/magento2-develop/): failed to open stream: No such f ile or directory (Processing file 'js/truncate.js' for area 'adminhtml', theme ' Magento/backend', locale 'en_US', module 'Magento_Theme') ................................................................................ ................................... ERROR: Cannot read contents from file "C:/wamp/www/magento2-develop/" Warning!fi le_get_contents(C:/wamp/www/magento2-develop/): failed to open stream: No such f ile or directory (Processing file 'js/add-to-wishlist.js' for area 'adminhtml', theme 'Magento/backend', locale 'en_US', module 'Magento_Wishlist') . ERROR: Cannot read contents from file "C:/wamp/www/magento2-develop/" Warning!fi le_get_contents(C:/wamp/www/magento2-develop/): failed to open stream: No such f ile or directory (Processing file 'js/search.js' for area 'adminhtml', theme 'Ma gento/backend', locale 'en_US', module 'Magento_Wishlist')
Maybe it is something with permissions I don't know @mazhalai I do not have two versions only one version of
PHP 5.5.12 (cli) (built: Apr 30 2014 11:20:58) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies with Xdebug v2.2.5, Copyright (c) 2002-2014, by Derick Rethans
@mazhalai I know there is no app/code/core/Mage/Core/Model/Session/Abstract/Varien.php in Magento2.as I said PREVIOUS versions not magento2 , let's say magento community,I solved this issue by that path of Varien.php
I have a similar messy frontpage but the reason is that fontend and adminhtml directories are missing from the pub directory. I don't know why they are missing but I assume that it is an issue with apache rewrites. Any suggestions how to fix this problem?
"I installed magento2 , I can see the home page, it does not have any theme but I can see some text" ==> I have a similar. (Xampp on windows) Backend and frontend show some text. http://www.awesomescreenshot.com/image/120729/57820bef607f7ac8b38b189191a6c2d3
@TapaniAla and @minhluan259 have you tried this solution in Magento's troubleshooting guide
I have already fixed this problem according to @JesusTinoco instructions. Please note that there will be a time out in deployer.php unless you increase the time_out setting from the default 30 seconds to something like 300 seconds.
If you are still having this issue and are running on windows can you see if disabling symlinks fixes the problem for you? Please report back if it did so we can prioritize a proper fix.
@neginparsa, checking in to see if @otoolec's advice worked for you.
I don't have any update unfortunately. you can close the issue I will reopen when I tried and if I had any problems. Thank you.
On Tue, May 12, 2015 at 9:57 AM, Sheila Nohe notifications@github.com wrote:
@neginparsa https://github.com/neginparsa, checking in to see if @otoolec https://github.com/otoolec's advice worked for you.
— Reply to this email directly or view it on GitHub https://github.com/magento/magento2/issues/1180#issuecomment-101347398.
Closed. Please, reopen in case of updates.
I installed magento2 , I can see the home page, it does not have any theme but I can see some text I had many problems installing magento 2 such as xdebug nesting levels during installation, rewrite module not completeley loaded though was there and etc
it's better in section PHP Extensions Check that are the modules to be ready for installation, add the mode_rewrite also to be checked
I tried to use previous magento community versions and all of them on my pc had problem of not logging in and I have solved them by going to app/code/core/Mage/Core/Model/Session/Abstract/Varien.php and commenting out some lines which is not cool but solves the issue.
Now, I wanted to know what I can do to solve my problem.