Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter florianbad

    (@florianbad)

    One addtional information that might be helpful for any soltuions:
    I used an plugin called Media Sync. it checks your files on the hosted environment if they are available in the database or not. And in our case it seems that no file is really in the database (anyway I see a small preview in the list view from the media library). I was not able to import them with the tool.
    I am not sure if I already mentioned it: but we host the web server in our own local network. In this case we always transferred files directly through the Windows Explorer directly in the file share.
    Is that maybe the problem? Maybe the Media Library cannot recognize the files uploaded this way?

    Thread Starter florianbad

    (@florianbad)

    @rickymccallum87 Thanks for all the information you gathered. I checked it out and there were interesting work around mentioned. But none of them helped.
    I am not sure what the issue is but is always a little different then the mentioned problems in the article.

    Anyone other ideas?

    Thread Starter florianbad

    (@florianbad)

    @johancrous699 Thanks for the tip. I tried it but in my envrionment it doesnt solve the issue.

    Thread Starter florianbad

    (@florianbad)

    @schakko
    Yes that is right. Right now I deactivated the SSO feature and this seems to work. Now the only thing is that he asks two times for a login and I guess thats because the SSO is not working.

    I guess I have to check the PHP log to see why the SSO is not working? Or should I find something in the NADI log?

    Thread Starter florianbad

    (@florianbad)

    @schakko
    Okay I maybe was a little bit fast. It seems that I used by accident a cached website and that this was working.
    But now I heard from users that the page is not reachable anymore. I always can only fix this when I deactivate the plugin. So the Sync is now working, but the page stops working completely when the plugin is activated in the background?!

    Thread Starter florianbad

    (@florianbad)

    @schakko
    The problem is solved with the update. Thanks again for the detailled and quick help. I had to re-add the plugin again to the plugins folder but maybe this was only an issue of our installation.

    Kind regards.

    Thread Starter florianbad

    (@florianbad)

    @schakko
    Ah okay sorry that I didnt follwed up. But thanks for clearing it up. Then I will install the update tomorrow and will have a look at it.

    When it is resolved I will post the result here so we can close the thread.

    Thanks anyway for your quick and prompt support.

    Thread Starter florianbad

    (@florianbad)

    @schakko

    So I found the PHP log file and there was this entry:

    [03-May-2021 09:54:14 UTC] PHP Warning: A non-numeric value encountered in C:\XAMPP\htdocs\wordpress\wp-content\plugins\next-active-directory-integration.hold\classes\Adi\Synchronization\WordPress.php on line 345
    [03-May-2021 09:54:14 UTC] PHP Fatal error: Uncaught Error: Call to a member function getDomainPartAsSid() on null in C:\XAMPP\htdocs\wordpress\wp-content\plugins\next-active-directory-integration.hold\classes\Adi\Synchronization\WordPress.php:419
    Stack trace:
    #0 C:\XAMPP\htdocs\wordpress\wp-content\plugins\next-active-directory-integration.hold\classes\Adi\Synchronization\WordPress.php(133): NextADInt_Adi_Synchronization_WordPress->synchronizeUser(Object(NextADInt_Adi_Authentication_Credentials), ’40b57468-6afc-4…’)
    #1 C:\XAMPP\htdocs\wordpress\wp-content\plugins\next-active-directory-integration.hold\classes\Adi\Synchronization\Ui\SyncToWordPressPage.php(114): NextADInt_Adi_Synchronization_WordPress->synchronize()
    #2 C:\XAMPP\htdocs\wordpress\wp-content\plugins\next-active-directory-integration.hold\classes\Adi\Synchronization\Ui\SyncToWordPressPage.php(69): NextADInt_Adi_Synchronization_Ui_SyncToWordPressPage->processData(Array)
    #3 C:\XAMPP\htdocs\wordpress\wp-includes\class-wp-hook.php(292): NextADInt_Adi_Synchronization_Ui_SyncToWordPressPage->r in C:\XAMPP\htdocs\wordpress\wp-content\plugins\next-active-directory-integration.hold\classes\Adi\Synchronization\WordPress.php on line 419`

    Thread Starter florianbad

    (@florianbad)

    @schakko
    I think you are right because the logs shows users he can find but the import was not done to WordPress.

    Now you have to bear a little bit with me: what exact log can I search for? the information from the first post are from an automated created e mail from WordPress with error information.

    Thread Starter florianbad

    (@florianbad)

    @schakko
    Update: So I activated the add in again to get a new log entry and the interessting thing is: he can connect to the AD with the information given. In the log I can see all the user details and what he is sharing. So I can see details from our AD structure (groups and users) that he can only see with access to the AD.
    But also when the log shows a status that the import works the WordPress page shows the following error when we initiate the AD sync by button click: “There has been a critical error on this website. Please check your site admin email inbox for instructions.”

    Thread Starter florianbad

    (@florianbad)

    Hi @schakko
    First thanks for your quick reply.

    The NADI addon worked the whole time. The interesting thing was it also worked when our PHP still was a very old version.
    Now we updated the PHP version that we can use NADI again. When we deactivate NADI everything works. And irritating is: when we deactivate NADI, log in to the administration and then activate it again the plug in is activated. We can check the configuration and everything. But when we want to synchronize it fails.

    Until now we also didnt activated any new plugins that there would be a problem with cross errors.

    So there is a log existing. The times mentioned are interessting and because it is a company site there are some details that have information from our internal network. I know that is not the best way but is there an option I can lookout for?

Viewing 11 replies - 1 through 11 (of 11 total)