• Resolved tubbutec

    (@tubbutec)


    After changing the password on the Portokasse website and then trying to buy labels, we get the error:

    Error Details
    =============
    An error of type E_ERROR was caused in line 174 of the file /var/www/virtual/xxxx/html/wp-content/plugins/woo-dp-internetmarke/includes/connectors/soap/OC4A.php. Error message: Uncaught SoapFault exception: [soap:Server] Unknown user or invalid password in /var/www/virtual/xxxx/html/wp-content/plugins/woo-dp-internetmarke/includes/connectors/soap/OC4A.php:174
    Stack trace:
    #0 /var/www/virtual/xxxx/html/wp-content/plugins/woo-dp-internetmarke/includes/connectors/soap/OC4A.php(174): SoapClient->__soapCall(‘authenticateUse…’, Array)
    #1 /var/www/virtual/xxxx/html/wp-content/plugins/woo-dp-internetmarke/includes/admin/MetaBoxes.php(221): WCDPI\Connectors\SOAP\OC4A->authenticateUser()
    #2 /var/www/virtual/xxxx/html/wp-admin/includes/template.php(1304): WCDPI\Admin\MetaBoxes->internetmarkeLabelMetaBox(Object(WP_Post), Array)
    #3 /var/www/virtual/xxxx/html/wp-admin/edit-form-advanced.php(642): do_meta_boxes(Object(WP_Screen), ‘normal’, Object(WP_Post))
    #4 /var/www/virtual/xxxx/html/wp-admin/post.php(197): include(‘/var/www/virtua…’)
    #5 {main}
    thrown

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello @tubbutec,

    thank you for your message and for using our plugin.

    Have you tried logging out of your Portokasse account from inside the plugin, then logging back in with the new password?

    The error clearly indicates, that the username/password combination doesn’t exist. It could have to do with the old password still being stored in the configuration.

    Thread Starter tubbutec

    (@tubbutec)

    I would love to do that, but do not have access to the plugin config.
    Opening the dashboard only shows:

    “The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.”
    This I believe is a message from the ‘Wordfence Security’ plugin. Do not want to turn it off and risk having access to the complete site.

    Any way to change user and password in the database? phpmyadmin?
    thanks

    Hello @tubbutec,

    ah I understand now.

    Yes, there is a way to remove the credentials directly from the database. You’ll have to do the same thing the logout function does, which is:

    public function portokasseLogout()
    {
        delete_option('_wcdpi_user_credentials');
        delete_option('_wcdpi_settings_portokasse');
    }

    This means that you’ll have to delete two rows from the wp_options table (You can use phpmyadmin for this). Delete the rows with the following option_name value: _wcdpi_user_credentials.

    If you also delete the _wcdpi_settings_portokasse row, then your plugin settings will be deleted and you will have to reconfigure the plugin.

    Please let me know if this solved the problem.

    Thread Starter tubbutec

    (@tubbutec)

    Thanks I am now able to enter new credentials, however get the error message:

    “Unknown user or invalid password”

    Even though it is certainly the correct username and password for Portokasse (I can login on the portokasse website just fine)

    @tubbutec,

    can you repeat the process again, only this time also delete the settings option? It could be that there’s something left over in those. The downside of this is that you will have to reconfigure the plugin through the settings page.

    Thread Starter tubbutec

    (@tubbutec)

    Unfortunately does not help.

    I’ve now deleted one after another all entries with _wcdpi, but even with all deleted the credentials are not accepted.

    @tubbutec,

    do you have a second Portokasse account with which you could try logging in? Just to rule out the account as the problem source.

    If that’s not the case, then please send us an email at [email protected] with your Portokasse email address. We will forward it to the Deutsche Post just to see if everything is alright with it.

    Thread Starter tubbutec

    (@tubbutec)

    Ok, figured it out.

    the password contained a %-symbol. I am guessing it’s not escaped properly ?
    After changing the password I can now log in again

    @tubbutec,

    this is most interesting. We have had similar problems with passwords containing uppercase letters.

    I will add this into our backlog as a possible bug.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Soap error after changing portokasse password’ is closed to new replies.