facebookarchive / facebook-for-magento

A first-party extension plugin built for Magento. This plugin will install a pixel on your site, upload your products into a catalog for use in FB ads, and (optionally) auto-create an FB shop with your products.
https://www.facebook.com/business/help/532749253576163
84 stars 57 forks source link

Error admin (blank page) after install #84

Closed arozmanroza closed 5 years ago

arozmanroza commented 6 years ago

After install in multiple domain Magento i got this error!

magento_admin

in exception.log show error in

Facebook_AdsExtension_Block_ViewCategory Facebook_AdsExtension_Block_AddToCart ...

but Page Source stops at

div class="nav-bar" - menu start

dmitridr commented 6 years ago

Hi, thanks for reporting this. what's the version of the plugin and the version of magento? If it's 2.6.0 can you try using 2.5.0 and see if you have the same result?

If it's an older version, please try an upgrade. Versions are available here.

arozmanroza commented 6 years ago

I have last version. 2.6. In one other shop without multidomain shop, works fine.

dmitridr commented 6 years ago

Could be related to several errors we received for 2.6. We will release 2.6.1 shortly, maybe it'll help.

dmitridr commented 6 years ago

v2.6.1 is out, could you try this version to see if you have the same issue? I also recommend trying v2.5.0, it will help us narrow down the problem if it's caused by recent changes or what.

You could also try disabling compilation mode (if it's enabled), I've seen problems similar to yours caused by this.

arozmanroza commented 6 years ago

It's better! Front web store is not destroy. Ist work, before 2.6.1 has white screen. Administration is the same! Page Source stops at div class="nav-bar" - menu start

dmitridr commented 6 years ago

Do you have logging enabled in Magento? Is there any log with exception you can share with us? If the entire Admin does not work it looks like there is an exception somewhere, but we can't tell what the issue is without lots of help from you on this, unfortunately.

My best guess is the extension is making incorrect assumptions about the multidomain store, and this results in an exception. But we need the actual exception to fix it.

Also could you share your Magento version?

dmitridr commented 5 years ago

I'm marking this as duplicate with #21, if there are any updates please continue the discussion there. Hopefully we can update debug mode to be more robust and able to deal with these cases so that debugging can be done more effectively.

arozmanroza commented 5 years ago

Install 2.6.2 version and working fine! Thanks