<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div><br></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif;"> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif;"> <div dir="ltr" style="font-family: 'times new roman', 'new york', times, serif;"> <font size="2" face="Arial"> On Friday, 27 June 2014 10:21 PM, Marc Delisle <marc@infomarc.info> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container" style="font-family: 'times new roman', 'new york', times, serif;">>Ashutosh Dhundhara a écrit :<div class="yqt8145324035" id="yqtfd56162"><br clear="none">>> Hi,<br clear="none">>> <br clear="none">>> I was looking into RFE #856 (Catch ability for MySQL errors
 during<br clear="none">>> export.) where I found some unexpected behavior.<br clear="none">>> <br clear="none">>> Scenario: Lets say I have '$cfg['SaveDir'] = 'upload';' directive set<br clear="none">>> in my 'config.inc.php'. So I can now save the exported file directly<br clear="none">>> on the server. I am now exporting a table 'table_1' into<br clear="none">>> 'table_1.sql' with 'Overwrite existing file(s)'checkbox disabled. The<br clear="none">>> file 'table_1.sql' already exists in the 'upload' directory.<br clear="none">>> <br clear="none">>> So now when I click 'Go', I should get an error message: 'File<br clear="none">>> table_1.sql already exists on server, change filename or check<br clear="none">>> overwrite option.' but instead I am being redirected to PMA homepage.<br clear="none">>> <br clear="none">>> <br clear="none">>> I think 'PMA_showExportPage'
 function on line #317 in 'export.php' is<br clear="none">>> not working properly. Can anybody confirm this issue?</div><br clear="none"><br clear="none">>Hi Ashutosh,<br clear="none">>I don't have this issue (I can save and resave) but maybe [0] will <br clear="none">>explain your problem.<br clear="none"><br clear="none">>[0] <a shape="rect" href="https://sourceforge.net/p/phpmyadmin/bugs/4479/" target="_blank">https://sourceforge.net/p/phpmyadmin/bugs/4479/</a><br clear="none"><br clear="none">>-- <br clear="none">>Marc Delisle (phpMyAdmin)</div><div class="y_msg_container" style="font-family: 'times new roman', 'new york', times, serif;"><br></div><div class="y_msg_container"><span style="font-family: 'Courier New', courier, monaco, monospace, sans-serif;">Hi Marc,</span></div><div class="y_msg_container"><span style="font-family: 'Courier New', courier, monaco, monospace, sans-serif;"><br></span></div><div
 class="y_msg_container"><span style="font-family: 'Courier New', courier, monaco, monospace, sans-serif;">I updated my master, but I am still facing the same issue.</span></div><div class="y_msg_container"><span style="font-family: 'Courier New', courier, monaco, monospace, sans-serif;"><br></span></div><div class="y_msg_container"><span style="font-family: 'Courier New', courier, monaco, monospace, sans-serif;">Are you getting the corresponding error message when there is already a file with same name as new in the 'SaveDir'?</span></div><div class="y_msg_container"><span style="font-family: 'Courier New', courier, monaco, monospace, sans-serif;"><br></span></div><div class="y_msg_container"><span style="font-family: 'Courier New', courier, monaco, monospace, sans-serif;">Also, do you get re-directed to home page or stay on the export page after this?</span></div><div class="y_msg_container" style="font-family: 'times new roman', 'new york', times,
 serif;"><br></div><div class="y_msg_container" style="font-family: 'times new roman', 'new york', times, serif;">- -</div><div class="y_msg_container"><span style="font-family: 'Courier New', courier, monaco, monospace, sans-serif;">Ashutosh Dhundhara</span></div>  </div> </div>  </div> </div></body></html>