From williamdes at wdes.fr Wed Jun 7 10:05:49 2023 From: williamdes at wdes.fr (William Desportes) Date: Wed, 07 Jun 2023 10:05:49 +0200 Subject: [phpMyAdmin Developers] No data was received to import In-Reply-To: <16e32416-39f8-2eb8-f123-c1b64f885cc0@swd.ca> References: <647fde37-d0b0-6f34-78b3-9c7f32d0749e@swd.ca> <16e32416-39f8-2eb8-f123-c1b64f885cc0@swd.ca> Message-ID: <9aef37c9f763460c4216c28aa499cfd8@wdes.fr> Hi, > It has not been fixed yet. It is not a file size issue as indicated I > also tried a 170KB sql file. Did you try the config "UploadDir" ?: https://docs.phpmyadmin.net/en/latest/config.html#cfg_UploadDir It may let us know that the import logic works and that the issue is somewhere into the php settings or in the code. Can you try a basic form upload outside of phpMyAdmin to find out if your server has a misconfiguration ? See: https://www.w3schools.com/php/php_file_upload.asp -- William Desportes Le 2023/05/11 17:53, Roger Villeneuve - SWD a ?crit?: > Hi William, > > Thank you for the response. > > It has not been fixed yet. It is not a file size issue as indicated I > also tried a 170KB sql file. > > I will post on github as you suggest. > > Thank you. > > Roger Villeneuve > > On 2023-05-11 5:54 a.m., William Desportes wrote: > >> Hi, >> >> One solution may be to use the config "UploadDir": >> https://docs.phpmyadmin.net/en/latest/config.html#cfg_UploadDir >> That would avoid the upload file size issue. >> >> Did you manage to get this working now ? >> >> The best would be to open an issue on >> https://github.com/phpmyadmin/phpmyadmin/issues so we could assist >> you much quickly. >> >> -- >> William Desportes >> Le 2023/04/15 21:02, Roger Villeneuve - SWD a ?crit : >> >>> Using IIS 10, msql 8, php 8.1, phypmyadmin 5.2 >>> >>> Database upload does not work as per subject. On this sever are >>> Wordpress sites and upload works. >>> >>> Database size does not seem to be the issue as I tried to upload a >>> >>> 170KB sql file. PHP is setup to allow 100MB. >>> >>> ERROR on import: >>> >>> _No data was received to import. Either no file name was >>> submitted, or >>> the file size exceeded the maximum size permitted by your PHP >>> configuration_ >>> >>> I spent far too long trying to resolve this. >>> >>> Any ideas? Thank you. >>> >>> -- >>> >>> Roger Villeneuve >>> _______________________________________________ >>> Developers mailing list >>> Developers at phpmyadmin.net >>> https://lists.phpmyadmin.net/mailman/listinfo/developers From roger at swd.ca Wed Jun 7 16:53:18 2023 From: roger at swd.ca (Roger Villeneuve - SWD) Date: Wed, 7 Jun 2023 09:53:18 -0500 Subject: [phpMyAdmin Developers] No data was received to import In-Reply-To: <9aef37c9f763460c4216c28aa499cfd8@wdes.fr> References: <647fde37-d0b0-6f34-78b3-9c7f32d0749e@swd.ca> <16e32416-39f8-2eb8-f123-c1b64f885cc0@swd.ca> <9aef37c9f763460c4216c28aa499cfd8@wdes.fr> Message-ID: I resolved the issue. It was permission related. Thank you! *Roger Villeneuve* ** On 2023-06-07 3:05 a.m., William Desportes wrote: > Hi, > >> It has not been fixed yet. It is not a file size issue as indicated I >> also tried a 170KB sql file. > > Did you try the config "UploadDir" ?: > https://docs.phpmyadmin.net/en/latest/config.html#cfg_UploadDir > > It may let us know that the import logic works and that the issue is > somewhere into the php settings or in the code. > Can you try a basic form upload outside of phpMyAdmin to find out if > your server has a misconfiguration ? > See: https://www.w3schools.com/php/php_file_upload.asp > > -- > William Desportes > Le 2023/05/11 17:53, Roger Villeneuve - SWD a ?crit?: >> Hi William, >> >> Thank you for the response. >> >> It has not been fixed yet. It is not a file size issue as indicated I >> also tried a 170KB sql file. >> >> I will post on github as you suggest. >> >> Thank you. >> >> Roger Villeneuve >> >> On 2023-05-11 5:54 a.m., William Desportes wrote: >> >>> Hi, >>> >>> One solution may be to use the config "UploadDir": >>> https://docs.phpmyadmin.net/en/latest/config.html#cfg_UploadDir >>> That would avoid the upload file size issue. >>> >>> Did you manage to get this working now ? >>> >>> The best would be to open an issue on >>> https://github.com/phpmyadmin/phpmyadmin/issues so we could assist >>> you much quickly. >>> >>> -- >>> William Desportes >>> Le 2023/04/15 21:02, Roger Villeneuve - SWD a ?crit : >>> >>>> Using IIS 10, msql 8, php 8.1, phypmyadmin 5.2 >>>> >>>> Database upload does not work as per subject. On this sever are >>>> Wordpress sites and upload works. >>>> >>>> Database size does not seem to be the issue as I tried to upload a >>>> >>>> 170KB sql file. PHP is setup to allow 100MB. >>>> >>>> ERROR on import: >>>> >>>> _No data was received to import. Either no file name was >>>> submitted, or >>>> the file size exceeded the maximum size permitted by your PHP >>>> configuration_ >>>> >>>> I spent far too long trying to resolve this. >>>> >>>> Any ideas? Thank you. >>>> >>>> -- >>>> >>>> Roger Villeneuve >>>> _______________________________________________ >>>> Developers mailing list >>>> Developers at phpmyadmin.net >>>> https://lists.phpmyadmin.net/mailman/listinfo/developers -------------- next part -------------- An HTML attachment was scrubbed... URL: