New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with exporting using Firefox or Safari (or PHP8.1.4 issue) - file is not saved because of issue with reading source file #17445
Comments
Do you encounter this issue in Firefox Safe mode as well? It sounds more like a client issue. Have you tried reinstalling and resetting all Firefox settings? |
I've made additional tests from different server with the same phpMyAdmin version but it had PHP 8.1.3. It worked there. But after updating to 8.1.4 the same issue showed up. After seeing that I also checked this on Chrome and there's the same result, which is empty file because of the "network issue". That would suggest it's related to PHP 8.1.4 somehow... As for the headers, this is when trying to export as sql:
And this one is for csv:
|
Related php/php-src#8218 |
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Just to confirm this now being solved. |
I had the same problem with PhpMyAdmin 5.1.3 and PHP 8.0.17, both using Firefox and Chrome. Applying the patch the problem disappeared. |
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Same issue, tried in win: chrome/firefox/opera/edge & ubuntu firefox). Issue occurs on:
Also tried phpMyAdmin-5.2.0-rc1, same result. Alternate route advised: |
This comment was marked as resolved.
This comment was marked as resolved.
Hi everybody, can you try the latest 5.1 version in development (phpMyAdmin 5.1+snapshot) and let me know if it works fine afterwards ? |
Checked with (phpMyAdmin 5.1+snapshot) -> successful! Thanks all for investigating and solving this issue. |
Exports are working again for me. Thanks. |
I was having this problem with PHP 8.0.17 as well. With PMA 5.1+snapshot, exports are working again for me. |
Using PHP 8.1.4 and PMA 5.1.3 exports weren't working. They are now working using PMA 5.1+snapshots |
Confirmed working with phpMyAdmin 5.1+snapshot, tested on:
Nice 1 |
On my side I had to downgrade Docker image to phpmyadmin:5.1.1 to have the export feature work properly. |
Yeah, this is because the image switched to PHP 8 in phpmyadmin/docker@7c28533 before 5.1.2 was released and build in the docker image :) |
Yay, it is working again in php 8.0.17 ubuntu 20.04 mariadb 10.6.7 |
Is it possible to test phpMyAdmin 5.1+snapshot as a docker image? |
Yes, are you able to build docker images on your setup ? |
I'll see. Thanks :) |
Fixed by 51f26fa |
…yadmin#17445 Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
I always find that (Network Failed) error every time I export a database from PHPMyAdmin using XAMPP. my php version 8.0.18 |
@thesoftwaresquad please provide more details - in addition to the PHP-version the PHPMyAdmin-version and the browser you are using might be helpful. |
According to the changelog this is a "Firefox or Safari" issue, but it isn't just. It probably shouldn't say that. |
Changelog: Welcome to the release of phpMyAdmin version 5.2.0. This release contains many new features and quite a few bug fixes. We are simultaneously releasing phpMyAdmin 5.1.4, which is the last release of the 5.1 line and is mostly intended to help downstream packaging teams. Most users should migrate to 5.2.0. Most notably, these releases resolve a networking error when exporting a file (phpmyadmin/phpmyadmin#17445). Some other highlights of 5.2.0 include: Removed support for Microsoft Internet Explorer Requires PHP 7.2 or newer Requires the openssl PHP extension Improved handling of system CA bundle and cacert.pem, falling back to Mozilla CA if needed Replace "master/slave" terms with "primary/replica" Add "NOT LIKE %...%" operator to Table search Add support for the Mroonga engine Add support for account locking Several fixes and improvements to the SQL parser library Sponsored by: Netzkommune GmbH
This is what I did, Then go on download your table as a zipped file. |
Hi all! I have this same error. Glad to see there is a patch that fixes it. ...where do I find patch #17447? Clicking on the link gets me to a thread where a test case is discussed, but I don't see where to download or implement the patch anywhere. |
@DRF24k You can use phpMyAdmin 5.2.0 (or any newer version - if available) or the nightly builds which include this patch. If you really need to stay an phpMyAdmin 5.1 then you can find the patch at the URL you have linked - there you go to the tab "files" to see what exactly was modified in which file: https://github.com/phpmyadmin/phpmyadmin/pull/17447/files |
Thank you for the link, but I am afraid I can't tell what I'm looking at. Is it color coded for something? I'm using the phpMyAdmin that came installed with XAMPP. It's 5.1.3, it seems. I tried replacing the folder with a new verison, but then I couldn't log in. Thank you. I will give it another try. WOHOO! Turns out all I had to do was copy the configuration file over to the new folder! Ha ha! Thank you for all your help!! |
Describe the bug
Not sure if it's FF or phpMyAdmin or something completely different but recently whenever I want to export anything (doesn't matter if it's sql or csv and if it's compressed or not) I'm getting weird message about FF not being able to read source file, which results in file not being downloaded/saved. The file placeholder is created at the destination but it's removed right after hitting confirmation on the window:
The message in the window can be translated as:
I also tried that on older FF version (98dev) and there was no message but the file was empty.
Using
View output as file
works properly.Also affects Safari: hestiacp/hestiacp#2529 (comment)
To Reproduce
Steps to reproduce the behavior:
Server configuration
Client configuration
The text was updated successfully, but these errors were encountered: