Can't acces administration center after install language pack

Started by alexallex, March 14, 2019, 06:19:55 AM

Previous topic - Next topic

alexallex

Hi all,

I just install the romanian language pack on SMF 2.1 RC1 and if I change the preferred language in profile settings I cannot access the administration center. I get the following error:



Luckily I prefer english instead romanian for my default language so it's no trouble for me. I use Google Chrome on Windows 7 OS.

maximus23

Hi,

File Themes/default/languages/Who.romanian.php

Search :

$txt['who_index'] = 'Citește indexul secţiunii <a href="' . $scripturl . '">' . $context['forum_name_html_safe'] . '</a>.;

and replace by :

$txt['who_index'] = 'Citește indexul secţiunii <a href="' . $scripturl . '">' . $context['forum_name_html_safe'] . '</a>.';

:)
Pas de support par PM ou Courrier...Veuillez utiliser le forum pour vous avoir une réponse rapide à votre demande d'aide. Merci.
Amitiés et à Bientôt...
No support by PM or Mail...You will get better and faster responses in the support forums. Thank you.
Have a nice day...


alexallex

Now I get this error log from time to time (3-4 times per day):

Type of error: Undefined
8: Use of undefined constant php - assumed 'php
http://bacauleuropean.ro/index.php?action=credits
/home/bacauleu/public_html/Themes/default/languages/Who.romanian.php


Is it bad?

Shambles

You recently changed your Who.romanian.php file.

Can you attach it to your next post and we'll have a look.

alexallex

I have done just the modification form the second post. Here is the file

Shambles

How did you download that file? You've lost all your CR/LF pairs so the entire file looks like a comment.

Try the attached (which includes your previous edit)

alexallex

I used filezilla to upload/download files to server.

I have uploaded the new file. So far it looks ok. I will post here if new issues will appear.

Thank you!
Alex V.

Advertisement: