I use SMF 2.0 RC 1-1. When I go to Admin>>Mail>>Mail Setting, where I have to choose birthday mail template it's inactive
In the log it gives me error:
Apply Filter: Only show the error messages of this URL http://forum.softwarefreaks.org/index.php?action=admin;area=mailqueue;sa=settings;a8c046b=41a94ff25210f08651b2ee680e1512b0
Apply Filter: Only show the errors with the same message
2: Invalid argument supplied for foreach()
Apply Filter: Only show the errors from this file
file: ~/Sources/ManageMail.php
line: 305
http://forum.softwarefreaks.org/index.php?action=admin;area=mailqueue;sa=settings;a8c046b=41a94ff25210f08651b2ee680e1512b0
Apply Filter: Only show the errors with the same message
2: Invalid argument supplied for foreach()
Apply Filter: Only show the errors from this file
File: ~/Sources/ManageMail.php
Line: 251
The file "Managemail.php" has:
250 $emails = array();
251 foreach ($birthdayEmails as $index => $dummy)
252 $emails[$index] = $index;
305 foreach ($birthdayEmails as $index => $email)
Does the same problem occur with the English language files? I wonder if the birthday strings are missing
Quote from: H on July 12, 2009, 08:13:35 AM
Does the same problem occur with the English language files? I wonder if the birthday strings are missing
I'll try it later and will update this post.
Hi milenmk, did you have time to take a look at this? :)
Quote from: H on July 18, 2009, 06:21:53 PM
Hi milenmk, did you have time to take a look at this? :)
Yup. On English all is OK. However, I already installed v2 RC 1-2 and it's the same - can't see them on Bulgarian.
Please try downloading a new set of language files in case there was a temporary glitch. If the problem remains, please attach the EmailTemplates.galician.php file that you're using (from Themes/default/languages)
I've re-download Bulgarian UTF-8 for v2 RC 1-2 and replace EmailTemplates.bulgarian-utf8.php but no change. I can see the templates in the file, but they don't appear in settings section
There is a problem with the language file. I'll try and get this sorted with the language team. For now you can try copying the english file and renaming it so you atleast have something displayed
Thanks.
entry reputted like english one.
the bulgarian language was the only one concerned due to a bad modification on this entry (empty string). Corrected, and available at the next cron update of the packs (each 24h)
Quote from: GravuTrad on July 19, 2009, 08:20:30 PM
...Corrected, and available at the next cron update of the packs (each 24h)
Looking forward for it. :)