-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[Magento 2.1.0] Catalog nav bar is missing in 2.1.0 #5423
Comments
what did you upgrade from? |
I have same problem upgrading from 2.0.7 to 2.1 I don't know why, probably its an issue with changes to the settings, before 2.1 it was on store>configuration>design, now it is on content > theme(or something like that) |
@acidreian666 I upgraded from 2.0.7 and it uses SSL. I don't use varnish. |
@JDavidVR It would seem that my theme is working ok. I didn't manipulate anything having to do with that nav bar. |
If themes can't transfer from 2.0.7 to 2.1, that is a critical oversight. |
If I clear /var/cache, /var/page_cache and /var/generation according to the documentation, http://devdocs.magento.com/guides/v2.1/comp-mgr/cli/cli-upgrade.html, this happens: Warning: ltrim() expects parameter 1 to be string, object given in /home/tuckersf/public_html/vendor/magento/framework/Code/Generator/EntityAbstract.php on line 152 Notice: Uninitialized string offset: 0 in /home/tuckersf/public_html/vendor/magento/framework/Autoload/ClassLoaderWrapper.php on line 81 Notice: Uninitialized string offset: 0 in /home/tuckersf/public_html/vendor/composer/ClassLoader.php on line 317 Notice: Uninitialized string offset: 0 in /home/tuckersf/public_html/vendor/composer/ClassLoader.php on line 349 |
So I been trying to Replicate the original problem my tests have been as fallowed. Finished install = Functional 2.1 with NO menu on Homepage no matter what configurations are used. Test 2 Thoughts. I'm going to do more testing. |
@Ctucker9233 I did more tests, trying to change configuration on backend and I agree with you this is a critical issue, for sites that are already build on 2.0.x and want to upgrade to 2.1 In logs I have this error: |
@JDavidVR Thanks for testing this out. So am I screwed and just need to do a clean install of 2.0.7? |
@JDavidVR where did you find that log? Do you think there is a way to programatically fixing this? |
I'm also experiencing this issue. I upgraded Magento Enterprise 2.0.7 to 2.1. I changed the theme to the Magento/luma theme and am still not seeing the main navigation. I am using Varnish. I logged a similar issue for 2.0.x, but it was marked as fixed in 2.1: #3897 (comment) |
Olena--can you have the team check this scenario? |
@tkacheva In my scenario, I am not using varnish unless it got switched on without me knowing. It wouldn't surprise me at this point. How would I make sure that varnish is not running? |
I've created my own menu as a sort of work around. Just buttons with straight links. I would still like to see this fixed as soon as possible. If it is a glitch with the upgrade procedure, the official documentation needs to change. That's what I used to arrive at this point. I can't continue to use Magento if I need to do a wipe, install new version and reimport data every time there is an upgrade. It is just not feasible. |
Alright guys i have like 10 Magento 2 servers running on google cloud. Now menu is back and all permissions are messed up but its back and functional.. so where is the exact permissions required for every folder in a based 2.1 install? |
@eug123 Could you look into it? |
@acidreian666 So it's a permissions thing? Can you tell which folder is causing the problem? My site is live so I'd rather not change the permissions for every folder. It might be a security risk. Thanks for taking the time to really investigate this. |
@Ctucker9233 so I have found that my sever with Also I might add I have never switched from default mode to developer or production. But I did flush cache and reindex and static deploy manually. |
@tkacheva @eug123 @magento-team Is there any news on this issue? It is really effecting customer experience. |
I'm having this problem even in clean installation :( |
@JDavidVR please list your full server setup & distribution information with components your using. I have installed and setup m21 10 times in the past 4 days with a functional navigation bar. |
@acidreian666 On any of your setups did you install 2.0.7 and then upgrade to 2.1.0? I think this is where the problem really lies. I'm hosted on siteground.com I've flushed all caches repeatedly. The only thing I haven't tried is to set permissions on everything to 777 like you did. I don't know if that is safe to do. |
@Ctucker9233 Are you using Varnish or Memcached or something simular or a cloudflare or Maxcdn? here is the question flushing the caches meaning your running the site in Devoloper mode not production? have you tried http://devdocs.magento.com/guides/v2.0/config-guide/bootstrap/magento-modes.html I did 1 upgrade from 2.0.7 without a problem and multiple upgrades from 2.0.6 to 2.1 without problems. I think after your upgrade from 2.0.7 the System upgrade does not keep permissions on the deployed files or something in the theme that causes a permission issue. thus the menu is gone. if you had your website up and running on a cloud server or something it would be abit easier to clone it and change domain to an Ip addess using mysql commands then changing permissions to 777 to check if thats the issue your having with your offical site. |
I'm having this same issue as well. I notice that in the admin settings it gives you the option between built in cache and varnish cache and it says that varnish is recommended so I'm wondering why if this seems to be such a common issue. |
@Ctucker9233 I have the same issue, using Magento 2.1.2 on PHP 7.0.14 on Apache server. When I switch to Built-In cache, the navbar appears again. When I found the <esi:include src="url/of/your/site" /> rule like @KevinMace mentioned, I noticed that my URL contained a lot of %22 signs, instead of the " symbol.
Now figuring out how to solve this. If somebody knows something, please let me know. Otherwise, I hope this helps some people out while they're debugging. |
@Tristan-N Have you enabled ESI in your Varnish config? That will replace this string
with the correct content (in this instance, the navigation) |
@Tristan-N in your default.vcl, you should have a section like below. Have you moved the Magento generated
|
@KevinMace No, in the Varnish config folder there is a config file dat includes the vcl file from the Magento folder. |
@KevinMace have you already figured out how to do this? Or anybody else? I'm facing the same issues afte migration from 1.9.2.4 to 2.1.3. The navigation bar is missing, also with a normal HTTP request. I'm not able to modify varnish settings in Core Magento, or am I wrong? Magento is using a build in version of Varnish in my understanding. |
i have the same problemas download magento 2.1.3 set it all up and no top nav |
Hello does anyone have any solutions to the above. I am at my wits end with 2.1. I am managing a project with over 5000 items and my clients work flow is halted because of this navigation search bar issue. We moved from 1.9 to 2.1.2 5.7 for MYSQL and 5.6.5 for PHP. We are so upset with this new version.. Any help would be great. |
The solution is staying on Magento 1.9 and waiting it out on Magento 2. We spent a lot of time and money on Magento 2 and had to roll back to 1.9. |
Yes I wish.... But the investment on my clients end is too deep. We can't role back now. The team that is working on this are having a hard time and I am as well.. Can anyone give me an idea of how to approach a solution. I have a team that can build what is needed but they need direction. We are far too into this with all variables and can't hit brakes... I would like to help write code to fix this stupid shit somehow... Thank you all for reading and hopefully writing.. |
I removed the TTL attribute from /vendor/magento/module-theme/view/frontend/layout/default.xml and the menu bar was there again! But can that do any harm, if I'm correct the default TTL is enheritated. Or am I wrong?
Regards Jilco
Verzonden vanaf mijn Samsung-apparaat
…-------- Oorspronkelijk bericht --------
Van: plhbbillygarcia <notifications@github.com>
Datum: 24-01-2017 04:05 (GMT+01:00)
Aan: magento/magento2 <magento2@noreply.github.com>
Cc: Jilco <jilcotigchelaar@hotmail.com>, Comment <comment@noreply.github.com>
Onderwerp: Re: [magento/magento2] [Magento 2.1.0] Catalog nav bar is missing in 2.1.0 (#5423)
Yes I wish.... But the investment on my clients end is too deep. We can't role back now. The team that is working on this are having a hard time and I am as well.. Can anyone give me an idea of how to approach a solution. I have a team that can build what is needed but they need direction. We are far too into this with all variables and can hit brakes... I would like to help write code to fix this stupid shit somehow... Thank you all for reading and hopefully writing..
Smiles
Billy
-
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#5423 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AWoMGm9YgFaGYbygl-QVZayLZNTtDMykks5rVWqIgaJpZM4JDz3z>.
|
@plhbbillygarcia Unfortunately Magento 2 is just not production ready. I would imagine by the time your client pays to fix everything that is broken, Magento 2 will be further along. I can't see taking a lone ranger type mission on trying to fix the many, many issues with Magento 2. It sounds like your client has an unrealistic expectation for Magento 2 at this time and you may need to educate them on the issues at hand. |
To anyone experiencing this issue with Varnish and already added -p feature=+esi_ignore_https to your Varnish configuration, the following are correct steps to fix:
In my case error was with Magestore Giftvoucher plugin. Basically a fatal PHP error may occur only while Varnish is in use (ESI processing) and may not be experience otherwise. Not all the plugins are Varnish-ready. |
@dvershinin I have a gist with some example commands, and brief comments. Using varnishlog you can see all the necessary header information you'd need to makes calls to the backend HTTP server the same way Varnish is, and then set the HTTP header details with curl on the command line. This can provide some additional insight to what Varnish is receiving, or trying to request before it removes headers, combines ESI includes, and responds to the browser. It can also be useful to test the infrastructure behind Varnish and know you aren't getting a cached hit from Varnish, or have to clear the Varnish cache. |
Hey guys, I had the same issue with one of my clients and after going through this entire thread here, I can conclude that it is the varnish configuration issue. I spoke to my hosting company and they confirmed that Varnish was only configured to support HTTP requests. They configured varnish for HTTPS as well and everything is working fine now. |
I've circled back to this after installing the latest Magento 2.1.5 and it would appear it is resolved. |
@Ctucker9233 internal MAGETWO-55189 closed as Won`t Fix. As I understood you agreed that the upgrade way mentioned in the description can not be used. Improvements into documentation can be created as PR to https://github.com/magento/devdocs Feel free to connect the Community Engineering team for support on that PR |
@rgoncharuk Thanks, although that is disappointing to hear. It is clear that other people that have commented on this thread have a similar issue and it clearly is not a documentation issue. I have since resolved the issue by separating my multi-site into two independent ones. If nothing else, the documentation for setting up multi-sites should be reviewed and revised by the Magento Team seeing as how you(Magento) created it and not me. |
Hello everyone, |
@moejoee91 Try disabling Cloudflare and see if it changes anything. |
This still doesn't work today. I've tried:
All ran successfully, but still no navbar. It appears that ESI tags are not being processed, which is required for the navbar. This is on a cPanel based hosting account without any Varnish caching. (Magento 2.1.8, PHP 7.0.31) |
@AdamReece-WebBox in absence of Varnish, nothing can do ESI processing on a cPanel server. |
Hi @dvershinin, It appears that the agency that gave us the project to deploy didn't tell us that Varnish cache was enabled in Magento's settings. Switching this to use Magento's built-in cache resolved the issue. (ESIs process as intended now.) |
But can you switch back to varnish after resolving the issue? |
Would there be much benefit in that? I don't really want to disrupt a live store, particularly as it's already performing very well with the built in cache. |
[tango] MC-23890: 2.3 Customer module Recurring setup script performance problems.
Steps to reproduce
Expected result
Store page displays normally with catalog navigation
Actual result
Store page displays without catalog navigation
Note: Multi-store setup
The text was updated successfully, but these errors were encountered: