htmlentities() broken on personas.stage.mozilla.com

VERIFIED FIXED

Status

mozilla.org Graveyard
Server Operations
VERIFIED FIXED
8 years ago
3 years ago

People

(Reporter: rdoherty, Assigned: aravind)

Tracking

Details

(Reporter)

Description

8 years ago
From the php docs:
http://php.net/manual/en/function.htmlentities.php

htmlentities can take 4 arguments in php >= 5.2.3

From oremj's investigation personas.stage.mozilla.com has:
[root@pm-app-personas01 ~]# php -v
PHP 5.2.9 (cli) (built: Jun 23 2009 14:49:15)

But in the logs for personas.stage.mozilla.com using htmlentities with 4 arguments gives an error:

[Sun Mar 07 04:02:58 2010] [error] [client 10.2.76.133] PHP Warning:  htmlentities() expects at most 3 parameters, 4 given in /var/www/personas/server/templates/header.php on line 9

Not sure why this would happen, but it blocks us from fixing bug 547412
(Assignee)

Comment 1

8 years ago
So.. staging isn't that version..

[root@sm-personas01 httpd]# php -v
PHP 5.1.6 (cli) (built: Apr  7 2009 08:00:04)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
[root@sm-personas01 httpd]#
(Reporter)

Comment 2

8 years ago
Arg! Can it be updated? I think production is at least 5.2.3.
(Assignee)

Comment 3

8 years ago
Yeah, but I am not sure what all the dependencies are for the upgrade, if we are using custom build packages for this, what additional packages need to be installed etc.  Let me look at prod and I will comment here once I know more.
Assignee: server-ops → aravind
(Assignee)

Comment 4

8 years ago
upgraded a whole bunch of stuff on that staging box.  This should hopefully fix the problems you are seeing.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
(Reporter)

Comment 5

8 years ago
Uh, that broke a lot of other stuff too. Logs please?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Assignee)

Comment 7

8 years ago
installed some php mysql libraries.
Status: REOPENED → RESOLVED
Last Resolved: 8 years ago8 years ago
Resolution: --- → FIXED
(Reporter)

Comment 8

8 years ago
thanks!
Status: RESOLVED → VERIFIED
(Reporter)

Updated

8 years ago
Blocks: 547412
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.