Problems aftur upgrading from 1.0.1 -> 1.2.1

Having trouble installing serendipity?
Post Reply
croaxer
Regular
Posts: 7
Joined: Wed Oct 18, 2006 1:37 am

Problems aftur upgrading from 1.0.1 -> 1.2.1

Post by croaxer »

Hi

I recently updated Serendipity to version 1.2.1 from 1.0.1. and I'm having 2 problems that are really annoying me !

The first one is that the user profiles plugin isn't working as it should be. I have 2 users that don't get their picture shown on new entries, only in old entries. On those entries their usernames have a '?' instead of Icelandic characters. New entries have the correct character. I've tried reinstalling the plugin, looked at the database for the users in phpMyAdmin and as well looked at all the entries on the site. All subjects that had Icelandic characters now have a '?'. If I fix this by editing the entry, the display picture dissapears but ONLY if the author has an Icelandic character in it. Note that the avatar pictures are named _sgeir.jpg as the plugin explains to do for special characters.

I'm as well having trouble with dates on all entries after the upgrade. I'm using UTF-8 and this was no problem before the upgrade.

Any ideas ? The site is http://www.fullur.is
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Problems aftur upgrading from 1.0.1 -> 1.2.1

Post by garvinhicking »

Hi!

Did you only upgrade s9y? To me this sounds as if a MySQL update was involved as well?

The characters for the date should be displayed correctly if you have installed the server locale "is_IS.UTF-8" or similar. Maybe this locale was removed from your server? There's no other way that it worked before and now doesn't without any other server work.

Maybe you can try to install a 1.0.1 s9y version in a temporary folder. It should exhibit the same behaviour.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
croaxer
Regular
Posts: 7
Joined: Wed Oct 18, 2006 1:37 am

Post by croaxer »

Hi Garvin !

The locale that are installed are is_IS and is_IS.utf8 - There was no MySQL update involved, I talked to my administrator and there have no updates been done for a while.

The funny thing is that if I change the encoding in IE/Firefox to Western ISO-8559-15 the dates appear correctly but everything else gets corrupted.

Altought if I type in 'locale' in shell I get GB outputs, which I assume stands for Great Britain. Would this explain as well the userprofile bug ?

Cheers,
Daniel
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

The date definitely comes from the locales, and it seems that s9y can no longer access the is_IS.utf8 locale and instead falls back to is_IS, which is ISO-encoding. Please make your admin check if the is_IS.UTF8 locale really is properly installed! It should emit characters in UTf-8 encoding, not ISO-encoding.

The locales, though, should be unrelated to the user profiles thing. That would have been covered by a MySQL upgrade only.

Is your admin really sure about the changes? Maybe he runs periodic Debian updates, which just recently upgraded mysql from 4.0 to 4.1 and could cause exactly the problems you have...

Best regards
,Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
croaxer
Regular
Posts: 7
Joined: Wed Oct 18, 2006 1:37 am

Post by croaxer »

Hi Garvin

Now I did a fresh install on a new server which uses PHP5 and MySQL 5.0.18. I'm still having the same problems that all Icelandic characters load with questinmarks in the sidebar and in the date section of new entries. is_IS.utf8 is installed properly on this new server, UTF-8 is selected in the serendipity admin page and the date is set to Gregorian.

The new site is at http://prufa.fullur.is/serendipity
croaxer
Regular
Posts: 7
Joined: Wed Oct 18, 2006 1:37 am

Post by croaxer »

This site has been taken down for the time being, but the question remains the same :(
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

If the characters there don't show up, then sadly PHP cannot read the locale!

Are you sure the locale is installed? If it was installed only recently you must restart the apache webserver.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply