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

Path of directory pub is incorrect...please help! #1456

Closed
silvert298 opened this issue Jul 8, 2015 · 14 comments
Closed

Path of directory pub is incorrect...please help! #1456

silvert298 opened this issue Jul 8, 2015 · 14 comments

Comments

@silvert298
Copy link

I installed magento 2.0 on folder localhost/magento21 however when I login to my admin panel I've got some js errorsas follow:

"NetworkError: 404 Not Found - localhost.com/magento20/pub/static/adminhtml/Magento/backend/en_US/js/theme.js" theme.js
"NetworkError: 404 Not Found - localhost.com/magento20/pub/static/adminhtml/Magento/backend/en_US/mage/backend/bootstrap.js" bootstrap.js "NetworkError: 404 Not Found - localhost.com/magento20/pub/static/adminhtml/Magento/backend/en_US/jquery.js" jquery.js
"NetworkError: 404 Not Found - localhost.com/magento20/pub/static/adminhtml/Magento/backend/en_US/Magento_Catalog/catalog

Somebody please can tell me how to solve this issue!

enter image description here

@roshimon
Copy link

roshimon commented Jul 8, 2015

I think the problem is with the path. Try reinstalling it and name the magento installation folder as magento2, which will be lot easy :)

@roshimon
Copy link

roshimon commented Jul 8, 2015

Sorry even I am getting that error. You used develop or master branch ? try using master branch.

@jamescowie
Copy link

Have you tried running the static file generation ? You can run

./bin/magento setup:static-content:deploy this will create the pub folders with all the requires assets for the stores,

If this doesnt work or produces errors paste them back here and we can look more.

@mazhalai
Copy link
Contributor

mazhalai commented Jul 8, 2015

@silvert298 in the screenshot shown, your website is localhost.com/magento21/ but the static files being accessed are localhost.com/magento20/. Can you please clean browser cache and also Magento's cache in the var/cache and var/page_cache folder and try again.

@roshimon
Copy link

roshimon commented Jul 8, 2015

Mazhalai for me installation worked fine but the admin panel features don't
seem to work. Except Admin dashboard, others are pretty much freezed.

On Wed, Jul 8, 2015 at 8:13 PM, mazhalai [email protected] wrote:

@roshimon https://github.com/roshimon in the screenshot shown, your
website is localhost.com/magento20/ but the static files being accessed
are localhost.com/magento21/. Can you please clean browser cache and also
Magento's cache in the var/cache and var/page_cache folder and try again.


Reply to this email directly or view it on GitHub
#1456 (comment).

@mazhalai
Copy link
Contributor

mazhalai commented Jul 8, 2015

@roshimon what exactly doesn't work? Can you give more details or screenshots?

@roshimon
Copy link

roshimon commented Jul 8, 2015

Sure :)

On Wed, Jul 8, 2015 at 10:08 PM, mazhalai [email protected] wrote:

@roshimon https://github.com/roshimon what exactly doesn't work? Can
you give more details or screenshots?


Reply to this email directly or view it on GitHub
#1456 (comment).

@roshimon
Copy link

roshimon commented Jul 8, 2015

https://hello.firefox.com/TwUrlNTrXHs

On Wed, Jul 8, 2015 at 10:09 PM, roshi mon [email protected] wrote:

Sure :)

On Wed, Jul 8, 2015 at 10:08 PM, mazhalai [email protected]
wrote:

@roshimon https://github.com/roshimon what exactly doesn't work? Can
you give more details or screenshots?


Reply to this email directly or view it on GitHub
#1456 (comment).

@roshimon
Copy link

roshimon commented Jul 8, 2015

Screenshots of my Magento 2 Frontend and Backend.

On Wed, Jul 8, 2015 at 10:17 PM, roshi mon [email protected] wrote:

https://hello.firefox.com/TwUrlNTrXHs

On Wed, Jul 8, 2015 at 10:09 PM, roshi mon [email protected] wrote:

Sure :)

On Wed, Jul 8, 2015 at 10:08 PM, mazhalai [email protected]
wrote:

@roshimon https://github.com/roshimon what exactly doesn't work? Can
you give more details or screenshots?


Reply to this email directly or view it on GitHub
#1456 (comment)
.

@roshimon
Copy link

roshimon commented Jul 8, 2015

Did you see it ?

On Wed, Jul 8, 2015 at 10:08 PM, mazhalai [email protected] wrote:

@roshimon https://github.com/roshimon what exactly doesn't work? Can
you give more details or screenshots?


Reply to this email directly or view it on GitHub
#1456 (comment).

@roshimon
Copy link

roshimon commented Jul 8, 2015

magento2backend
magento2frontend

@vpelipenko vpelipenko added the PS label Jul 13, 2015
@buskamuza
Copy link
Contributor

Hi @roshimon , could you provide errors from browser console? What resources are not loaded?

Btw, "localhost" is not recommended for use as a domain because in some browsers it leads to issues with cookies and, as a result, you may have issues with log in.

Thanks.

@daim2k5
Copy link
Contributor

daim2k5 commented Nov 10, 2015

Please feel free to reopen the issue i closed i now because you didn't answered

@daim2k5 daim2k5 closed this as completed Nov 10, 2015
@roshimon
Copy link

Thank you @buskamuza 👍

magento-team pushed a commit that referenced this issue Sep 4, 2017
[EngCom] Public Pull Requests - 2.1
 - MAGETWO-72252: Backport of MAGETWO-52577 for Magento 2.1: [GitHub] Set Product as Ne… #10751
 - MAGETWO-72251: Backport of MAGETWO-65607 for Magento 2.1: [GitHub][PR] Check return … #10750
 - MAGETWO-71643: [BUGFIX] Flat Category reindexList of AllChildren if the url_key of t… #10557
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

8 participants