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

salesforce connector #1008

Open grantcolin opened 1 year ago

grantcolin commented 1 year ago

I have been trying to get the salesforce connector working with myddleware version 3.3.0b. I have set it up but I get this error :

Connection failed : Authentication failure /public_html/myddleware/src/Solutions/salesforce.php Line : ( 841 )

Does anyone know what would be wrong here ?

Also the documentation for the salesforce connector seems to be a bit out of date. Screenshots do not match current version of myddleware for example the token field is missing.

Myddleware commented 1 year ago

Hi @grantcolin , could you try to test your credential in our demo version here : https://demo.myd.myddleware.cloud/public Please do not save the connector, it is just to test if the issue comes from you Myddleware instance.

We will have a look into the screenshot of our tutorial. Thanks.

grantcolin commented 1 year ago

Hi - I now have my salesforce passing the connector test however when I add my first rule and select salesforce connector it just sits there and never completes.

image

grantcolin commented 1 year ago

I also see this error in the logs:

[2023-05-01T02:27:19.780333+00:00] request.CRITICAL: Uncaught PHP Exception TypeError: "asort(): Argument #1 ($array) must be of type array, string given" at /home2/public_html/myddleware/src/Manager/ToolsManager.php line 67 {"exception":"[object] (TypeError(code: 0): asort(): Argument #1 ($array) must be of type array, string given at /home2/public_html/myddleware/src/Manager/ToolsManager.php:67)"} []

CamillePMyddleware commented 1 year ago

Hello grantcolin, can you tell me which version of PHP you are using? (The version of Myddleware you are using requires at least PHP 8, the best version is 8.1.7). I kindly suggest to install the latest version of Myddleware: https://myddleware.github.io/myddleware/#/?id=install-myddleware

feel free to reach out if you need further assistance.

grantcolin commented 1 year ago

Hello PHP is version 8.1.18 Myddleware 3.3.0b

raulcaparida commented 3 months ago

Hi!

I'm also having trouble connecting (same error).

I'm using Myddleware 3.3.4a on Moodle 4.2.6+ and Salesforce (staging)

I can see the error:

php.INFO: User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.listener.form.main" service is deprecated, use the new authenticator system instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/security-bundle 5.3: The \"security.authentication.listener.form.main\" service is deprecated, use the new authenticator system instead. at /home/achiev35/public_html/myddleware/var/cache/prod/ContainerWiQ0aoU/App_KernelProdContainer.php:6641)"} []

anyway has a clue on how to fix this?

Myddleware commented 3 months ago

Hi @raulcaparida,

Did you put 1 in sandbox because you are using a stanging environement : image

raulcaparida commented 3 months ago

yes... the reason I asked is because I'm having trouble connecting to any...

[image: image.png]

If I try to connect to Moodle, it says "Connection Failed: Error Unknown"...

Please advise and point me in the right direction... thanks!

Regards,

Raul Caparida Web Developer [image: AchieveTestPrep] (888) 900-8380 <8889008380>|AchieveTestPrep.com http://www.achievetestprep.com/ Facebook https://www.facebook.com/AchieveTestPrep/ | Instagram https://instagram.com/achieve.test.prep | LinkedIn https://www.linkedin.com/company/achieve-test-prep | YouTube https://youtube.com/user/AchieveTestPrep

On Thu, Apr 11, 2024 at 4:41 AM Myddleware @.***> wrote:

Hi @raulcaparida https://github.com/raulcaparida,

Did you put 1 in sandbox because you are using a stanging environement : image.png (view on web) https://github.com/Myddleware/myddleware/assets/11330301/02810c90-7535-4738-9e1a-4dcbb4bdc41f

— Reply to this email directly, view it on GitHub https://github.com/Myddleware/myddleware/issues/1008#issuecomment-2048400099, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUP34MY3GBUUISJNFWWEQU3Y4WPVZAVCNFSM6AAAAAAXOQ5KIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBYGQYDAMBZHE . You are receiving this because you were mentioned.Message ID: @.***>

Myddleware commented 3 months ago

Unfortunately I can't see the image.

You can follow these tutorials :

We often connect Moodle and Salesforce without problem. So it should work but let us know if it doens't.

raulcaparida commented 3 months ago

yes, I followed the tutorials and all of them always ended up with a successful connection but what happens if it's not successful (like mine), how can I debug it?

When I try to connect to Salesforce, I get this message: "Connection failed: Authentication failure /dir/myddleware/src/SOlutions/salesforce.php Line: (833)" When I try to connect to Moodle, I get this message: "Connection failed: Error Unknown".

I tried the same values on the demo site and it works but not on the one that I set up on our server.

Regards,

Raul Caparida Web Developer [image: AchieveTestPrep] (888) 900-8380 <8889008380>|AchieveTestPrep.com http://www.achievetestprep.com/ Facebook https://www.facebook.com/AchieveTestPrep/ | Instagram https://instagram.com/achieve.test.prep | LinkedIn https://www.linkedin.com/company/achieve-test-prep | YouTube https://youtube.com/user/AchieveTestPrep

On Thu, Apr 11, 2024 at 4:56 AM Myddleware @.***> wrote:

Unfortunately I can't see the image.

You can follow these tutorials :

We often connect Moodle and Salesforce without problem. So it should work but let us know if it doens't.

— Reply to this email directly, view it on GitHub https://github.com/Myddleware/myddleware/issues/1008#issuecomment-2048422348, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUP34M26E3HV2BOECCXQ3ETY4WRRLAVCNFSM6AAAAAAXOQ5KIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBYGQZDEMZUHA . You are receiving this because you were mentioned.Message ID: @.***>

Myddleware commented 3 months ago

Thanks for this last information (it works on our demo). Could you check if the curl extension for PHP is installed on your server?

raulcaparida commented 3 months ago

I haven't really checked it... I'll let you know if it works.

Regards,

Raul Caparida Web Developer [image: AchieveTestPrep] (888) 900-8380 <8889008380>|AchieveTestPrep.com http://www.achievetestprep.com/ Facebook https://www.facebook.com/AchieveTestPrep/ | Instagram https://instagram.com/achieve.test.prep | LinkedIn https://www.linkedin.com/company/achieve-test-prep | YouTube https://youtube.com/user/AchieveTestPrep

On Thu, Apr 11, 2024 at 6:16 AM Myddleware @.***> wrote:

Thanks for this last information (it works on our demo). Could you check if the curl extension for PHP is installed on your server?

— Reply to this email directly, view it on GitHub https://github.com/Myddleware/myddleware/issues/1008#issuecomment-2048528323, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUP34M24M4PREB22HCOPDH3Y4W23ZAVCNFSM6AAAAAAXOQ5KIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBYGUZDQMZSGM . You are receiving this because you were mentioned.Message ID: @.***>

raulcaparida commented 3 months ago

cURL is enabled.

still saying "Connection Failed: Error Unknown"

I checked the logs (under /var/log/prod.log):

[2024-04-11T16:53:29.587764+00:00] php.INFO: User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.listener.form.main" service is deprecated, use the new authenticator system instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/security-bundle 5.3: The \"security.authentication.listener.form.main\" service is deprecated, use the new authenticator system instead. at /home/achiev35/public_html/myddleware/var/cache/prod/ContainerWiQ0aoU/App_KernelProdContainer.php:6641)"} [] [2024-04-11T16:53:29.588655+00:00] php.INFO: User Deprecated: Since symfony/security-http 5.3: The "Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener" class is deprecated, use the new authenticator system instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/security-http 5.3: The \"Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener\" class is deprecated, use the new authenticator system instead. at /home/achiev35/public_html/myddleware/vendor/symfony/security-http/Firewall/UsernamePasswordFormAuthenticationListener.php:32)"} [] [2024-04-11T16:53:29.589056+00:00] php.INFO: User Deprecated: Since symfony/security-http 5.3: The "Symfony\Component\Security\Http\Firewall\AbstractAuthenticationListener" class is deprecated, use the new authenticator system instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/security-http 5.3: The \"Symfony\Component\Security\Http\Firewall\AbstractAuthenticationListener\" class is deprecated, use the new authenticator system instead. at /home/achiev35/public_html/myddleware/vendor/symfony/security-http/Firewall/AbstractAuthenticationListener.php:34)"} [] [2024-04-11T16:53:29.589096+00:00] php.INFO: User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.listener.rememberme.main" service is deprecated, use the new authenticator system instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/security-bundle 5.3: The \"security.authentication.listener.rememberme.main\" service is deprecated, use the new authenticator system instead. at /home/achiev35/public_html/myddleware/var/cache/prod/ContainerWiQ0aoU/App_KernelProdContainer.php:6759)"} [] [2024-04-11T16:53:29.589317+00:00] php.INFO: User Deprecated: Since symfony/security-http 5.3: The "Symfony\Component\Security\Http\Firewall\RememberMeListener" class is deprecated, use the new authenticator system instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/security-http 5.3: The \"Symfony\Component\Security\Http\Firewall\RememberMeListener\" class is deprecated, use the new authenticator system instead. at /home/achiev35/public_html/myddleware/vendor/symfony/security-http/Firewall/RememberMeListener.php:27)"} [] [2024-04-11T16:53:29.589338+00:00] php.INFO: User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.listener.anonymous.main" service is deprecated, use the new authenticator system instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/security-bundle 5.3: The \"security.authentication.listener.anonymous.main\" service is deprecated, use the new authenticator system instead. at /home/achiev35/public_html/myddleware/var/cache/prod/ContainerWiQ0aoU/App_KernelProdContainer.php:6627)"} [] [2024-04-11T16:53:29.589490+00:00] php.INFO: User Deprecated: Since symfony/security-http 5.3: The "Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener" class is deprecated, use the new authenticator system instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/security-http 5.3: The \"Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener\" class is deprecated, use the new authenticator system instead. at /home/achiev35/public_html/myddleware/vendor/symfony/security-http/Firewall/AnonymousAuthenticationListener.php:22)"} [] [2024-04-11T16:53:29.590645+00:00] php.INFO: User Deprecated: Since symfony/security-http 5.4: The $authManager argument of "Symfony\Component\Security\Http\Firewall\AccessListener::construct" is deprecated. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/security-http 5.4: The $authManager argument of \"Symfony\Component\Security\Http\Firewall\AccessListener::construct\" is deprecated. at /home/achiev35/public_html/myddleware/vendor/symfony/security-http/Firewall/AccessListener.php:45)"} [] [2024-04-11T16:53:29.590661+00:00] php.INFO: User Deprecated: Since symfony/security-http 5.4: Not setting the $exceptionOnNoToken argument of "Symfony\Component\Security\Http\Firewall\AccessListener::construct" to "false" is deprecated. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/security-http 5.4: Not setting the $exceptionOnNoToken argument of \"Symfony\Component\Security\Http\Firewall\AccessListener::construct\" to \"false\" is deprecated. at /home/achiev35/public_html/myddleware/vendor/symfony/security-http/Firewall/AccessListener.php:51)"} [] [2024-04-11T16:53:29.593284+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface\". at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/Serializer/SerializerContextBuilder.php:39)"} [] [2024-04-11T16:53:29.593300+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface\". at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/Serializer/SerializerFilterContextBuilder.php:38)"} [] [2024-04-11T16:53:29.607942+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: The service "ApiPlatform\Core\Api\IdentifiersExtractor" is deprecated, use ApiPlatform\Api\IdentifiersExtractor instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: The service \"ApiPlatform\Core\Api\IdentifiersExtractor\" is deprecated, use ApiPlatform\Api\IdentifiersExtractor instead. at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/Core/Api/IdentifiersExtractor.php:47)"} [] [2024-04-11T16:53:29.607961+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: The listener "ApiPlatform\Core\EventListener\ReadListener" is deprecated and will be replaced by "ApiPlatform\Symfony\EventListener\ReadListener" in 3.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: The listener \"ApiPlatform\Core\EventListener\ReadListener\" is deprecated and will be replaced by \"ApiPlatform\Symfony\EventListener\ReadListener\" in 3.0. at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/Core/EventListener/ReadListener.php:66)"} [] [2024-04-11T16:53:29.610164+00:00] php.INFO: User Deprecated: Since symfony/security-core 5.4: Not setting the 5th argument of "Symfony\Component\Security\Core\Authorization\AuthorizationChecker::construct" to "false" is deprecated. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/security-core 5.4: Not setting the 5th argument of \"Symfony\Component\Security\Core\Authorization\AuthorizationChecker::construct\" to \"false\" is deprecated. at /home/achiev35/public_html/myddleware/vendor/symfony/security-core/Authorization/AuthorizationChecker.php:50)"} [] [2024-04-11T16:53:29.622313+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface\". at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/Core/JsonSchema/SchemaFactory.php:65)"} [] [2024-04-11T16:53:29.623861+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface\". at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/Core/Swagger/Serializer/DocumentationNormalizer.php:169)"} [] [2024-04-11T16:53:29.624961+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface\". at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/JsonLd/ContextBuilder.php:76)"} [] [2024-04-11T16:53:29.627585+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface\". at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/Hydra/Serializer/DocumentationNormalizer.php:77)"} [] [2024-04-11T16:53:29.627828+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\Api\IriConverterInterface\" instead of \"ApiPlatform\Core\Api\IriConverterInterface\". at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/Hydra/Serializer/EntrypointNormalizer.php:46)"} [] [2024-04-11T16:53:29.627843+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface\". at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/Hydra/Serializer/EntrypointNormalizer.php:51)"} [] [2024-04-11T16:53:29.631608+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\Api\IriConverterInterface\" instead of \"ApiPlatform\Core\Api\IriConverterInterface\". at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php:108)"} [] [2024-04-11T16:53:29.631637+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface\". at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php:133)"} [] [2024-04-11T16:53:29.631649+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\Api\IriConverterInterface\" instead of \"ApiPlatform\Core\Api\IriConverterInterface\". at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/JsonLd/Serializer/ItemNormalizer.php:55)"} [] [2024-04-11T16:53:29.631933+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\Api\IriConverterInterface\" instead of \"ApiPlatform\Core\Api\IriConverterInterface\". at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php:108)"} [] [2024-04-11T16:53:29.631953+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface\". at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php:133)"} [] [2024-04-11T16:53:29.640521+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\Api\IriConverterInterface\" instead of \"ApiPlatform\Core\Api\IriConverterInterface\". at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/Hydra/Serializer/CollectionNormalizer.php:63)"} [] [2024-04-11T16:53:29.640542+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface\". at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/Hydra/Serializer/PartialCollectionViewNormalizer.php:50)"} [] [2024-04-11T16:53:29.640556+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface\". at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/Hydra/Serializer/CollectionFiltersNormalizer.php:52)"} [] [2024-04-11T16:53:29.641184+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: Use an implementation of "ApiPlatform\Api\IriConverterInterface" instead of "ApiPlatform\Core\Api\IriConverterInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use an implementation of \"ApiPlatform\Api\IriConverterInterface\" instead of \"ApiPlatform\Core\Api\IriConverterInterface\". at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/JsonLd/Serializer/ObjectNormalizer.php:44)"} [] [2024-04-11T16:53:29.646297+00:00] php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface\". at /home/achiev35/public_html/myddleware/vendor/api-platform/core/src/Symfony/EventListener/DeserializeListener.php:63)"} [] [2024-04-11T16:53:30.013367+00:00] app.ERROR: Error unknown. [] [] [2024-04-11T16:53:30.023869+00:00] security.DEBUG: Stored the security token in the session. {"key":"_security_main"} []

Regards,

Raul Caparida Web Developer [image: AchieveTestPrep] (888) 900-8380 <8889008380>|AchieveTestPrep.com http://www.achievetestprep.com/ Facebook https://www.facebook.com/AchieveTestPrep/ | Instagram https://instagram.com/achieve.test.prep | LinkedIn https://www.linkedin.com/company/achieve-test-prep | YouTube https://youtube.com/user/AchieveTestPrep

On Thu, Apr 11, 2024 at 10:14 PM Raul Caparida < @.***> wrote:

I haven't really checked it... I'll let you know if it works.

Regards,

Raul Caparida Web Developer [image: AchieveTestPrep] (888) 900-8380 <8889008380>|AchieveTestPrep.com http://www.achievetestprep.com/ Facebook https://www.facebook.com/AchieveTestPrep/ | Instagram https://instagram.com/achieve.test.prep | LinkedIn https://www.linkedin.com/company/achieve-test-prep | YouTube https://youtube.com/user/AchieveTestPrep

On Thu, Apr 11, 2024 at 6:16 AM Myddleware @.***> wrote:

Thanks for this last information (it works on our demo). Could you check if the curl extension for PHP is installed on your server?

— Reply to this email directly, view it on GitHub https://github.com/Myddleware/myddleware/issues/1008#issuecomment-2048528323, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUP34M24M4PREB22HCOPDH3Y4W23ZAVCNFSM6AAAAAAXOQ5KIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBYGUZDQMZSGM . You are receiving this because you were mentioned.Message ID: @.***>

Myddleware commented 3 months ago

Hi @raulcaparida , I see no error or fatal logs, so it is difficul to say what is wrong. The problem seems to on the server side. However, if you are developer, you could try to debug Moodle or Salesforce connector. Here is the function for Moodle : https://github.com/Myddleware/myddleware/blob/13ed33bcc5a3c5f05a575dd4d20fcb4f3497f511/src/Solutions/moodle.php#L57

If you want us to debug your Myddleware's instance, please contact us directly. You will find our email address here : https://github.com/Myddleware

raulcaparida commented 3 months ago

Thanks, I'll check it out.

I turned on the debug mode and I got this error:

Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/cpanel/php/sessions/ea-php81) failed: Permission denied (13) I'll try to debug it myself first and see what happens... Is Myddleware 3.3.4a compatible with PHP 8.1? Thanks for your time though.

Regards,

Raul Caparida Web Developer [image: AchieveTestPrep] (888) 900-8380 <8889008380>|AchieveTestPrep.com http://www.achievetestprep.com/ Facebook https://www.facebook.com/AchieveTestPrep/ | Instagram https://instagram.com/achieve.test.prep | LinkedIn https://www.linkedin.com/company/achieve-test-prep | YouTube https://youtube.com/user/AchieveTestPrep

On Fri, Apr 12, 2024 at 1:26 AM Myddleware @.***> wrote:

Hi @raulcaparida https://github.com/raulcaparida , I see no error or fatal logs, so it is difficul to say what is wrong. The problem seems to on the server side. However, if you are developer, you could try to debug Moodle or Salesforce connector. Here is the function for Moodle : https://github.com/Myddleware/myddleware/blob/13ed33bcc5a3c5f05a575dd4d20fcb4f3497f511/src/Solutions/moodle.php#L57

If you want us to debug your Myddleware's instance, please contact us directly. You will find our email address here : https://github.com/Myddleware

— Reply to this email directly, view it on GitHub https://github.com/Myddleware/myddleware/issues/1008#issuecomment-2050164332, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUP34MZM2XF5OFEMKRCSUB3Y43BTTAVCNFSM6AAAAAAXOQ5KIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJQGE3DIMZTGI . You are receiving this because you were mentioned.Message ID: @.***>

Myddleware commented 3 months ago

Hi @raulcaparida , Yes Myddleware is compatible php 8.1 and 8.2. Could you make sure the webuser (could be www-data, httpd...) has the permission to write in the directory /var/cpanel/php/sessions/ea-php81 ? It seems that I can't create the session.

raulcaparida commented 3 months ago

yes, that's the problem, it doesn't have permission... as our admin said. so my plan right now is to change the location of the save_path somewhere that I can access and control.

Regards,

Raul Caparida Web Developer [image: AchieveTestPrep] (888) 900-8380 <8889008380>|AchieveTestPrep.com http://www.achievetestprep.com/ Facebook https://www.facebook.com/AchieveTestPrep/ | Instagram https://instagram.com/achieve.test.prep | LinkedIn https://www.linkedin.com/company/achieve-test-prep | YouTube https://youtube.com/user/AchieveTestPrep

On Fri, Apr 12, 2024 at 11:12 PM Myddleware @.***> wrote:

Hi @raulcaparida https://github.com/raulcaparida , Yes Myddleware is compatible php 8.1 and 8.2. Could you make sure the webuser (could be www-data, httpd...) has the permission to write in the directory /var/cpanel/php/sessions/ea-php81 ? It seems that I can't create the session.

— Reply to this email directly, view it on GitHub https://github.com/Myddleware/myddleware/issues/1008#issuecomment-2051953962, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUP34M56LVNXEZLGOSBJH5TY472UTAVCNFSM6AAAAAAXOQ5KIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJRHE2TGOJWGI . You are receiving this because you were mentioned.Message ID: @.***>

Myddleware commented 3 months ago

Perfect, please let me know if it works now. Thanks.