News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Have A Problem In "PersonalMessage.php" Ver. RC3

Started by marwan, September 21, 2010, 03:41:22 PM

Previous topic - Next topic

marwan

I'll give you a hint. I think before I upgrade to RC3, when I was using 1.1. Someone changed some PM settings that to force a subject entry on a new PM and also to remove the (No Subject) default subject on new PM. I'm not sure if this change was applied by a mod or done manually. But I think this is related to the errors I'm getting.

live627

That is the cause of the problem! Your ./Themes/default/languages/index.engliah.php is missing the following entry:

$txt['no_subject'] = '(No subject)';

marwan

Quote from: live627 on September 22, 2010, 06:45:48 PM
That is the cause of the problem! Your ./Themes/default/languages/index.engliah.php is missing the following entry:

$txt['no_subject'] = '(No subject)';
Let's see if your idea will solve the problem. Please find attached the index.english file for your edition. I will test back and let you all know.

live627

I know it'll solve the problem for English. The patched file is attached.

marwan

Cleared the logs. Sent a test message to myself.

And...


The error does still come up.  :-\

live627

Did you clear the forum cache?

Admin > Maintenance > Forum Maintenance > Routine > Empty the File Cache

marwan

Quote from: live627 on September 22, 2010, 07:12:49 PM
Did you clear the forum cache?

Admin > Maintenance > Forum Maintenance > Routine > Empty the File Cache
Will do now and test again.

marwan

Yes! The error is not coming.

One last request, the default new PM subject is again (No Subject). Can you please modify the index.english file in a better way? What do you think? Keep it like that?

Oya

if you want to make there be a subject, change it to:

$txt['no_subject'] = '';

then clear the cache again and people will then have to put a title in

marwan

Quote from: Oya on September 22, 2010, 07:45:08 PM
if you want to make there be a subject, change it to:

$txt['no_subject'] = '';

then clear the cache again and people will then have to put a title in
Done. Tested to be working!

Advertisement: