Jump to content

Session: Missing required value (language)


OLSA
 Share

Recommended Posts

Hello for all,

don't know if this can help to someone, but here is solution for one strange problem (PW 3.096).

1) installation was multilanguage (EN and FR)
2) one langauge was deleted and all works without problems (as a "single-language" website)
3) but then, when my client try to add/create new user this happened:

error.png.8f181f4496b8728966cbbba0d473f868.png

What was strange, at the bottom of that page was empty Language inputfieldset section ("required")???

language-area.jpg.a4e72a568df589f97596fe4f634be684.jpg

I try again to install second language (idea was that maybe new uninstall would help), but it was not possible because "...there are Language..."  (new red messages). After all, I found that in database are still old language tables and rows and after deleting the problem was solved.

Here is the list of tables and records and what I done:

1) delete from table "fields" 3 rows where name: language_files_site, language_files and language
2) delete 3 tables: field_language, field_language_files and field_language_files_site
3) delete from table templates 1 row where name is language

Or all that with this query inside phpMyAdmin:

DELETE FROM `fields` WHERE `name` IN ('language_files_site','language_files','language');
DROP TABLE IF EXISTS field_language, field_language_files, field_language_files_site;
DELETE FROM `templates` WHERE `name`='language';

Please be careful because this is very risky and before anything backup your database.

Regards.

 

 

  • Like 1
Link to comment
Share on other sites

  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...