after update to 2.5.10 my multilanguage site stop working

General questions regarding the use of languages in Joomla! 2.5.

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.
falcongr
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Apr 25, 2013 11:16 am

after update to 2.5.10 my multilanguage site stop working

Post by falcongr » Thu Apr 25, 2013 11:25 am

Hello
I have a multilanguage site and after i did the update from 2.5.9 to 2.5.10 the only language that works is English,German,Chinese and Russian when i press the flag button i get 404 error.
Any idea how i will fix this problem?

Thank you in advance

Martinius24
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Thu Apr 25, 2013 1:16 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by Martinius24 » Thu Apr 25, 2013 1:24 pm

I have the same issue. Upgraded today from 2.5.9 to 10, and all russian and other languages articles giving 404 error now. Only english site is OK. Cant find solution so far. "show intro text"-ON .. is not solution in this case also.

Anyone can help? :) not good case for clients to see all articles giving errors...

Thank You!

Edit: I can add that if I use update-purge cache then it releases something and when I ask to find updates then it gives error:
Update: :Extension: Could not open http://gruz.org.ua/images/stories/files ... _ru_ru.xml

and the same for all languages.

falcongr
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Apr 25, 2013 11:16 am

Re: after update to 2.5.10 my multilanguage site stop workin

Post by falcongr » Fri Apr 26, 2013 8:15 am

No solution yet , i had to restore the site from a backup to the previous version ,this is not the best solution but it's the only solution until someone finds out how to solve this issue.

Martinius24
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Thu Apr 25, 2013 1:16 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by Martinius24 » Fri Apr 26, 2013 11:08 am

Now I found that in Site-System information-Directory permissions the configuration.php is UNWRITABLE. All others are writable.
Think something is stuck there, - but how to make it writable?

Maybe this is the solution we are looking for?

Are we alone with this problem? Noone else has it? Is there somwhere place to get answer?

Martinius24
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Thu Apr 25, 2013 1:16 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by Martinius24 » Fri Apr 26, 2013 5:31 pm

I can see around web, that we are not alone having this issue, Can this be answered please. Yes its my learning point, because I was pushing button without making backup first... nothing was happened so far. But please:) anyone? :) thank You!

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

Re: after update to 2.5.10 my multilanguage site stop workin

Post by Per Yngve Berg » Fri Apr 26, 2013 6:31 pm

Mod. Note: Relocated the topic to the Language J2.5 forum.

momchilcho
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri Nov 05, 2010 6:52 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by momchilcho » Fri Apr 26, 2013 6:46 pm

Same issue here!

The second language of the site is in Bulgarian. I think that for some reason the UTF-8 is no longer working, but I may be wrong.

Help please!

Thank you.

momchilcho
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri Nov 05, 2010 6:52 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by momchilcho » Fri Apr 26, 2013 6:50 pm

I tried downgrading to 2.5.9 but the error remains. (just so that you know that this does not work)

Martinius24
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Thu Apr 25, 2013 1:16 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by Martinius24 » Fri Apr 26, 2013 7:45 pm

At the same time in same page with this multilanguage and articles missing issue, Virtuemart admin panel shows error:


vmdebug self::$_jpConfig->lang et_ee
vmdebug vmTime: loadConfig db no: 0.00919198989868

maybe this small footprint helps someone to find out from where is our problem comes up...

All that mess came up with update from 2.5.9 to 2.5.10 ...very frustating... but yes, this frustration does not help... hope some boat will find us from this ocean... so far feels like Robinson Crusoe...

ylavoie
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Jan 10, 2012 8:11 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by ylavoie » Fri Apr 26, 2013 8:31 pm

All languages but main stopped here also with upgrade. Very frustrating.
I'll dig in the code tonight, but I had others plans...

Yves

momchilcho
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri Nov 05, 2010 6:52 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by momchilcho » Sat Apr 27, 2013 7:11 am

OK latest update! I tried updating to joomla 2.5.11 with the patch, but unfortunately NO LUCK! :( Site is still broken and works only in English but not in Bulgarian.... I think the problem comes from the Cyrillic symbols.

Any luck anyone?

ylavoie
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Jan 10, 2012 8:11 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by ylavoie » Sat Apr 27, 2013 7:25 am

Nope, same here. I jumped onto 2.5.11, hoping for the best, but not yet.
Only main language works (french here), all 4 others are failing and users are complaining.
Though life for the webmaster...

momchilcho
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri Nov 05, 2010 6:52 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by momchilcho » Sat Apr 27, 2013 7:57 am

Guys,
I have also started a discussion on the official Google+ page on Joomla. Join me with comments if you want as I think this well help resolving the issue as quickly as possible.

Link:
https://plus.google.com/112939345266070287086/posts

Thanks

Martinius24
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Thu Apr 25, 2013 1:16 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by Martinius24 » Sat Apr 27, 2013 9:04 am

For helping joomla Admin to find direction, as I understand, tring thru different combinations here, this was happened because some change in language filter or somewhere around it. Can this placed back as it was 2.5.9 so that language backages can work as they were in 2.5.9 version. Or what we need to change, is the question too of course.

So far, I directing all clients thru "attention" banner to english site where they can find contacts etc. But looking for solution of course.

Thanks momchilcho for opening Google+ discussion!

And this is not cyrillic alphabet issue as you mentioned

OK latest update! I tried updating to joomla 2.5.11 with the patch, but unfortunately NO LUCK! :( Site is still broken and works only in English but not in Bulgarian.... I think the problem comes from the Cyrillic symbols.[/]
Because same thing with estonian language.

murdok85
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Apr 27, 2013 12:17 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by murdok85 » Sat Apr 27, 2013 12:21 pm

I have the same problem and I can not find a solution. Released a 2.5.12?

User avatar
MarijkeS
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 232
Joined: Sun Nov 25, 2007 6:13 am
Location: Enschede, Netherlands
Contact:

Re: after update to 2.5.10 my multilanguage site stop workin

Post by MarijkeS » Sat Apr 27, 2013 9:03 pm

Do you have the multi lingual status module enabled and does it display any warnings or errors?

My hunch would be you have a contact set to a language and linked to a user/author.
You should either set that contact to all languages or not link to a registered user/author if you want the contact set to a specific language.
Coordinator Translationteam JoomlaCommunity.eu | Member Dutch Translation Team - http://joomlacode.org/gf/project/nederlands/l
Joomla! Translation Coordination Team

ylavoie
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Jan 10, 2012 8:11 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by ylavoie » Sat Apr 27, 2013 9:36 pm

1- No error in log files
2- It happens for every logged user and for any general access. Try it, http://www.rie.ca/en will fail, right there, without any other intervention whereas http://www.rie.ca/index.php will succeed.

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: after update to 2.5.10 my multilanguage site stop workin

Post by mcsmom » Sat Apr 27, 2013 9:52 pm

Can you open and save the multilingual filter plugin?
Also make sure to clear cache. You may need to clear your cookies also.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

ylavoie
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Jan 10, 2012 8:11 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by ylavoie » Sat Apr 27, 2013 9:54 pm

Elin Waring suggested undoing this:
https://gist.github.com/elinw/5474827

This fixed MY site, all languages are back online as before.

Yves

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: after update to 2.5.10 my multilanguage site stop workin

Post by infograf768 » Sun Apr 28, 2013 5:54 am

Folks, please look again at the contacts assigned to a user/creator.

It may be that when a single contact was set to "all" languages, it would show as "Undefined". Make sure you save it again with language set to "All".

If you use one contact for the same user per content language, do not set any contact for the same user set to All languages.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

ylavoie
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Jan 10, 2012 8:11 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by ylavoie » Sun Apr 28, 2013 6:37 am

After Elin eye opening comment, it became pretty obvious what was
happening. The new filter assumes that either an article exists for a
specific language or it must be assigned to all languages. At first
look, this hypothesis seemed sound and safe but it probably doesn't
stand for most of us who are deploying multi-languages sites.

IMHO, most sites probably came from a single language implementation,
where either the users or the webmaster are(is) most fluent (french
canadian, in my case) and evolved to use other languages, TAKING INTO
ACCOUNT that the original language would be a default case when a
specific version of an article wasn't available or yet written in
another language. For example, for my site, it is completely in french,
and partially in other languages. When a specific content is not
available in the user language, the french version is displayed. After
all, this is a sound interpretation for "default language" in the
language manager.

So, I propose the following modification:

Code: Select all

diff -u /components/com_content/models/article.php.original /components/com_content/models/article.php
--- article.php.original        2013-04-27 17:43:47.259039828 -0400
+++ article.php 2013-04-28 02:02:50.868496667 -0400
@@ -116,8 +116,10 @@
                                // Filter by language
                                if ($this->getState('filter.language'))
                                {
-                                       $query->where('a.language in ('.$db->quote(JFactory::getLanguage()->getTag()).','.$db->quote('*').')');
-                                       $query->where('(contact.language in ('.$db->quote(JFactory::getLanguage()->getTag()).','.$db->quote('*').') OR contact.language IS NULL)');
+                                       $default_language = JComponentHelper::getParams('com_languages')->get('site');
+                                       $languages = $db->quote(JFactory::getLanguage()->getTag()).','.$db->quote('*').','.$db->quote($default_language);
+                                       $query->where('a.language in ('.$languages.')');
+                                       $query->where('(contact.language in ('.$languages.') OR contact.language IS NULL)');
                                }
 
                                // Join over the categories to get parent category titles
After this, I was able to keep 2.5.10 & 2.5.11 modifications and get all my data back online.

Yves

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: after update to 2.5.10 my multilanguage site stop workin

Post by infograf768 » Sun Apr 28, 2013 8:29 am

Here are patches for 2.5.11 and 3.1.1 correcting the error in case a contact was forgotten for a said content language:
http://joomlacode.org/gf/project/joomla ... m_id=30748

thank you for testing.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

bembelimen
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Nov 25, 2008 4:38 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by bembelimen » Sun Apr 28, 2013 8:38 am

ylavoie wrote:After this, I was able to keep 2.5.10 & 2.5.11 modifications and get all my data back online.
If you have no default language you will also get a 404 with your patch, so try infograf768s patch.

momchilcho
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri Nov 05, 2010 6:52 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by momchilcho » Sun Apr 28, 2013 8:53 am

Can you please explain how to use those patches?

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

Re: after update to 2.5.10 my multilanguage site stop workin

Post by Per Yngve Berg » Sun Apr 28, 2013 9:39 am

Remove the lines with "-" and add the lines with a "+".

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: after update to 2.5.10 my multilanguage site stop workin

Post by mcsmom » Sun Apr 28, 2013 10:43 am

ylavoie are you saying you have a blank language field in your contact table?
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

murdok85
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Apr 27, 2013 12:17 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by murdok85 » Sun Apr 28, 2013 11:23 am

infograf768 wrote:Here are patches for 2.5.11 and 3.1.1 correcting the error in case a contact was forgotten for a said content language:
http://joomlacode.org/gf/project/joomla ... m_id=30748

thank you for testing.

thanks infograf768

I solved it by making these changes. it is possible that the Joomla team does not issue an update for something so important?

Martinius24
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Thu Apr 25, 2013 1:16 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by Martinius24 » Sun Apr 28, 2013 11:47 am

Thank You all! :) I´m back on road! To me infograf768 suggestion to look again contacts worked. Language was set to english, so other languages didnt accepted... I set it to All, and all articles are back. Thank You! I´m alive again :)

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: after update to 2.5.10 my multilanguage site stop workin

Post by infograf768 » Sun Apr 28, 2013 2:44 pm

murdok85 wrote:
infograf768 wrote:Here are patches for 2.5.11 and 3.1.1 correcting the error in case a contact was forgotten for a said content language:
http://joomlacode.org/gf/project/joomla ... m_id=30748

thank you for testing.

thanks infograf768

I solved it by making these changes. it is possible that the Joomla team does not issue an update for something so important?
You can solve the issue simply on a multilanguage site without this patch if a user/author has:

OR one contact ONLY set to ALL languages (Make sure it is really set to ALL)
OR one contact created and set FOR EACH content language

The patch does only correct an issue if you have not created a contact for each content language.

Anyhow, please comment in the tracker that the patch works for you in these conditions.
Thanks
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

momchilcho
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Fri Nov 05, 2010 6:52 pm

Re: after update to 2.5.10 my multilanguage site stop workin

Post by momchilcho » Sun Apr 28, 2013 4:03 pm

Guys I am still struggling with this.

Can someone please provide the actual edited atricles.php file.

Thank you.


Locked

Return to “Language - Joomla! 2.5”