Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
almarin

Вопрос про ошибки 'subs_with_post' и 'lost_pass'

Recommended Posts

Стоит 2.2.1.

В Админке в меню View Email Error Logs выдает такие ошибки:

 

Could not find an email template with an ID of 'subs_with_post'

 

и

 

Could not find an email template with an ID of 'lost_pass'

 

Я так понимаю, что проблема с темплейтами. Вопрос, как это исправить? Где копать?

 

Заранее грандмерси.

Share this post


Link to post
Share on other sites

Наверно нету lang_email.php файла в директории cache/lang_cache/*/

Share this post


Link to post
Share on other sites
Наверно нету lang_email.php файла в директории cache/lang_cache/*/

 

Спасибо за ответ!

В указанных папках (ru и eng) нашел два файла

lang_email_content.php

lang_emails.php

 

 

Где копать дальше?

Share this post


Link to post
Share on other sites

Проверьте, что в lang_email_content.php есть следующее(пример для английского):

$lang['subject__subs_with_post'] = 'Topic Subscription Reply Notification';

$lang['subs_with_post'] = <<<EOF
<#NAME#>,

<#POSTER#> has just posted a reply to a topic that you have subscribed to titled "<#TITLE#>".

----------------------------------------------------------------------
<#POST#>
----------------------------------------------------------------------

The topic can be found here:
<#BOARD_ADDRESS#>?showtopic=<#TOPIC_ID#>&view=getnewpost



If you have configured in your control panel to receive immediate topic reply notifications, you may receive an
email for each reply made to this topic.  Otherwise, only 1 email is sent per board visit for each subscribed topic. 
This is to limit the amount of mail that is sent to your inbox.

Unsubscribing:
--------------

You can unsubscribe at any time by logging into your control panel and clicking on the "View Topics" link.

EOF;

$lang['lost_pass'] = <<<EOF

<#NAME#>,
This email has been sent from <#BOARD_ADDRESS#>.

You have received this email because a user account password recovery
was instigated by you on <#BOARD_NAME#>.

------------------------------------------------
IMPORTANT!
------------------------------------------------

If you did not request this password change, please IGNORE and DELETE this
email immediately. Only continue if you wish your password to be reset!

------------------------------------------------
Activation Instructions Below
------------------------------------------------

We require that you "validate" your password recovery to ensure that
you instigated this action. This protects against
unwanted spam and malicious abuse.

Simply click on the link below and complete the rest of the form

<#THE_LINK#>

(AOL Email users may need to copy and paste the link into your web
browser).

------------------------------------------------
Not working?
------------------------------------------------

If you could not validate your registration by clicking on the link, please
visit this page:

<#MAN_LINK#>

It will ask you for a user id number, and your validation key. These are shown
below:

User ID: <#ID#>

Validation Key: <#CODE#>

Please copy and paste, or type those numbers into the corresponding fields in the form.

------------------------------------------------
Is this not working?
------------------------------------------------

If you cannot re-activate your account, it's possible that the account has been removed or you
are in the process of another activation, such as registering or changing your registered email address.
If this is the case, then please complete the previous activation.
If the error persists, please contact an administrator to rectify the problem.

IP address of sender: <#IP_ADDRESS#>


EOF;

Share this post


Link to post
Share on other sites
Проверьте, что в lang_email_content.php есть следующее(пример для английского):

 

 

ССССССССССССССССССССССУУУУУУПЕР!!!!!!!! ))))

Отлично! Спасибо огромное!! Наконец-то починилось! Огромное спасибо, коллега!

 

Может кто-нибудь выложить этот _русский_ файл в архиве? Или выслать на almarin(dog)mail.ru

 

Спасибо!!!

Edited by almarin

Share this post


Link to post
Share on other sites

Люди подскажите как включить эту опцию приходит только уведомление без текста сообщения все в php стоит как написано здесь.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...