• Resolved nkelkar

    (@nkelkar)


    Hello,

    I have installed the Dataverse plugin and it is working.

    We need to now connect the Dynamics 365 plugin but are unable to connect. The error is below. Regardless of the username/password or OAuth/Secret option, the error is the same.

    There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.

    After setting WordPress Debug to true, here is the error. All these files have been set with permissions of 777 to diagnose (anyone can read/write/execute). Even with open permissions, the error persists.

    Fatal error: Uncaught UnexpectedValueException: The stream or file “//integration-dynamics-479486783-2025-03-07.log” could not be opened in append mode: Failed to open stream: Permission denied in /var/www/test.domain.com/wordpress/wp-content/plugins/integration-dynamics/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:115 Stack trace: #0 /var/www/test.domain.com/wordpress/wp-content/plugins/integration-dynamics/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(120): Monolog\Handler\StreamHandler->write() #1 /var/www/test.domain.com/wordpress/wp-content/plugins/integration-dynamics/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\Handler\RotatingFileHandler->write() #2 /var/www/test.domain.com/wordpress/wp-content/plugins/integration-dynamics/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\Handler\AbstractProcessingHandler->handle() #3 /var/www/test.domain.com/wordpress/wp-content/plugins/integration-dynamics/vendor/monolog/monolog/src/Monolog/Logger.php(656): Monolog\Logger->addRecord() #4 /var/www/test.domain.com/wordpress/wp-content/plugins/integration-dynamics/src/Plugin.php(290): Monolog\Logger->notice() #5 /var/www/test.domain.com/wordpress/wp-content/plugins/integration-dynamics/src/Admin/Tab/General.php(85): AlexaCRM\WordpressCRM\Plugin->purgeCache() #6 /var/www/test.domain.com/wordpress/wp-includes/class-wp-hook.php(324): AlexaCRM\WordpressCRM\Admin\Tab\General->checkCrmConnection() #7 /var/www/test.domain.com/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /var/www/test.domain.com/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /var/www/test.domain.com/wordpress/wp-admin/admin.php(237): do_action() #10 {main} thrown in /var/www/test.domain.com/wordpress/wp-content/plugins/integration-dynamics/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 115

    There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.

    Please let me know what steps can be taken to get a successful connection.

    Thanks

    • This topic was modified 3 days ago by nkelkar.
    • This topic was modified 3 days ago by nkelkar.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nkelkar

    (@nkelkar)

    Message from developer = Use Dataverse plugin as that supersedes Dynamics plugin. I can get information from Dynamics tables with FetchXML (use the FetchXML Builder at https://fetchxmlbuilder.com/)

    Plugin Author alexacrm

    (@alexacrm)

    Looks like the error is caused by lack of permissions for the logger to open file for read/write. By default it opens it in upload folder so permissions would need to be chacked on that one. But yes, Dataverse Integration plugin is definitely the one to use.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.