blopa / Magento-Chatbot

Magento Chatbot Integration with Telegram, Messenger, Whatsapp, WeChat, Skype and wit.ai.
MIT License
176 stars 62 forks source link

Messenger Settings Not Loaded #146

Closed ntan-vixi closed 6 years ago

ntan-vixi commented 6 years ago

Hello,

I have a problem with my Magento 2 shop, the Messenger Settings page is not loaded. But the general settings page is working fine.

image

blopa commented 6 years ago

Hi there.

That's weird. What is your Magento version? Can you send me your log files?

ntan-vixi commented 6 years ago

Hello,

I didn't see any error about the application. I'm sending you the log files anyway.

I am using Magento 2

Thanks,

ntan-vixi commented 6 years ago

log.zip report.zip

syntaxisarg commented 6 years ago

the same thing happens with magento 2.2.2

itsmudassir commented 6 years ago

@ntan-vixi Can you please tell me the installation steps for this chatbot on magento 2 as there is no [ System > General Settings > Chatbot Settings ] to be found .

ntan-vixi commented 6 years ago

@itsmudassir You can follow the steps indicated in page 4 of this pdf https://www.mageworx.com/index.php/downloads/dl/file/id/124/product/0/woxy_user_guide_10_17.pdf

blopa commented 6 years ago

Hey guys. Just a quick update that I didn't forgot about this issue. I looked over at this on the weekend, but couldn't find any problems. I'll keep looking until I find a solution.

xmav commented 6 years ago

Looks like issue comes from app/code/Werules/Chatbot/etc/config.xml It cannot read value for . I have commented that field in config.xml and get all fields in backend config visible (Messenger Settings)

blopa commented 6 years ago

@xmav What version of Magento are you using?

@itsmudassir @ntan-vixi @syntaxisarg could you try @xmav solution? I'm still not able to reproduce the problem, but this seems like a good lead.

blopa commented 6 years ago

You guys cal also try running this command:

php bin/magento cache:flush;php bin/magento cache:clean;php bin/magento setup:upgrade;php bin/magento setup:static-content:deploy -f

xmav commented 6 years ago

@blopa I am testing it using Magento 2.2.2

blopa commented 6 years ago

Local machine? Windows or Linux?

xmav commented 6 years ago

local dev environment on Ubuntu with Apache and PHP 7.0.25

xmav commented 6 years ago

@blopa To reproduce issue make sure that you don't have value for "commands_list" field in database core_config_data table. In this case default values from config.xml will be used and I hope you will see the issue

xmav commented 6 years ago

Here is more info from me: Looks like thats breaking changes in Magento 2.2 and 2.3 https://github.com/magento/magento2/commit/3f5494763b4d7095d51fac44b4cd4dc4a6ab4b92#diff-6b58c5ee8a358659b65e043f71bca51b As you may see in 2.2 \Magento\Framework\Serialize\Serializer\Json used as serializer. Thats why it cannot unserialize your value from config.xml

blopa commented 6 years ago

I'm waiting for the others to confirm if that fixed their problem, and I'll release a new version.

itsmudassir commented 6 years ago

Yes commenting the in config.xml solves the disappearing menu problem . but now the module is connected and my webhook url gives 404 error please take a look @blopa . I am using latest magento2 and the chatbox appears in home but the webhook doesnt work I tried to add a '/' at the end as well . 1 2

itsmudassir commented 6 years ago

@xmav did commenting the in config.xml solve your problem ? for It does make the settings visible but the extension does not generate working facebook webhook URL. If it worked for you please tel me your magento version and how did you host it with SSL .

blopa commented 6 years ago

@itsmudassir Try http://mudassir.website/chatbot/webhook/messenger/endpoint/al1foqt1ts

blopa commented 6 years ago

Version 1.0.7 released! https://github.com/blopa/Magento-Chatbot/releases/tag/m2_v1.0.7

babybeddingdesign commented 5 years ago

Hi, this VER will work on magento 2.3?