Bug 1477778 - pg_dump invalid option -- 'i'
Summary: pg_dump invalid option -- 'i'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: phpPgAdmin
Version: el6
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Devrim Gündüz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-02 23:03 UTC by Viorel Tabara
Modified: 2019-09-24 03:09 UTC (History)
5 users (show)

Fixed In Version: phpPgAdmin-5.6-11.el7
Clone Of:
Environment:
Last Closed: 2019-09-24 03:09:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.