Language switcher combobox stays empty Topic is solved

General questions regarding the use of languages in Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
ekelmans
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Mar 19, 2019 4:26 pm

Language switcher combobox stays empty

Post by ekelmans » Tue Mar 19, 2019 5:20 pm

Hi,

I have taken over http://flyballdogs.be from an other webmaster, and i've been adding all sorts of stuff. At first i thought Joomla was unnecessarily hard to use until after a few days the penny dropped. No i think it's design is awesome ;)

Everything i wanted to get working including iframes to a few pages of from our .net based registration website, [youtube], random photos, etc etc.

The last thing on my list however is giving me grief... making the website multilingual.

I found some posts that i needed to fix any errors in the "Multilingual status" on NL, FR and GB, and then tried 2 more walk-throughs without any success. And as far i can see i'm on the last version

I made a workaround by adding a flag in the menu to switch between NL and FR (the 2 most common languages in Belgium), but that is not helping me to separate article based on language.

I have added the post assisant data below.

I hope someone can give me a pointer?

I'm a 55 y/o MS-SQL DBA with some (Azure DEVOPS) .NET web dev experience, so you can be technically brutal with your feedback. Bring it on! Where did i f*ck up?

Theo Ekelmans
Webmaster: flyballdogs.be

Forum Post Assistant (v1.4.8 (koine)) : 19th March 2019 wrote:
Problem Description :: wrote:Language switcher combobox stays empty
Log/Error Message :: wrote:I can find no errors anywhere
Log/Error Message :: wrote:error_log file is empty beside login failure messages
Actions Taken To Resolve wrote:


Worked until "Multilingual status" gave no error on NL, FR and GB, and the tried 2 more walkthroughs without any success.

I made a workaround by adding a flag in the menu to switch between NL and FR (the 2 most common laguages in belgium.
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.9.4-Stable (Amani) 12-March-2019
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Read-Only (444) | Owner: flyballdog (uid: 1/gid: 1) | Group: flyballdog (gid: 1) | Valid For: 3.9
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: No | GZip: false | Cache: true | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: 1 | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.9.4: Yes | Database Supports J! 3.9.4: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 3.13.0-76-generic | Technology: x86_64 | Web Server: Apache/2 | Encoding: gzip, deflate | Doc Root: /home/flyballdog/domains/flyballdogs.be/public_html | System TMP Writable: Yes | Free Disk Space : 55.20 GiB |

PHP Configuration :: Version: 7.1.18 | PHP API: fpm-fcgi | Session Path Writable: No | Display Errors: | Error Reporting: 22527 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 64M | Max. POST Size: 64M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 128M

Database Configuration :: Version: 5.6.15 (Client:mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $) | Host: localhost (Localhost via UNIX socket) | default Collation: latin1_swedish_ci (default Character Set: latin1) | Database Size: 40.39 MiB | #of Tables:  136
Detailed Environment :: wrote:PHP Extensions :: Core (7.1.18) | date (7.1.18) | libxml (7.1.18) | openssl (7.1.18) | pcre (7.1.18) | sqlite3 (7.1.18) | zlib (7.1.18) | bcmath (7.1.18) | calendar (7.1.18) | ctype (7.1.18) | curl (7.1.18) | dom (20031129) | fileinfo (1.0.5) | filter (7.1.18) | ftp (7.1.18) | gd (7.1.18) | gettext (7.1.18) | gmp (7.1.18) | hash (1.0) | iconv (7.1.18) | intl (1.1.0) | json (1.5.0) | mbstring (7.1.18) | mcrypt (7.1.18) | SPL (7.1.18) | PDO (7.1.18) | session (7.1.18) | pdo_sqlite (7.1.18) | standard (7.1.18) | posix (7.1.18) | Reflection (7.1.18) | Phar (2.0.2) | SimpleXML (7.1.18) | soap (7.1.18) | sockets (7.1.18) | mysqlnd (mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $) | mysqli (7.1.18) | tokenizer (7.1.18) | xml (7.1.18) | xmlreader (7.1.18) | xmlwriter (7.1.18) | xsl (7.1.18) | zip (1.13.5) | pdo_mysql (7.1.18) | cgi-fcgi () | Zend Engine (3.1.0) |
Potential Missing Extensions ::

Switch User Environment (Experimental) :: PHP CGI: No | Server SU: No | PHP SU: No | Custom SU (LiteSpeed/Cloud/Grid): Yes
Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (755) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (---) |

Elevated Permissions (First 10) :: cache/mod_articles_latest/ (777) | cache/mod_footer/ (777) | cache/mod_search/ (777) |
Database Information :: wrote:Database statistics :: Uptime: 7713218 | Threads: 1 | Questions: 410596413 | Slow queries: 1678 | Opens: 265375 | Flush tables: 1 | Open tables: 2000 | Queries per second avg: 53.232 |
Extensions Discovered :: wrote:Components :: SITE ::
Core :: com_mailto (3.0.0) 1 | com_wrapper (3.0.0) 1 |
3rd Party:: WF_AGGREGATOR_DAILYMOTION_TITLE (2.7.2) ? | WF_AGGREGATOR_VIMEO_TITLE (2.7.2) ? | WF_AGGREGATOR_[youtube]_TITLE (2.7.2) ? | WF_FILESYSTEM_JOOMLA_TITLE (2.7.2) ? | WF_LINKS_JOOMLALINKS_TITLE (2.7.2) ? | WF_POPUPS_JCEMEDIABOX_TITLE (2.7.2) ? | WF_LINK_SEARCH_TITLE (2.7.2) ? | WF_ANCHOR_TITLE (2.7.2) ? | WF_ARTICLE_TITLE (2.7.2) ? | WF_AUTOSAVE_TITLE (2.7.2) ? | WF_BROWSER_TITLE (2.7.2) ? | WF_CHARMAP_TITLE (2.7.2) ? | WF_CLEANUP_TITLE (2.7.2) ? | WF_CLIPBOARD_TITLE (2.7.2) ? | WF_CONTEXTMENU_TITLE (2.7.2) ? | WF_DIRECTIONALITY_TITLE (2.7.2) ? | WF_EMOTIONS_TITLE (2.7.2) ? | WF_FONTCOLOR_TITLE (2.7.2) ? | WF_FONTSELECT_TITLE (2.7.2) ? | WF_FONTSIZESELECT_TITLE (2.7.2) ? | WF_FORMATSELECT_TITLE (2.7.2) ? | WF_FULLSCREEN_TITLE (2.7.2) ? | WF_HR_TITLE (2.7.2) ? | WF_IMGMANAGER_TITLE (2.7.2) ? | WF_INLINEPOPUPS_TITLE (2.7.2) ? | WF_KITCHENSINK_TITLE (2.7.2) ? | WF_LAYER_TITLE (2.7.2) ? | WF_LINK_TITLE (2.7.2) ? | WF_LISTS_TITLE (2.7.2) ? | WF_MEDIA_TITLE (2.7.2) ? | WF_NONBREAKING_TITLE (2.7.2) ? | WF_PREVIEW_TITLE (2.7.2) ? | WF_PRINT_TITLE (2.7.2) ? | WF_SEARCHREPLACE_TITLE (2.7.2) ? | WF_SOURCE_TITLE (2.7.2) ? | WF_SPELLCHECKER_TITLE (2.7.2) ? | WF_STYLE_TITLE (2.7.2) ? | WF_STYLESELECT_TITLE (2.7.2) ? | WF_TABLE_TITLE (2.7.2) ? | WF_TEXTCASE_TITLE (2.7.2) ? | WF_VISUALBLOCKS_TITLE (2.7.2) ? | WF_VISUALCHARS_TITLE (2.7.2) ? | WF_XHTMLXTRAS_TITLE (2.7.2) ? |

Components :: ADMIN ::
Core :: com_joomlaupdate (3.6.2) 1 | com_finder (3.0.0) 1 | com_fields (3.7.0) 1 | com_weblinks (3.6.0) 1 | com_search (3.0.0) 1 | com_installer (3.0.0) 1 | com_admin (3.0.0) 1 | com_ajax (3.2.0) 1 | com_postinstall (3.2.0) 1 | com_cpanel (3.0.0) 1 | com_modules (3.0.0) 1 | com_plugins (3.0.0) 1 | com_contenthistory (3.2.0) 1 | com_users (3.0.0) 1 | com_templates (3.0.0) 1 | com_config (3.0.0) 1 | com_associations (3.7.0) 1 | com_newsfeeds (3.0.0) 1 | com_checkin (3.0.0) 1 | com_messages (3.0.0) 1 | com_tags (3.1.0) 1 | com_banners (3.0.0) 1 | com_categories (3.0.0) 1 | com_languages (3.0.0) 1 | com_login (3.0.0) 1 | com_media (3.0.0) 1 | com_menus (3.0.0) 1 | com_content (3.0.0) 1 | com_cache (3.0.0) 1 | com_redirect (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_privacy (3.9.0) 1 |
3rd Party:: Akeeba (6.4.2.1) 1 | COM_JFUPLOADER (3.2.5) 1 | COM_JCE (2.7.2) 1 |

Modules :: SITE ::
Core :: mod_random_image (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_search (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_articles_category (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_weblinks (3.6.0) 1 | mod_menu (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_banners (3.0.0) 0 | mod_related_items (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_login (3.0.0) 1 | mod_finder (3.0.0) 1 |
3rd Party:: MOD_JM_TEAM_PROFILES (1.05) 1 | mod_showplus (2.0.0.3) 1 |

Modules :: ADMIN ::
Core :: mod_submenu (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_version (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_title (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_status (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_login (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_latestactions (3.9.0) 1 |
3rd Party::

Libraries :: SITE ::
Core ::
3rd Party:: file_fof30 (3.4.2) ? |

Plugins :: SITE ::
Core :: plg_extension_joomla (3.0.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_tags (3.0.0) 0 | plg_search_weblinks (3.6.0) 1 | plg_search_content (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_weblinks (3.6.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_gmail (3.0.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | plg_installer_webinstaller (1.1.1) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_user_joomla (3.0.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_user_profile (3.0.0) 0 | plg_user_terms (3.9.0) 0 | plg_content_joomla (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_emailcloak (3.0.0) 0 | plg_content_finder (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_vote (3.0.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_system_sef (3.0.0) 1 | plg_system_languagefilter (3.0.0) 1 | plg_system_redirect (3.0.0) 0 | plg_system_highlight (3.0.0) 1 | plg_system_stats (3.5.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_languagecode (3.0.0) 1 | plg_system_updatenotification (3.5.0) 1 | plg_system_debug (3.0.0) 1 | plg_system_log (3.0.0) 1 | plg_system_p3p (3.0.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_privacyconsent (3.9.0) 0 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 0 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_twofactorauth_totp (3.2.0) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_privacy_consents (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | PLG_ACTIONLOG_JOOMLA (3.9.0) 1 |
3rd Party:: plg_extension_jce (2.7.2) 1 | plg_installer_jce (2.7.2) 1 | plg_fields_mediajce (2.7.2) 1 | PLG_CONTENT_JFUPLOADER (3.2.5) 1 | plg_content_jce (2.7.2) 1 | PLG_SYSTEM_AKEEBAUPDATECHECK (6.4.2.1) 1 | PLG_CWGEARS (0.5.3) 1 | PLG_SYSTEM_BACKUPONUPDATE (6.4.2.1) 1 | PLG_SYSTEM_AKEEBAACTIONLOG (6.4.2.1) 1 | plg_system_jce (2.7.2) 1 | Abivia.net SuperTable Free Plugin (2.0.5) 1 | plg_quickicon_akeebabackup (6.4.2.1) 1 | plg_quickicon_jce (2.7.2) 1 | plg_editors_tinymce (4.5.9) 1 | plg_editors_codemirror (5.40.0) 1 | plg_editors_jce (2.7.2) 1 |
Templates Discovered :: wrote:Templates :: SITE :: ol_ageeo (3.5.0) 1 |
Templates :: ADMIN :: isis (1.0) 1 | hathor (3.0.0) 1 |
You do not have the required permissions to view the files attached to this post.
Last edited by ekelmans on Tue Mar 19, 2019 6:02 pm, edited 1 time in total.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30931
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Language switcher combobox stays empty

Post by Per Yngve Berg » Tue Mar 19, 2019 5:57 pm

You have some issues on the server:

Session Path Writable: No (must be yes)
Rename htaccess.txt to .htaccess
No folder should be 777. Set to 755.

It looks like the Language Filter Plugin is not enabled. There is no Language in the url.
Have you made top categories for each language (en, nl, fr)?
Have you made a menu for each language?

ekelmans
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Mar 19, 2019 4:26 pm

Re: Language switcher combobox stays empty

Post by ekelmans » Tue Mar 19, 2019 6:31 pm

Hi Per,

I've been a windows guy for 3 decades, so i have only basic linux knowledge, so help a lost soul in the linux jungle out here.

Where is the session path relative to /domains/flyballdogs.be/public_html?

i have renamed htaccess.txt to .htaccess

http://flyballdogs.be/index.php/home-fr is also showing a -nl , you are seeing the workaround at the moment, otherwise the menu is empty besides HOME

As for your remark: "top categories for each language", i am not sure, can you give me a pointer to a documentation page or article?

And thank you ver much for the fast reply :)

Theo

User avatar
john-doe
Joomla! Ace
Joomla! Ace
Posts: 1008
Joined: Tue Apr 19, 2011 7:39 pm
Location: Colombia
Contact:

Re: Language switcher combobox stays empty

Post by john-doe » Tue Mar 19, 2019 9:09 pm

ekelmans wrote:
Tue Mar 19, 2019 6:31 pm
http://flyballdogs.be/index.php/home-fr is also showing a -nl , you are seeing the workaround at the moment, otherwise the menu is empty besides HOME
The address throws me Error 404
www.aldemar-hernandez.com - Custom templates and design services.

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28204
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Language switcher combobox stays empty

Post by imanickam » Wed Mar 20, 2019 4:45 am

Reviewed the site and it looks like the menu items are not associated. For example, the menu item
NOUVELLES (French) is not associated with the menu item NIEUWS (Dutch).
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged

ekelmans
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Mar 19, 2019 4:26 pm

Re: Language switcher combobox stays empty

Post by ekelmans » Wed Mar 20, 2019 9:42 am

@All

After some more investigation it (the switch staying empty) was due to the language filter set to guest access, when it should have been public, and like Per and imanickam suggested categories and associations !

It's probably due to the previous webmaster attempts to get multilingual to work, but It all works as advertised now.

Me is a happy webmaster :)

Thanks for the help guys, much appreciated!

Theo

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30931
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Language switcher combobox stays empty

Post by Per Yngve Berg » Sun Mar 24, 2019 4:48 am

The session is stored in the folder set by the variable save.session.path in php.ini


Locked

Return to “Language - Joomla! 3.x”