Skip to content
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

Can't browse certain tables since 5.0.0 update #15723

Closed
bastien-effetb opened this issue Dec 30, 2019 · 6 comments
Closed

Can't browse certain tables since 5.0.0 update #15723

bastien-effetb opened this issue Dec 30, 2019 · 6 comments
Assignees
Labels
Bug A problem or regression with an existing feature
Projects
Milestone

Comments

@bastien-effetb
Copy link

Hi,
Since the update to 5.0.0, some tables won't open if I click on the "browse" tab.
Error in log :
[Mon Dec 30 13:58:36.562339 2019] [proxy_fcgi:error] [pid 26746] [client 109.190.142.155:55426] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: strpos() expects parameter 1 to be string, null given in /var/www/vhosts/sql/libraries/classes/DatabaseInterface.php:1270\nStack trace:\n#0 /var/www/vhosts/sql/libraries/classes/DatabaseInterface.php(1270): strpos(NULL, '_')\n#1 /var/www/vhosts/sql/libraries/classes/Relation.php(970): PhpMyAdmin\\DatabaseInterface->getColumnsFull('retaily_app', 'website')\n#2 /var/www/vhosts/sql/libraries/classes/Display/Results.php(4648): PhpMyAdmin\\Relation->getDisplayField('retaily_app', 'website')\n#3 /var/www/vhosts/sql/libraries/classes/Display/Results.php(4269): PhpMyAdmin\\Display\\Results->_setParamForLinkForeignKeyRelatedTables(Array)\n#4 /var/www/vhosts/sql/libraries/classes/Sql.php(1669): PhpMyAdmin\\Display\\Results->getTable(Object(mysqli_result), Array, Array, false)\n#5 /var/www/vhosts/sql/libraries/classes/Sql.php(2002): PhpMyAdmin\\Sql->getHtmlForSqlQueryResultsTable(Object(PhpMyAdmin\\Display\\Results), './themes/pmahom...', NULL, Array, true, 11, 11, NULL, Object(mys...\n'

If i access the table by changing the url and then go on the sql tab, I can run the "Select * from table where 1" successfully.

Phpmyadmin is running on php 7.2.26 (FPM served by apache), Maria DB 10.2.30.

Best regards

@williamdes
Copy link
Member

Seems similar to #15722

@williamdes williamdes added the Bug A problem or regression with an existing feature label Dec 30, 2019
@williamdes williamdes added this to Needs triage in issues via automation Dec 30, 2019
@williamdes williamdes moved this from Needs triage to High priority in issues Dec 30, 2019
@williamdes williamdes added this to the 5.0.1 milestone Dec 30, 2019
@bastien-effetb
Copy link
Author

Yes it's the same sorry for the duplicate...

@williamdes
Copy link
Member

@bastien-effetb Maybe not a duplicate, thank you for the report !

@williamdes
Copy link
Member

@bastien-effetb can you send me the table structure ?

@bastien-effetb
Copy link
Author

@williamdes I just sent you an email with the table structure.

@williamdes williamdes self-assigned this Dec 30, 2019
williamdes added a commit that referenced this issue Dec 30, 2019
Signed-off-by: William Desportes <williamdes@wdes.fr>
issues automation moved this from High priority to Closed Dec 30, 2019
@williamdes
Copy link
Member

Fixed by f9157f2

The "phpMyAdmin 5.0+snapshot" will be available at https://www.phpmyadmin.net/downloads/ tomorrow

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A problem or regression with an existing feature
Projects
issues
  
Closed
Development

No branches or pull requests

2 participants