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 with mysql 5.5 sql_mode=TRADITIONAL with PMA 4.5.3.1 #11805
Comments
It seems that for some reason empty SQL query is executed here... |
i can no longer reproduce on PMA 4.5.5.1, i guess it got fixed :) Server configurationOperating system: Web server: Database: Database client version: libmysql - mysqlnd 5.0.12-dev - 20150407 - PHP version: phpMyAdmin version: Client configurationBrowser: Operating system: |
Thanks, closing. Most likely this was fixed in SQL parser... |
Hi, I get a similar error with v4.6.4. Notice in ./libraries/DisplayResults.php#3009 Backtrace ./libraries/DisplayResults.php#2851: PMA\libraries\DisplayResults->_getRowValues( |
@savalou Can you please open separate issue for that? |
I backed up the table, dropped it and recreated it, and the issue went away. So I'm good. |
Running a clean debian 8 with mysql-5.5, nginx 1.6, and php5-fpm (5.6.14), setting sql_mode=TRADITIONAL ( alias for STRICT_TRANS_TABLES, STRICT_ALL_TABLES, NO_ZERO_IN_DATE, NO_ZERO_DATE, ERROR_FOR_DIVISION_BY_ZERO, NO_AUTO_CREATE_USER, NO_ENGINE_SUBSTITUTION ), downloading PMA 4.5.3.1, creating a new user with the "create database and grant all privs" button, then logging out from root and logging in with that user, gives a bunch of errors, it is noteworthy however, that this error seem not to come when using the root user.. errors:
Notice in ./libraries/sql.lib.php#564
Undefined index: is_count
Backtrace
./libraries/sql.lib.php#1999: PMA_isRememberSortingOrder(array)
./libraries/sql.lib.php#1947: PMA_executeQueryAndGetQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string '',
NULL,
NULL,
)
./sql.php#217: PMA_executeQueryAndSendQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string '',
NULL,
NULL,
)
./index.php#53: include(./sql.php)
Notice in ./libraries/sql.lib.php#565
Undefined index: is_export
Backtrace
./libraries/sql.lib.php#1999: PMA_isRememberSortingOrder(array)
./libraries/sql.lib.php#1947: PMA_executeQueryAndGetQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string '',
NULL,
NULL,
)
./sql.php#217: PMA_executeQueryAndSendQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string '',
NULL,
NULL,
)
./index.php#53: include(./sql.php)
Notice in ./libraries/sql.lib.php#566
Undefined index: is_func
Backtrace
./libraries/sql.lib.php#1999: PMA_isRememberSortingOrder(array)
./libraries/sql.lib.php#1947: PMA_executeQueryAndGetQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string '',
NULL,
NULL,
)
./sql.php#217: PMA_executeQueryAndSendQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string '',
NULL,
NULL,
)
./index.php#53: include(./sql.php)
Notice in ./libraries/sql.lib.php#567
Undefined index: is_analyse
Backtrace
./libraries/sql.lib.php#1999: PMA_isRememberSortingOrder(array)
./libraries/sql.lib.php#1947: PMA_executeQueryAndGetQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string '',
NULL,
NULL,
)
./sql.php#217: PMA_executeQueryAndSendQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string '',
NULL,
NULL,
)
./index.php#53: include(./sql.php)
Notice in ./libraries/sql.lib.php#568
Undefined index: select_from
Backtrace
./libraries/sql.lib.php#1999: PMA_isRememberSortingOrder(array)
./libraries/sql.lib.php#1947: PMA_executeQueryAndGetQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string '',
NULL,
NULL,
)
./sql.php#217: PMA_executeQueryAndSendQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string '',
NULL,
NULL,
)
./index.php#53: include(./sql.php)
Notice in ./libraries/sql.lib.php#586
Undefined index: is_export
Backtrace
./libraries/sql.lib.php#2020: PMA_isAppendLimitClause(array)
./libraries/sql.lib.php#1947: PMA_executeQueryAndGetQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string '',
NULL,
NULL,
)
./sql.php#217: PMA_executeQueryAndSendQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string '',
NULL,
NULL,
)
./index.php#53: include(./sql.php)
Notice in ./libraries/sql.lib.php#587
Undefined index: is_analyse
Backtrace
./libraries/sql.lib.php#2020: PMA_isAppendLimitClause(array)
./libraries/sql.lib.php#1947: PMA_executeQueryAndGetQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string '',
NULL,
NULL,
)
./sql.php#217: PMA_executeQueryAndSendQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string '',
NULL,
NULL,
)
./index.php#53: include(./sql.php)
Notice in ./libraries/sql.lib.php#588
Undefined index: select_from
Backtrace
./libraries/sql.lib.php#2020: PMA_isAppendLimitClause(array)
./libraries/sql.lib.php#1947: PMA_executeQueryAndGetQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string '',
NULL,
NULL,
)
./sql.php#217: PMA_executeQueryAndSendQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string '',
NULL,
NULL,
)
./index.php#53: include(./sql.php)
Notice in ./libraries/sql.lib.php#589
Undefined index: is_subquery
Backtrace
./libraries/sql.lib.php#2020: PMA_isAppendLimitClause(array)
./libraries/sql.lib.php#1947: PMA_executeQueryAndGetQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string '',
NULL,
NULL,
)
./sql.php#217: PMA_executeQueryAndSendQueryResponse(
array,
boolean true,
string '',
string '',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string 'db_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string '',
NULL,
NULL,
)
./index.php#53: include(./sql.php)
The text was updated successfully, but these errors were encountered: