clusterx Posted May 15, 2021 Share Posted May 15, 2021 (edited) if I change the admin folder e.g. to "PPpAA23wTiSvwfm" this is saved correctly but when I log out & log in again with the new URL, I get a 404 error Page not found! https://www.mydomain.tld/client/PPpAA23wTiSvwfm/login I also get an error message when changing mysql strict mode to off: nano /etc/mysql/my.cnf sql_mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION unknown variable 'sql_mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' Debian 10 MariaDB 10.3 PHP 7.3-fpm Edited May 15, 2021 by clusterx Quote Link to comment Share on other sites More sharing options...
0 Staff Member Onur Posted May 15, 2021 Staff Member Share Posted May 15, 2021 29 minutes ago, clusterx said: if I change the admin folder e.g. to "PPpAA23wTiSvwfm" this is saved correctly but when I log out & log in again with the new URL, I get a 404 error Page not found! https://www.mydomain.tld/client/PPpAA23wTiSvwfm/login Most likely you forgot the new url or it is not like you defined earlier. Please send me your phpmyadmin panel login information via private message. I will do a reset for you and then change the admin path to "PPpAA23wTiSvwfm" and we will see the situation together. 30 minutes ago, clusterx said: I also get an error message when changing mysql strict mode to off: nano /etc/mysql/my.cnf sql_mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION unknown variable 'sql_mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' The definition you add should be under the [mysqld] line. If your file does not contain the line [mysqld], you can add it manually. Please define as below. If possible, edit and save the "/etc/mysql/my.cnf" file after SSH login with Filezilla. Quote sql_mode= 1 Quote Helpful links : Developer Center | Usage Guide | Translate | What's New? Link to comment Share on other sites More sharing options...
0 clusterx Posted May 15, 2021 Author Share Posted May 15, 2021 thank you! changing the admin folder name worked now, it seems that only lower case letters are accepted here when I do a check in mysql the following is displayed mysql -u root -p -e "SHOW VARIABLES LIKE 'sql_mode';" +---------------+-------------------------------------------------------------------------------------------+ | Variable_name | Value | +---------------+-------------------------------------------------------------------------------------------+ | sql_mode | STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION | +---------------+-------------------------------------------------------------------------------------------+ It seems the strict mode is already off, but the health status shows a message to turn it of in /etc/mysql/my.cnf Quote Link to comment Share on other sites More sharing options...
0 clusterx Posted May 15, 2021 Author Share Posted May 15, 2021 ok I got it, I missed to add the [mysqld] section header 😀 thank you Onur! Quote Link to comment Share on other sites More sharing options...
Question
clusterx
if I change the admin folder e.g. to "PPpAA23wTiSvwfm"
this is saved correctly but when I log out & log in again with the new URL, I get a 404 error
Page not found!
https://www.mydomain.tld/client/PPpAA23wTiSvwfm/login
I also get an error message when changing mysql strict mode to off:
nano /etc/mysql/my.cnf sql_mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION unknown variable 'sql_mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'
Debian 10
Edited by clusterxMariaDB 10.3
PHP 7.3-fpm
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.