SMF Support > Install and Upgrade Help
Undefined Index errors in relation to language packages
marcnyc:
Hello, I upgraded from YaBB SE 1.5.5 to the latest SMF 1.0 Beta 5 Public and I am getting all these Undefined Index errors (modSettings_title, previous_next_back, previous_next_forward, aim_default_message etc)... The Admin page of the forum says that if I am getting error messages about undefined indexes my language files are old. I tried to check their versions and made sure there are no duplicates in the theme's directory (I don't really see how there could be) and I see some red question marks (next to Default Theme and Current Theme) and some red lettering (next to Language File) yet if I click on them they say that the version is 1.0 Beta 4.1 Public, which indeed IS the latest available package for the language I installed (italian). So I would like to understand if this error is due to the fact that there is no Beta 5 of the italian package yet or if it is due to something else, and if yes what, since I have the latest one... Thanks.
Owdy:
If you installed beta5p you need lang pack with same version number. Previous versions wont work, you get those errors. There are italian version for beta5p ;)
http://www.simplemachines.org/download.php#lang
marcnyc:
Strange, I had already downloaded the italian language pack from that page and it didn't do the trick the first time and it did the second time... I have different problems now, though...
On the log in page I now get:
Parse error: parse error, unexpected T_STRING in /home/virtual/site371/fst/var/www/html/gull/Themes/default/languages/Login.italian.php on line 59
Notice: Undefined offset: 633 in /home/virtual/site371/fst/var/www/html/gull/Themes/default/Login.template.php on line 73
Notice: Undefined offset: 634 in /home/virtual/site371/fst/var/www/html/gull/Themes/default/Login.template.php on line 79
Notice: Undefined offset: 635 in /home/virtual/site371/fst/var/www/html/gull/Themes/default/Login.template.php on line 80
Notice: Undefined offset: 636 in /home/virtual/site371/fst/var/www/html/gull/Themes/default/Login.template.php on line 80
Notice: Undefined offset: 637 in /home/virtual/site371/fst/var/www/html/gull/Themes/default/Login.template.php on line 80
plus if I go to the Languge version check in the ADMIN section I still get the red lettering I explained in the first post and I get these errors:
Notice: Undefined offset: 429 in /home/virtual/site371/fst/var/www/html/gull/Sources/Admin.php on line 886
Notice: Undefined offset: 429 in /home/virtual/site371/fst/var/www/html/gull/Themes/default/Admin.template.php on line 331
Any ideas? I am lost. I also tried re-running the upgrade.php file but it didn't change anything...
In case you wanna see the forum it's at http://www.marc-us.com/gull
Oldiesmann:
Looks like someone forgot to escape a ' someplace:
--- Quote ---$txt['admin_register_email_desc'] = 'Indirizzo Email dell' Utente<br />(richiesto se decidi di inviare i dettagli)';
--- End quote ---
Should probably be
--- Quote ---$txt['admin_register_email_desc'] = 'Indirizzo Email dell\' Utente<br />(richiesto se decidi di inviare i dettagli)';
--- End quote ---
marcnyc:
Thanks, that worked. I hope somebody can update that italian language pack.
Now only the other problem remains unsolved:
if I go to the Languge version check in the ADMIN section I still get the red lettering I explained in the first post and I get these errors:
Notice: Undefined offset: 429 in /home/virtual/site371/fst/var/www/html/gull/Sources/Admin.php on line 886
Notice: Undefined offset: 429 in /home/virtual/site371/fst/var/www/html/gull/Themes/default/Admin.template.php on line 331
Any ideas?
Also any ideas why after putting in the new 1.5beta italian language pack I still get RED lettering in the Admin/Language section as if it was a wrong or unknown (??) version?
Navigation
[0] Message Index
[#] Next page
Go to full version