Weird error log after each PM is sent

Started by Will Bailey, September 09, 2004, 07:06:22 PM

Previous topic - Next topic

Will Bailey

Every time a member sends a PM, there is that error in the log:

8: Undefined index: pm_successfully_sent
Fichier: /home/gnrfr/domains/gnrfrancophone.net/public_html/smf/Sources/Subs-Post.php
Ligne: 466

What could be the problem? Thanx! :)

Ben_S

Liverpool FC Forum with 14 million+ posts.

Will Bailey

#2
Weird, I just installed the latest language pack (RC1)... :-\

Just in case, here's lines 462-466:

      // Send a notification, if enabled.
      if (!empty($row['im_email_notify']) && !empty($row['emailAddress']))
         $notifications[empty($row['lngfile']) || empty($modSettings['userLanguage']) ? $language : $row['lngfile']][] = $row['emailAddress'];

      $log['sent'][] = sprintf($txt['pm_successfully_sent'], $row['realName']);

[Unknown]

Quote from: Will Bailey on September 09, 2004, 07:22:25 PM
Weird, I just installed the latest language pack (RC1)... :-\

Can you double check that all installed languages (not just English!) have up-to-date files?

-[Unknown]

Alexandre P.

It was my error, I forgot to add an 's' in successfully on the line 27 of InstantMessage.french.php.

It should be $txt['pm_successfully_sent'] = 'Le Message a été envoyé à \'%s\'.';
Aucun support par M.P., courriel ou messagerie instantanée / No support by P.M., email or I.M.

[Unknown]

Quote from: Ap2 on September 19, 2004, 01:44:16 PM
It was my error, I forgot to add an 's' in successfully on the line 27 of InstantMessage.french.php.

It should be $txt['pm_successfully_sent'] = 'Le Message a été envoyé à \'%s\'.';

Actually, it used to be like that in like Beta 5... was a typo that was fixed.

-[Unknown]

Advertisement: