Myddleware / myddleware

Myddleware is the customisable free open-source platform that facilitates data migration and synchonisation between applications.
http://www.myddleware.com
GNU General Public License v3.0
99 stars 50 forks source link

Nothing happens when using magento to erpnext template #657

Open ModeBan opened 2 years ago

ModeBan commented 2 years ago

Hi,

When creating a new rule using the template for magento to erpnext nothing happens after pressing the confirm rule button it just says please wait.

Myddleware commented 2 years ago

Hi @ModeBan sorry for the delay of our reply. Even if the page doesn't change. Have your new rules been created?

AVATAVA commented 2 years ago

I have the same issue using a prestashop to moodle template. When I press the "confirm rule" button, I only see "please wait". I can manually create a rule - but cannot confirm a template.

ModeBan commented 2 years ago

That is to do with authentication on Prestashop or moonless. Enter your credentials again and it should work


From: AVATAVA @.> Sent: Monday 31 October 2022, 16:33 To: Myddleware/myddleware @.> Cc: Modestas Banys @.>; Mention @.> Subject: Re: [Myddleware/myddleware] Nothing happens when using magento to erpnext template (Issue #657)

I have the same issue using a prestashop to moodle template. When I press the "confirm rule" button, I only see "please wait". I can manually create a rule - but cannot confirm a template.

— Reply to this email directly, view it on GitHubhttps://github.com/Myddleware/myddleware/issues/657#issuecomment-1297358642, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFBPCNLYZN2NK3HE34DMUP3WF7YFLANCNFSM5OUZBO7A. You are receiving this because you were mentioned.Message ID: @.***>

AVATAVA commented 2 years ago

Thanks for the reply- the authentication works fine if I create a rule of my own and run it- I just cannot use the template, and when it fails I get nothing in the prod.log, I just see the "please wait" which never times out. I can read data from either moodle or prestashop, so it does not seem logical that I cannot confirm a template.

stlgaits commented 2 years ago

@AVATAVA Hi, could you please check your JavaScript console to see whether there are any error messages displayed there (I just want to make sure they are the same as mine) and look any errors flagged in red ? image

I've just tried to reproduce your error prod mode, it wasn't triggered in dev but indeed in prod mode I got the following errors in my prod.log

[2022-11-07 08:20:23] php.WARNING: Warning: simplexml_load_string(): Could not resolve host: eyJpdiI6IkNnUzcrRkNUTnlFXC9MSXk1VWFJSE93PT0iLCJ2YWx1ZSI6 {"exception":"[object] (ErrorException(code: 0): Warning: simplexml_load_string(): Could not resolve host: eyJpdiI6IkNnUzcrRkNUTnlFXC9MSXk1VWFJSE93PT0iLCJ2YWx1ZSI6 at C:\\laragon\\www\\myd314\\myddleware\\src\\Solutions\\moodle.php:61)"} []
[2022-11-07 08:20:23] php.WARNING: Warning: simplexml_load_string(): ^ {"exception":"[object] (ErrorException(code: 0): Warning: simplexml_load_string(): ^ at C:\\laragon\\www\\myd314\\myddleware\\src\\Solutions\\moodle.php:61)"} []
[2022-11-07 08:20:23] app.ERROR: Error unknown.  [] []
[2022-11-07 08:20:23] app.ERROR: Error unknown.  [] []
[2022-11-07 08:20:23] php.WARNING: Warning: Array to string conversion {"exception":"[object] (ErrorException(code: 0): Warning: Array to string conversion at C:\\laragon\\www\\myd314\\myddleware\\src\\Solutions\\prestashop.php:180)"} []
[2022-11-07 08:20:23] php.WARNING: Warning: Array to string conversion {"exception":"[object] (ErrorException(code: 0): Warning: Array to string conversion at C:\\laragon\\www\\myd314\\myddleware\\src\\Solutions\\prestashop.php:180)"} []
[2022-11-07 08:20:23] php.CRITICAL: Uncaught Error: array_intersect_key(): Argument #2 must be of type array, null given {"exception":"[object] (TypeError(code: 0): array_intersect_key(): Argument #2 must be of type array, null given at C:\\laragon\\www\\myd314\\myddleware\\src\\Solutions\\prestashop.php:198)"} []
[2022-11-07 08:20:23] php.CRITICAL: Uncaught Error: array_intersect_key(): Argument #2 must be of type array, null given {"exception":"[object] (TypeError(code: 0): array_intersect_key(): Argument #2 must be of type array, null given at C:\\laragon\\www\\myd314\\myddleware\\src\\Solutions\\prestashop.php:198)"} []
[2022-11-07 08:20:23] request.CRITICAL: Uncaught PHP Exception TypeError: "array_intersect_key(): Argument #2 must be of type array, null given" at C:\laragon\www\myd314\myddleware\src\Solutions\prestashop.php line 198 {"exception":"[object] (TypeError(code: 0): array_intersect_key(): Argument #2 must be of type array, null given at C:\\laragon\\www\\myd314\\myddleware\\src\\Solutions\\prestashop.php:198)"} []
[2022-11-07 08:20:23] request.CRITICAL: Uncaught PHP Exception TypeError: "array_intersect_key(): Argument #2 must be of type array, null given" at C:\laragon\www\myd314\myddleware\src\Solutions\prestashop.php line 198 {"exception":"[object] (TypeError(code: 0): array_intersect_key(): Argument #2 must be of type array, null given at C:\\laragon\\www\\myd314\\myddleware\\src\\Solutions\\prestashop.php:198)"} []

Also, just to be on the safe side, can you confirm which Myddleware version this occurred on ? (I ran my tests in Myddleware 3.1.8a).

TIA

AVATAVA commented 2 years ago

Hi @EstelleMyddleware , I am using Myddleware 3.1.1. I see no errors in the console, and no errors are produced in the prod.log. Prestashop is 1.7.8.2 and Moodle is 4.0.2 myddleware-error

Myddleware commented 2 years ago

Hi @AVATAVA , I can't reproduce the issue, the rule are successfully generated in my Myddleware instance. Could you upgrade Myddleware to the latest version and check again please ? Please keep us updated. Thanks

AVATAVA commented 2 years ago

Thanks for the reply. Is it possible we can hire someone from the team to get this working? We have tried several times using the contact forms on the myddleware.com site and have no reply at all.

Myddleware commented 2 years ago

Hi @AVATAVA , We have some issue with this form. Sorry for that. I found your message and have your direct email. I will send you a direct message. Stéphane