Language errors after updating to 3.3.11

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
lochness
Registered User
Posts: 115
Joined: Tue Aug 07, 2007 12:04 pm

Language errors after updating to 3.3.11

Post by lochness »

Support Request Template
What version of phpBB are you using? phpBB 3.3.11
What is your board's URL? https://www.abretelibro.com/foro
Who do you host your board with? Linode
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Update from a previous version of phpBB3
Is registration required to reproduce this issue? No
Do you have any MODs installed? No
Do you have any extensions installed? Yes
What version of phpBB3 did you update from? phpBB 3.0-B1
What extensions do you have installed? Topic prefix
Board announcement
Amazon affiliate
Board rules
Similar threads
What styles do you currently have installed? Prosilver
What language(s) is your board currently using? Spanish
Which database type/version are you using? MariaDB
What is your level of experience? New to PHP but not phpBB
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? I did an update from phpbb 3.3.1 to phpbb 3.3.11 with the changed files package and then updated the language pack.
Please describe your problem. There are two:
Path for permissions_phpbb.php points to a folder inside the English language. viewtopic.php?t=2645962&start=15

Got error 'PHP message: PHP Fatal error: Uncaught phpbb\\language\\exception\\language_file_not_found: Language file ./../language/en/language/es_x_tu/acp/permissions_phpbb.php couldn't be opened. in /home/users//phpbb/language/language_file_loader.php:186\nStack trace:\n#0 /home/users//phpbb/language/language_file_loader.php(143): phpbb\\language\\language_file_loader->get_language_file_path()\n#1 /home/users//phpbb/language/language_file_loader.php(77): phpbb\\language\\language_file_loader->load_file()\n#2 /home/users//phpbb/language/language.php(625): phpbb\\language\\language_file_loader->load()\n#3 /home/users//phpbb/language/language.php(184): phpbb\\language\\language->load_core_file()\n#4 /home/users//phpbb/user.php(566): phpbb\\language\\language->add_lang()\n#5 /home/users//phpbb/user.php(536): phpbb\\user->set_lang()\n#6 /home/users/...', referer: https://www.abretelibro.com/foro/adm/in ... lang_packs
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72471
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: Language errors after updating to 3.3.11

Post by KevC »

lochness wrote: Fri May 10, 2024 6:33 pm language_file_not_found: Language file ./../language/en/language/es_x_tu/acp/permissions_phpbb.php couldn't be opened.
Tells you right there. It can't find the language because you've uploaded it to the wrong place.
You've put the whole language folder in the /language/en

You should have
/language/en
and
/language/es_x_tu

NOT
/language/en/language/es_x_tu
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
lochness
Registered User
Posts: 115
Joined: Tue Aug 07, 2007 12:04 pm

Re: Language errors after updating to 3.3.11

Post by lochness »

Noooooo, the language is not nested inside the English file. Only that file to be able to manage permissions.

Just to be clear, this is the content of the language directory right now.
en es es_x_tu index.htm

Code: Select all

XXXXXlanguage/en:
acp                    cli.php     help         language        plupload.php  viewforum.php
app.php                common.php  index.htm    mcp.php         posting.php   viewtopic.php
captcha_qa.php         email       install.php  memberlist.php  search.php
captcha_recaptcha.php  groups.php  iso.txt      migrator.php    ucp.php

XXXXXlanguage/en/acp:
attachments.php  common.php      forums.php    modules.php            profile.php  users.php
ban.php          database.php    groups.php    permissions.php        prune.php
board.php        email.php       index.htm     permissions_phpbb.php  search.php
bots.php         extensions.php  language.php  posting.php            styles.php

XXXXXlanguage/en/email:
admin_activate.txt           pm_report_closed.txt    test.txt
admin_send_email.txt         pm_report_deleted.txt   topic_approved.txt
admin_welcome_activated.txt  post_approved.txt       topic_disapproved.txt
admin_welcome_inactive.txt   post_disapproved.txt    topic_in_queue.txt
bookmark.txt                 post_in_queue.txt       topic_notify.txt
contact_admin.txt            privmsg_notify.txt      user_activate_inactive.txt
coppa_resend_inactive.txt    profile_send_email.txt  user_activate_passwd.txt
coppa_welcome_inactive.txt   profile_send_im.txt     user_activate.txt
email_notify.txt             quote.txt               user_forgot_password.txt
forum_notify.txt             report_closed.txt       user_reactivate_account.txt
group_added.txt              report_deleted.txt      user_remind_inactive.txt
group_request.txt            report_pm_closed.txt    user_resend_inactive.txt
index.htm                    report_pm.txt           user_welcome_inactive.txt
installed.txt                report_post.txt         user_welcome.txt
newtopic_notify.txt          short

XXXXXlanguage/en/email/short:
bookmark.txt         post_disapproved.txt  quote.txt        topic_approved.txt     topic_notify.txt
newtopic_notify.txt  post_in_queue.txt     report_pm.txt    topic_disapproved.txt
post_approved.txt    privmsg_notify.txt    report_post.txt  topic_in_queue.txt

XXXXXlanguage/en/help:
bbcode.php  faq.php

XXXXXlanguage/en/language:
es_x_tu

XXXXXlanguage/en/language/es_x_tu:
acp

XXXXXlanguage/en/language/es_x_tu/acp:
permissions_phpbb.php

XXXXXlanguage/es:
acp                    cli.php     index-1.html  mcp.php         README.md
app.php                common.php  index.htm     memberlist.php  search.php
AUTHORS.md             email       install.php   migrator.php    ucp.php
captcha_qa.php         groups.php  iso.txt       plupload.php    viewforum.php
captcha_recaptcha.php  help        LICENSE       posting.php     viewtopic.php

XXXXXlanguage/es/acp:
attachments.php  common.php      forums.php    modules.php            profile.php  users.php
ban.php          database.php    groups.php    permissions.php        prune.php
board.php        email.php       index.htm     permissions_phpbb.php  search.php
bots.php         extensions.php  language.php  posting.php            styles.php

XXXXXlanguage/es/email:
admin_activate.txt           newtopic_notify.txt     short
admin_send_email.txt         pm_report_closed.txt    test.txt
admin_welcome_activated.txt  pm_report_deleted.txt   topic_approved.txt
admin_welcome_inactive.txt   post_approved.txt       topic_disapproved.txt
bookmark.txt                 post_disapproved.txt    topic_in_queue.txt
contact_admin.txt            post_in_queue.txt       topic_notify.txt
coppa_resend_inactive.txt    privmsg_notify.txt      user_activate_inactive.txt
coppa_welcome_inactive.txt   profile_send_email.txt  user_activate_passwd.txt
email_notify.txt             profile_send_im.txt     user_activate.txt
forum_notify.txt             quote.txt               user_reactivate_account.txt
group_added.txt              report_closed.txt       user_remind_inactive.txt
group_request.txt            report_deleted.txt      user_resend_inactive.txt
index.htm                    report_pm.txt           user_welcome_inactive.txt
installed.txt                report_post.txt         user_welcome.txt

XXXXXlanguage/es/email/short:
bookmark.txt         post_disapproved.txt  quote.txt        topic_approved.txt     topic_notify.txt
newtopic_notify.txt  post_in_queue.txt     report_pm.txt    topic_disapproved.txt
post_approved.txt    privmsg_notify.txt    report_post.txt  topic_in_queue.txt

XXXXXlanguage/es/help:
bbcode.php  faq.php

XXXXXlanguage/es_x_tu:
acp             captcha_recaptcha.php  groups.php   iso.txt         migrator.php  search.php
app.php         cli.php                help         LICENSE         plupload.php  ucp.php
AUTHORS.md      common.php             index.htm    mcp.php         posting.php   viewforum.php
captcha_qa.php  email                  install.php  memberlist.php  README.md     viewtopic.php

XXXXXlanguage/es_x_tu/acp:
attachments.php  common.php      forums.php    modules.php            profile.php  users.php
ban.php          database.php    groups.php    permissions.php        prune.php
board.php        email.php       index.htm     permissions_phpbb.php  search.php
bots.php         extensions.php  language.php  posting.php            styles.php

XXXXXlanguage/es_x_tu/email:
admin_activate.txt           pm_report_closed.txt    test.txt
admin_send_email.txt         pm_report_deleted.txt   topic_approved.txt
admin_welcome_activated.txt  post_approved.txt       topic_disapproved.txt
admin_welcome_inactive.txt   post_disapproved.txt    topic_in_queue.txt
bookmark.txt                 post_in_queue.txt       topic_notify.txt
contact_admin.txt            privmsg_notify.txt      user_activate_inactive.txt
coppa_resend_inactive.txt    profile_send_email.txt  user_activate.txt
coppa_welcome_inactive.txt   profile_send_im.txt     user_forgot_password.txt
email_notify.txt             quote.txt               user_reactivate_account.txt
forum_notify.txt             report_closed.txt       user_remind_inactive.txt
group_added.txt              report_deleted.txt      user_resend_inactive.txt
group_request.txt            report_pm_closed.txt    user_welcome_inactive.txt
index.htm                    report_pm.txt           user_welcome.txt
installed.txt                report_post.txt
newtopic_notify.txt          short

XXXXXlanguage/es_x_tu/email/short:
bookmark.txt         post_disapproved.txt  quote.txt        topic_approved.txt     topic_notify.txt
newtopic_notify.txt  post_in_queue.txt     report_pm.txt    topic_disapproved.txt
post_approved.txt    privmsg_notify.txt    report_post.txt  topic_in_queue.txt

XXXXXlanguage/es_x_tu/help:
bbcode.php  faq.php
lochness
Registered User
Posts: 115
Joined: Tue Aug 07, 2007 12:04 pm

Re: Language errors after updating to 3.3.11

Post by lochness »

By the way, the es has not been updated right now. the updated language packs are validated ffor 3.3.11 but also missing some files and parameters.
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72471
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: Language errors after updating to 3.3.11

Post by KevC »

lochness wrote: Fri May 10, 2024 8:13 pm Noooooo, the language is not nested inside the English file.
lochness wrote: Fri May 10, 2024 8:13 pm XXXXXlanguage/en:
acp cli.php help language plupload.php viewforum.php
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
lochness
Registered User
Posts: 115
Joined: Tue Aug 07, 2007 12:04 pm

Re: Language errors after updating to 3.3.11

Post by lochness »

KevC wrote: Fri May 10, 2024 8:23 pm
lochness wrote: Fri May 10, 2024 8:13 pm Noooooo, the language is not nested inside the English file.
lochness wrote: Fri May 10, 2024 8:13 pm XXXXXlanguage/en:
acp cli.php help language plupload.php viewforum.php
Go further down...
XXXXXlanguage/en/language:
es_x_tu

XXXXXlanguage/en/language/es_x_tu:
acp

XXXXXlanguage/en/language/es_x_tu/acp:
permissions_phpbb.php
The installed language packs are en es es_x_tu It's the first line in the list.
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72471
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: Language errors after updating to 3.3.11

Post by KevC »

I'll say it again. And you're backing it up by showing it yourself.
KevC wrote: Fri May 10, 2024 8:08 pm You've put the whole language folder (for the added es_x_tu language) in the /language/en
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
lochness
Registered User
Posts: 115
Joined: Tue Aug 07, 2007 12:04 pm

Re: Language errors after updating to 3.3.11

Post by lochness »

Since when a single file is the whole language pack?
KevC wrote: Fri May 10, 2024 8:54 pm I'll say it again. And you're backing it up by showing it yourself.
KevC wrote: Fri May 10, 2024 8:08 pm You've put the whole language folder (for the added es_x_tu language) in the /language/en
lochness wrote: Fri May 10, 2024 8:36 pm
KevC wrote: Fri May 10, 2024 8:23 pm
This is the file I had to copy inside the English pack to check and manage permissions.
Go further down...

Code: Select all

XXXXXlanguage/en/language:
es_x_tu

XXXXXlanguage/en/language/es_x_tu:
acp

[color=#FF0000]XXXXXlanguage/en/language/es_x_tu/acp:
permissions_phpbb.php[/color]
[/quote]
The installed language packs are en es es_x_tu  It's the first line in the list.
[/quote]
This is the whole language pack below. Not nested in the English language pack.
[quote=lochness post_id=16011247 time=1715371980 user_id=345400]
XXXXXlanguage/es_x_tu:
acp             captcha_recaptcha.php  groups.php   iso.txt         migrator.php  search.php
app.php         cli.php                help         LICENSE         plupload.php  ucp.php
AUTHORS.md      common.php             index.htm    mcp.php         posting.php   viewforum.php
captcha_qa.php  email                  install.php  memberlist.php  README.md     viewtopic.php

XXXXXlanguage/es_x_tu/acp:
attachments.php  common.php      forums.php    modules.php            profile.php  users.php
ban.php          database.php    groups.php    permissions.php        prune.php
board.php        email.php       index.htm     [color=#FF0000]permissions_phpbb.php[/color]  search.php
bots.php         extensions.php  language.php  posting.php            styles.php

XXXXXlanguage/es_x_tu/email:
admin_activate.txt           pm_report_closed.txt    test.txt
admin_send_email.txt         pm_report_deleted.txt   topic_approved.txt
admin_welcome_activated.txt  post_approved.txt       topic_disapproved.txt
admin_welcome_inactive.txt   post_disapproved.txt    topic_in_queue.txt
bookmark.txt                 post_in_queue.txt       topic_notify.txt
contact_admin.txt            privmsg_notify.txt      user_activate_inactive.txt
coppa_resend_inactive.txt    profile_send_email.txt  user_activate.txt
coppa_welcome_inactive.txt   profile_send_im.txt     user_forgot_password.txt
email_notify.txt             quote.txt               user_reactivate_account.txt
forum_notify.txt             report_closed.txt       user_remind_inactive.txt
group_added.txt              report_deleted.txt      user_resend_inactive.txt
group_request.txt            report_pm_closed.txt    user_welcome_inactive.txt
index.htm                    report_pm.txt           user_welcome.txt
installed.txt                report_post.txt
newtopic_notify.txt          short

XXXXXlanguage/es_x_tu/email/short:
bookmark.txt         post_disapproved.txt  quote.txt        topic_approved.txt     topic_notify.txt
newtopic_notify.txt  post_in_queue.txt     report_pm.txt    topic_disapproved.txt
post_approved.txt    privmsg_notify.txt    report_post.txt  topic_in_queue.txt

XXXXXlanguage/es_x_tu/help:
bbcode.php  faq.php
User avatar
ssl
Registered User
Posts: 1842
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Language errors after updating to 3.3.11

Post by ssl »

lochness wrote: Sat May 11, 2024 6:10 am This is the whole language pack below. Not nested in the English language pack.
No this does not correspond to the language package which can be downloaded here.
As the next version will be released soon, after several months of using version 3.3.11, do you really think that no one would have noticed these errors?
Sorry for my English ... I do my best!

phpBB: 3.3.12 | PHP: 8.3.7
[Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
lochness
Registered User
Posts: 115
Joined: Tue Aug 07, 2007 12:04 pm

Re: Language errors after updating to 3.3.11

Post by lochness »

Well, I can assure those are the contents from the file I downloaded yesterday here.

And how many people update every time there’s an upgrade, or even an update? Last time I was ready to update my version was after php 8.0 was launched and I upgraded that in the server for other domains, but back then phpBB 3.3.x didn’t support it, so I held that back. Until yesterday. And of those to upgrade each and every time, how many use a language other than English?

There’s a reason stable versions are maintained for four or five years.
User avatar
ssl
Registered User
Posts: 1842
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Language errors after updating to 3.3.11

Post by ssl »

Go ask on the phpBB Spain forum if they use English as their default language :lol:
Sorry for my English ... I do my best!

phpBB: 3.3.12 | PHP: 8.3.7
[Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72471
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: Language errors after updating to 3.3.11

Post by KevC »

I know you're saying you have the language pack uploaded to the right place, but you ALSO have it (or a portion of it) uploaded to the /language/en/ folder.

Delete the /language/en/language/ folder. It should not be there.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
User avatar
warmweer
Jr. Extension Validator
Posts: 11460
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Language errors after updating to 3.3.11

Post by warmweer »

lochness' last activity was on 11 May 2024, 10:15 which is kind of strange as his issue didn't seem to have been resolved.

To summarise:

The spanish_casual_honorifics_3_3_10.zip contains a folder spanish_casual_honorifics_3_3_10

It's the contents of that folder (3 separate directories):
ext/
language/
styles/

have to be copied to the board root

If you are using extra styles, then you may have to make a copy of the styles/prosilver/ from the language pack and rename "prosilver" to your extra-style-name/ (not literally, but to the name of the extra style you're using) and upload that also.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
lochness
Registered User
Posts: 115
Joined: Tue Aug 07, 2007 12:04 pm

Re: Language errors after updating to 3.3.11

Post by lochness »

KevC wrote: Sat May 11, 2024 10:47 am I know you're saying you have the language pack uploaded to the right place, but you ALSO have it (or a portion of it) uploaded to the /language/en/ folder.

Delete the /language/en/language/ folder. It should not be there.
I had to put it there manually to get rid of the blank page and be able to access the permission page.

And it’s been a lot of years since i last used a second style. It was a pita with upgrades so i dropped the one we were using, which was the most similar at the time to subsilver.

By the way, @warmweer, I currently have a bigger problem with the board, which is a steep increase in outgoing traffic and the corresponding use in CPU and general slowness starting mid April. Somebody hinted me it might be a certain agent or an AI in training and I’m trying to get information on how to mitigate. I would love to see the log with no errors and the language structure with the expected structure, but since this one has a working walkaround you might understand it is not the highest ranked on my priority list currently.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26702
Joined: Fri Aug 29, 2008 9:49 am

Re: Language errors after updating to 3.3.11

Post by Mick »

lochness wrote: Wed May 15, 2024 6:54 amI currently have a bigger problem
See viewtopic.php?t=2652265

You can identify which bots are visiting your board, good or bad, by going to ’Who is online’ and clicking ‘Display guests’.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel©
🇬🇧

Return to “[3.3.x] Support Forum”