Support from Acquia helps fund testing for Drupal Acquia logo

Comments

asrob created an issue. See original summary.

asrob’s picture

asrob’s picture

Status: Active » Needs review
Abrahambauer’s picture

i have this problem , how can fix it ?

pazhyn’s picture

@Abrahambauer, if you have this warning you can check your settings.php file for SMTP module configurations.
This issue is created for this warning message to be translatable.

Abrahambauer’s picture

@pazhyn, when i update this module, i have this problem. settings.php and modolu configurations ok, but still continue.

pazhyn’s picture

Patch from #2 broke module settings page with error

Recoverable fatal error: Argument 2 passed to t() must be of the type array, string given, 
... 
SMTPConfigForm.php on line 38

because ) was not closed.
Please review the updated patch.

pazhyn’s picture

@Abrahambauer this is only a warning that if you have any fields disabled in module settings it means that these fields are overridden in settings.php
So if all fields are editable - it's ok. Maybe you had something overridden before.
You can create a separate issue for this if you think that this warning should not appear.

zviryatko’s picture

Status: Needs review » Reviewed & tested by the community

Tested, now translation works.

wundo’s picture

wundo’s picture

Priority: Normal » Minor

  • wundo committed 8ca72f1 on 8.x-1.x authored by pazhyn
    Issue #2755085 by asrob, pazhyn, Abrahambauer, wundo, zviryatko:...
wundo’s picture

Status: Reviewed & tested by the community » Fixed

The last submitted patch, 2: 2755085-translate-message-2.patch, failed testing.

The last submitted patch, 2: 2755085-translate-message-2.patch, failed testing.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

tuhongwei’s picture

I have this problem too, how can fix it ?
SMTP module is active.
Disabled fields are overridden in site-specific configuration file.
drupal8.2.3

estoyausente’s picture

@tuhongwei The problem is already fixed. Use the last version of the module and try again. If the problem persist, please try to explain the steps to replicate it and we can try fix it.

If the problem is different or the steps to replicate are different, please create a new issue with the description.

Thanks

Carlos Miranda Levy’s picture

Priority: Minor » Major
Issue tags: -Novice

This problem persists in the latest version.
If the default language of the site is changed to anything other than English, the Use encrypted protocol becomes disabled and the above mentioned is displayed.
Switching the default language to English allows properly configuration of the protocol in the module.
Latest version for both Drupal and SMTP as of March 18, 2017.

If you're having this problem, change the default language to English, return to the SMTP module configuration page, complete details, save and then switch your language back for the site.

Or, a simpler way, force the English interface to be shown by including /en/ and navigating to http://yourwebsitedomain.tld/en/admin/config/system/smtp

Config remains active.

ozidong’s picture

Disabled fields are overridden in site-specific configuration file

pipicom’s picture

https://www.drupal.org/node/2865696#comment-12016391 solved the problem for me; I am using version 8.x-1.0-beta2.

mypro911’s picture

I have this problem too, how can fix it ?

drupal 8.3.6