Bug 1477778

Summary: pg_dump invalid option -- 'i'
Product: [Fedora] Fedora EPEL Reporter: Viorel Tabara <viorel>
Component: phpPgAdminAssignee: Devrim Gündüz <devrim>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: devrim, hhorak, jeremy.pompui, jmlich83, praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: phpPgAdmin-5.6-11.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-24 03:09:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Viorel Tabara 2017-08-02 23:03:38 UTC
Description of problem:
Export comes up with a blank page.

Version-Release number of selected component (if applicable):
phpPgAdmin-5.0.4-1.el6.noarch 


How reproducible:
Always.


Steps to Reproduce:
1. Select "Export" at any level with any Format or Options and click the Export 
button.

Actual results:
Blank page or empty file when the download option is selected.


Expected results:
Either output on page or db dump.


Additional info:

- Discussed at: https://sourceforge.net/p/phppgadmin/mailman/message/35285413/ 


- Web logs:

    ==> /var/log/httpd/error_log <==
    /opt/rh/rh-postgresql95/root/usr/bin/pg_dump: invalid option -- 'i'
    Try "pg_dump --help" for more information.

    ==> /var/log/httpd/ssl_access_log <==
    131.232.4.46 - viorel [02/Aug/2017:16:58:13 -0600] "POST /phpPgAdmin/dbexport.php HTTP/1.1" 200 -

Comment 1 jeremy.pompui 2018-04-12 14:15:06 UTC
Hello,

OS: CentOS 7

Edit vi /usr/share/phpPgAdmin/dbexport.php

Replace << $cmd = $exe ." -i"; >> -> $cmd = $exe;

Comment 2 Fedora Update System 2019-09-06 16:47:08 UTC
FEDORA-EPEL-2019-ac8fc2b38b has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-ac8fc2b38b

Comment 3 Fedora Update System 2019-09-08 03:58:09 UTC
phpPgAdmin-5.6-11.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-ac8fc2b38b

Comment 4 Fedora Update System 2019-09-24 03:09:32 UTC
phpPgAdmin-5.6-11.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.