From: SourceForge.net <no...@so...> - 2004-12-01 18:56:21
|
Bugs item #1058413, was opened at 2004-11-01 16:30 Message generated for change (Comment added) made by xzilla You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=418980&aid=1058413&group_id=37132 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: superdigi (superdigi) Assigned to: Nobody/Anonymous (nobody) Summary: Export does not work on Windows Servers Initial Comment: When you use phpPgAdmin on a windows system and you want to Export Data, the system command that calls pg_dump.exe is wrong. There are too much ' that are generated by the php-command escapeshellarg that is used in the page dbexport.php The command generated is: C:\Programme\PostgreSQL\7.5\bin\pg_dump.exe -i -h '127.0.0.1' -p '5432' -t 't_zahlweise' -n 'public' -a -d 'royalbunker' But it should be C:\Programme\PostgreSQL\7.5\bin\pg_dump.exe -i -h 127.0.0.1 -p 5432 -t t_zahlweise -n public -a -d royalbunker Solution (Until this is fixed in a future phpPgAdmin-Release): Delete all commands "escapeshellarg()" in dbexport.php and the export works. ---------------------------------------------------------------------- >Comment By: Robert Treat (xzilla) Date: 2004-12-01 13:56 Message: Logged In: YES user_id=204589 What would happen if the table name was "something with a space" ? Does your fix still work ? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=418980&aid=1058413&group_id=37132 |