Support Forum

Email module error

ST Stefania
Stefania
Member

wp-content/plugins/simple-press/admin/panel-plugins/forms/spa-plugins-user-form.php on line 35

Can’t edit email configuration. Problems wit html email, too, if I try to add language translation:

 

Warning: file_get_contents(http://glotpress.simple-press.com/projects/simple-press-plugins/html-email/sp-html-email/it/default/export-translations?format=mo): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in/web/htdocs/www.mycuco.it/home/wp-content/plugins/simple-press/admin/panel-integration/ahah/spa-ahah-integration-langs.php on line 55
  Install failed – or there is no available translation

 

29 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Are you using SP 5.6.7 ? If so can you perform the upgrade released this past weekend as I think that might possibly be the cause.

MP Mr Papa
Mr Papa
Member

actually, Andy means if you are not on 5.6.7, please update to that latest version…

ST Stefania
Stefania
Member

Version: 5.6.7    Pack: 14199

Language Italian, and have 2 big problems: error of translation downloading with several plug-in and no way to update html email content. It doesn’t save text changes.

YS Yellow Swordfish
Yellow Swordfish
Member

Translation Files:
Can you tell me the actual language code your site is set to? WordPress has had some odd code constructions in the past. The actual name of your main WP language file would be useful. This can be found in the /wp-content/languages folder. Normally for Italian, WordPress uses it_IT.mo so can you tell me if this is what you have?

HTML EMails:
This might have something to do with accented characters. Are you using any characters that are accented or odd in any way? If so could you try it without them to see if that works and if it does we can work on a solution for that.

Actually – if this IS the case then could you also tell us the version of your mySQL database server? You can find this in the forum admin > toolbox > environment panel.

ST Stefania
Stefania
Member

Yellow Swordfish said
Translation Files:
Can you tell me the actual language code your site is set to? WordPress has had some odd code constructions in the past. The actual name of your main WP language file would be useful. This can be found in the /wp-content/languages folder. Normally for Italian, WordPress uses it_IT.mo so can you tell me if this is what you have?

HTML EMails:
This might have something to do with accented characters. Are you using any characters that are accented or odd in any way? If so could you try it without them to see if that works and if it does we can work on a solution for that.

Actually – if this IS the case then could you also tell us the version of your mySQL database server? You can find this in the forum admin > toolbox > environment panel.  

it_IT.mo, yes.

MySQL   Versione: 5.5.48
Prefisso: wp_

My blog is full of accented characters and can’t change this.

For the moment I disabled html email as users can’t recovery password (no way to insert the link for recovery). I place it, save and link disappears.

 

<h1>Password Reset</h1>
Someone requested that the password be reset for the following account:
Site: %SITEURL%

Password: %RESETURL%
Username: %USERNAME%

If this was a mistake, just ignore this email and nothing will happen.

After saving:

<h1>Password Reset</h1>
Someone requested that the password be reset for the following account:
Site: %SITEURL%

Username: %USERNAME%

If this was a mistake, just ignore this email and nothing will happen.

 Here errors in log

23 maggio 2016 20:50 | spaErrNotice | 27 | php

file: ocs/www.mycuco.it/home/wp-content/sp-resources/forum-plugins/html-email/sp-html-email-plugin.php
line: 314
function: sp_html_email_new_user_body
Notice | Undefined variable: pw

23 maggio 2016 20:50 | spaErrWarning | 27 | php

file: ocs/www.mycuco.it/home/wp-content/sp-resources/forum-plugins/html-email/sp-html-email-plugin.php
line: 312
function: sp_html_email_new_user_body
Warning | Missing argument 3 for sp_html_email_new_user_body()

YS Yellow Swordfish
Yellow Swordfish
Member

Ah… what about the version of the HTML Email plugin? That should be version 1.0.11 (You can check this is the forum admin > Plugins list. Is this up to date? There is nothing wrong with the text.

When I asked about accented or odd characters I did not mean within your blog posts. Just within the text you were trying to use in the HTML Email. But I see that your version of mySQL should be fine anyway.

I am very puzzled about this translation file issue. We have quite a large number of Italian users and I know they al use translated files with apparently no issue. So – let;s take another route. Do ANY of the core and/or plugin/theme translation files install correctly? If they do then can you tell me which plugins specifically do not?

ST Stefania
Stefania
Member

Yellow Swordfish said
Ah… what about the version of the HTML Email plugin? That should be version 1.0.11 (You can check this is the forum admin > Plugins list. Is this up to date? There is nothing wrong with the text.

When I asked about accented or odd characters I did not mean within your blog posts. Just within the text you were trying to use in the HTML Email. But I see that your version of mySQL should be fine anyway.

I am very puzzled about this translation file issue. We have quite a large number of Italian users and I know they al use translated files with apparently no issue. So – let;s take another route. Do ANY of the core and/or plugin/theme translation files install correctly? If they do then can you tell me which plugins specifically do not?  

HTML Emails
A Simple:Press plugin for sending Simple:Press emails in HTML

 

Warning: file_get_contents(http://glotpress.simple-press.com/projects/simple-press-plugins/membership-subscribe/sp-membership-subscribe/it/default/export-translations?format=mo): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in/web/htdocs/www.mycuco.it/home/wp-content/plugins/simple-press/admin/panel-integration/ahah/spa-ahah-integration-langs.php on line 55
  Install failed – or there is no available translation

for these plugins, too:

  • Membership Subscribe
  • Post Multiple Forums
  • Timezone On Registration
  • Topic Redirect
  • Post Anonymously
  • Post Multiple Forums

I tried to unistall, and install again, here errors log:

24 maggio 2016 13:28 | spaErrNotice | 1 | php

file: ocs/www.mycuco.it/home/wp-content/sp-resources/forum-plugins/html-email/sp-html-email-plugin.php
line: 314
function: sp_html_email_new_user_body
Notice | Undefined variable: pw

24 maggio 2016 13:28 | spaErrWarning | 1 | php

file: ocs/www.mycuco.it/home/wp-content/sp-resources/forum-plugins/html-email/sp-html-email-plugin.php
line: 312
function: sp_html_email_new_user_body
Warning | Missing argument 3 for sp_html_email_new_user_body()

24 maggio 2016 13:28 | spaErrWarning | 1 | php

file: /simple-press/admin/panel-integration/ahah/spa-ahah-integration-langs.php
line: 55
function: file_get_contents
Warning | file_get_contents(http://glotpress.simple-press.com/projects/simple-press-plugins/html-email/sp-html-email/it/default/export-translations?format=mo): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found

24 maggio 2016 13:28 | spaErrNotice | 6 | php

file: ocs/www.mycuco.it/home/wp-content/sp-resources/forum-plugins/topic-expire/sp-topic-expire-plugin.php
line: 192
function: sp_topic_expire_forum_records
Notice | Undefined property: stdClass::$expire_date

 

YS Yellow Swordfish
Yellow Swordfish
Member

I believe I now know a reason for the translation files issue. I need to talk to a colleague about the best way to sort the problem out but hopefully I can get those fixed up some time over the next 24 hours.

The HTML Emails still puzzles me if only because we use that particular email ourselves with no apparent problem. So it is odd. But I will dig into the code to see if I can find what might be going on.

I will come back to the thread when I know…

MP Mr Papa
Mr Papa
Member

They are working for me now..  so think its corrected…

YS Yellow Swordfish
Yellow Swordfish
Member

And I am going to dig into the html email code this morning to see if I can find any reason for that

YS Yellow Swordfish
Yellow Swordfish
Member

I think I have the HTML Email issue resolved. We will push out an update pretty quickly after testing. If you want to edit the code for the fixes I can publish them here – there are two files affected.

Apologies for the problem. WordPress changed their change password core code a couple fo versions back and we clearly missed one change we needed to make to account for it.

YS Yellow Swordfish
Yellow Swordfish
Member

Just so you know, our mail server seems unable to send your emails (subscriptions) so we are getting a lot of bounced email notifications, No reason given in the messages we are getting back from the server.

ST Stefania
Stefania
Member

Yellow Swordfish said
Just so you know, our mail server seems unable to send your emails (subscriptions) so we are getting a lot of bounced email notifications, No reason given in the messages we are getting back from the server.  

Sent you a pm, withan alternative email address.

 

ST Stefania
Stefania
Member

Yellow Swordfish said
I think I have the HTML Email issue resolved. We will push out an update pretty quickly after testing. If you want to edit the code for the fixes I can publish them here – there are two files affected.

Apologies for the problem. WordPress changed their change password core code a couple fo versions back and we clearly missed one change we needed to make to account for it.  

Yes, please.