Closed Bug 527292 Opened 15 years ago Closed 15 years ago

What's wrong with http://fyfx.stage.mozilla.com/ku/ ?

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

All
Other
task
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stas, Assigned: dmoore)

Details

Could you have a quick glance on the logs related to http://fyfx.stage.mozilla.com/ku/, please?

All other locales work fine (e.g. http://fyfx.stage.mozilla.com/fa/) except for this one.

It works on my local machine and it's just a different messages.po/.mo file, and yet something goes wrong on stage and I'm getting a blank screen with no errors.

Thanks.
Assignee: server-ops → dmoore
Severity: critical → major
PHP is throwing this error when (and only when) the ku locale is specified:

PHP Fatal error:  Call to undefined function fn_select_VIDEO_VIEWS() in /data/www/fyfx.stage.mozilla.com/home.php on line 23
OK, thanks, I'll see what I can figure out...
Thanks Derek. I was able to find the reason of this. Seems like there's a php5 bug with *_TR locales, more specifically with the LC_CTYPE variable.

I found a clue in the AMO code: http://viewvc.svn.mozilla.org/vc/addons/trunk/site/app/config/language.php?view=markup#l226

And then I found the bug description: http://bugs.php.net/bug.php?id=35050 and http://bugs.php.net/bug.php?id=1855 among others.

I applied a work-around in r55549. Dirty, but works... http://fyfx.stage.mozilla.com/ku/

Thanks again!
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.