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
Error 500 when browsing a table #15719
Comments
|
@CBDFactum-com is |
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
I am very confused as you are asking me this question. I wrote it happens with some tables so this cannot be the reason. By the way, I don't have it defined in BTW: Setting it explicitly to /* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* phpMyAdmin sample configuration, you can use it as base for
* manual configuration. For easier setup you can use setup/
*
* All directives are explained in documentation in the doc/ folder
* or at <http://docs.phpmyadmin.net/>.
*
* @package PhpMyAdmin
*/
/*
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
$cfg['blowfish_secret'] = '*****'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
/*
* Servers configuration
*/
$i = 0;
/*
* First server
*/
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';
/* Server parameters */
$cfg['Servers'][$i]['host'] = '***';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysql if your server does not have mysqli */
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = false;
$cfg['Servers'][$i]['user'] = '****';
$cfg['Servers'][$i]['password'] = '*****';
$cfg['Servers'][$i]['pmadb'] = 'pma';
$cfg['Servers'][$i]['controluser'] = '*****';
$cfg['Servers'][$i]['controlpass'] = '*****';
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
$cfg['Servers'][$i]['relation'] = 'pma__relation';
$cfg['Servers'][$i]['table_info'] = 'pma__table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma__column_info';
$cfg['Servers'][$i]['history'] = 'pma__history';
$cfg['Servers'][$i]['tracking'] = 'pma__tracking';
$cfg['Servers'][$i]['designer_coords'] = 'pma__designer_coords';
$cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
$cfg['Servers'][$i]['recent'] = 'pma__recent';
$cfg['Servers'][$i]['favorite'] = 'pma__favorite';
$cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
// 4.5.2
$cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
$cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
$cfg['Servers'][$i]['users'] = 'pma__users';
$cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
$cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
$cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
$cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
$cfg['LoginCookieValidity'] = 604800;
$cfg['ShowDbStructureLastCheck'] = true;
$cfg['TempDir'] = '/tmp';
$cfg['Lang'] = 'en';
$cfg['MaxExactCount'] = 0; |
|
I suspect something else. It has been already a problem in the past updates: |
|
Yep, I was right! I emptied all PMA tables and now it works. |
|
@CBDFactum-com I will have another look at the issue, maybe you reported 2 issues in total :) |
|
Issue 1:
Issue 2: I would need more information, can you recover the data ? |
|
I can but it is a bit complicated - but of course, when it helps you to fix a bug I am your man! |
|
@CBDFactum-com If you can recover the data and send it by email to But, if you restore the data the issue should be back and you could post the stack trace here (that would be easier for you) ?
there coud be 2FA secrets and more, maye GitHub is not the right place to send the phpMyAdmin database |
|
I sent you the database dump with further information. The |
|
I had it again. After I emptied all tables in the |
|
@CBDFactum-com are you up to date ? |
|
@williamdes What do you mean with ".. a new issue if you are up to date"? |
What I mean is: are you using phpMyAdmin 5.0.2? If you are using 5.0.2 then my patch did not work.. 🤔 |
|
@williamdes I am very sorry my friend. My mistake. Yes, in 5.0.2 it's fixed. Thank you very much! |
No worries, I am happy to know that it is fixed |
Describe the bug
Clicking on
Browseon some tables generates a "Error code: 500" message. I couldn't figured out which type of tables triggers the error message.Expected behavior
Browsing the table content.
Testing it with PMA 4.9.3 with exactly the same configuration works for these tables! So I assume it has something to do with PMA 5.0.0
Server configuration
Client configuration
Additional context
Log dump:
The text was updated successfully, but these errors were encountered: