8

I'm getting a HTTP ERROR 500 when attempting to export from phpmyadmin. It only occurs after hitting the 'export' button after setting all the export settings. I'm able to do a mysqlbackup just fine, but I get an error on export.php.

I'm not really sure where to start with this, there are no errors in any log that I checked. I've uninstalled, purged and reinstalled phpmyadmin with no change. Any help would be appreciated!

I'm running php7.0 on ubuntu 14.04.

1 Answer 1

20

Go to /usr/share/phpmyadmin/export.php

On line 864 : change break 2; by break;

Source : github

Worked for me ;)

9
  • 2
    Such a simple solution for a problem that has been driving me nuts for months! Works great, thanks! Jul 2, 2017 at 15:44
  • You're welcome! Happy to help ;)
    – glemiere
    Jul 2, 2017 at 16:17
  • Working for me too :) Dec 4, 2017 at 5:54
  • 1
    omg finally!!! after one year i found the sslution
    – Francesco
    Jan 11, 2018 at 21:04
  • 1
    @IvijanStefanStipić well, I just looked at their code on github and can't find any occurence of "break 2" in export.php. The file is also shorter so I guess the team fixed this issue a long time ago, but the ppa repo probably didn't get updated since then on ubuntu 14. No problem on ubuntu 16 by installing it using default ppa. You can trust versions 4.5.4 and above.
    – glemiere
    Jun 6, 2018 at 17:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .