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

Issue of server charset causes phpMyAdmin to show a notice of “Undefined offset” #15614

Closed
ianthedev opened this issue Dec 4, 2019 · 7 comments
Assignees
Labels
Bug A problem or regression with an existing feature
Projects
Milestone

Comments

@ianthedev
Copy link

ianthedev commented Dec 4, 2019

Describe the bug

There is a Notice of "Undefined offset" every time I open phpMyadmin.

To Reproduce

Steps to reproduce the behavior:

  1. open phpMyadmin

Expected behavior

There should be no Notice.

Screenshots

Link to a Stack Overflow question with a screenshot.
image

Server configuration

  • Operating system: Windows 7
  • Web server: EasyPHP Devserver 17
  • Database version: 5.7.17
  • PHP version: 7.4.0RC4
  • phpMyAdmin version: 4.9.1

Client configuration

  • Browser: Firefox 70
  • Operating system: Windows 7
@williamdes williamdes added the Bug A problem or regression with an existing feature label Dec 4, 2019
@williamdes williamdes added this to Needs triage in issues via automation Dec 4, 2019
@williamdes williamdes moved this from Needs triage to High priority in issues Dec 4, 2019
@williamdes williamdes added this to the 4.9.3 milestone Dec 4, 2019
@williamdes williamdes self-assigned this Dec 4, 2019
@williamdes
Copy link
Member

@ianthedev And if you browse the "Variables" page, can you send a screenshot filtering on "charset" ?

@williamdes
Copy link
Member

introduced by 8b7db3b

@ianthedev
Copy link
Author

@ianthedev And if you browse the "Variables" page, can you send a screenshot filtering on "charset" ?

It says "Not enough privilege to view server variables and settings." as shown in the screenshot below:

Screenshot_2019-12-06 127 0 0 1 127 0 0 1 phpMyAdmin 4 9 1

@williamdes
Copy link
Member

@ianthedev can you send SHOW GRANTS; ?
I can not reproduce your issue, how did you do to have information_schema disabled/access denied ?

@ianthedev
Copy link
Author

ianthedev commented Dec 10, 2019

@ianthedev can you send SHOW GRANTS; ?
I can not reproduce your issue, how did you do to have information_schema disabled/access denied ?

Here is the screenshot of SHOW GRANTS;
Screenshot_2019-12-10 127 0 0 1 127 0 0 1 phpMyAdmin 4 9 1
But I failed to understand your second question.

@williamdes
Copy link
Member

Trying to reproduce the issue using #11442 and #11446

@williamdes
Copy link
Member

reproduced using MySQL 5.7.8 🎉

williamdes added a commit that referenced this issue Dec 21, 2019
Signed-off-by: William Desportes <williamdes@wdes.fr>
issues automation moved this from High priority to Closed Dec 21, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 21, 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