Bug 574352

Summary: Deprecation warning using phpPgAdmin on php-5.3
Product: [Fedora] Fedora Reporter: Jan ONDREJ <ondrejj>
Component: phpPgAdminAssignee: Devrim Gündüz <devrim>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: devrim, wijata
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: phpPgAdmin-4.2.3-1.el4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-09 04:16:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch fixing 2 problems. none

Description Jan ONDREJ 2010-03-17 10:40:00 UTC
Created attachment 400707 [details]
Patch fixing 2 problems.

Description of problem:
Fedora 12 comes with new php-5.3, which displays some deprecation warnings for older constructions. See actual results for warning message.

Version-Release number of selected component (if applicable):
phpPgAdmin-4.2.2-3.fc12.noarch


How reproducible:
always

Steps to Reproduce:
1. open your http://localhost/phpPgAdmin/

Actual results:
Deprecated: Assigning the return value 
of new by reference is deprecated in /usr/share/phpPgAdmin/classes/Misc.php on 
line 342

Expected results:
no warning

Additional info:
patch attached

Comment 1 Devrim Gündüz 2010-03-17 15:37:49 UTC
Upstream is already looking for a solution for that. I'll keep you updated.

Comment 2 Fedora Update System 2010-03-29 18:25:47 UTC
phpPgAdmin-4.2.3-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/phpPgAdmin-4.2.3-1.fc13

Comment 3 Fedora Update System 2010-03-29 18:25:53 UTC
phpPgAdmin-4.2.3-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/phpPgAdmin-4.2.3-1.fc11

Comment 4 Fedora Update System 2010-03-29 18:25:58 UTC
phpPgAdmin-4.2.3-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/phpPgAdmin-4.2.3-1.fc12

Comment 5 Fedora Update System 2010-03-29 18:26:04 UTC
phpPgAdmin-4.2.3-1.el4 has been submitted as an update for Fedora EPEL 4.
http://admin.fedoraproject.org/updates/phpPgAdmin-4.2.3-1.el4

Comment 6 Fedora Update System 2010-03-29 18:26:09 UTC
phpPgAdmin-4.2.3-1.el5 has been submitted as an update for Fedora EPEL 5.
http://admin.fedoraproject.org/updates/phpPgAdmin-4.2.3-1.el5

Comment 7 Fedora Update System 2010-04-01 01:40:53 UTC
phpPgAdmin-4.2.3-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-04-01 01:54:12 UTC
phpPgAdmin-4.2.3-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Jan ONDREJ 2010-04-02 18:15:34 UTC
Problem still present in phpPgAdmin-4.2.3-1.fc12.noarch.
With this update my local change was discarded and also after update /etc/phpPgAdmin/config.inc.php was removed.

Comment 10 Fedora Update System 2010-04-09 04:16:48 UTC
phpPgAdmin-4.2.3-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2010-04-19 23:22:16 UTC
phpPgAdmin-4.2.3-1.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2010-04-19 23:23:47 UTC
phpPgAdmin-4.2.3-1.el4 has been pushed to the Fedora EPEL 4 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Rafal Wijata 2010-07-02 08:42:57 UTC
Well, I'm still encountering the problem, I'm on
phpPgAdmin-4.2.3-1.fc12.noarch
php-5.3.2-2.fc12.x86_64

The strange thing is that Misc.php looks unpatched!

[Fri Jul 02 10:28:37 2010] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.2 mod_ssl/2.2.15 OpenSSL/1.0.0a-fips configured -- resuming normal operations
[Fri Jul 02 10:28:50 2010] [error] [client ] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/phpPgAdmin/classes/Misc.php on line 344, referer: http://localhost/phpPgAdmin/redirect.php
[Fri Jul 02 10:28:50 2010] [error] [client ] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/phpPgAdmin/classes/Misc.php on line 344, referer: http://localhost/phpPgAdmin/
[Fri Jul 02 10:28:51 2010] [error] [client ] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/phpPgAdmin/classes/Misc.php on line 344, referer: http://localhost/phpPgAdmin/browser.php