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

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near #59

Open
0ktav1us opened this issue Jul 14, 2020 · 2 comments

Comments

@0ktav1us
Copy link

Hello, I can't create group, please help;
mysql Ver 8.0.20-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu))
PHP 7.4.3 (cli) (built: May 26 2020 12:24:22) ( NTS )
PHP 7.4.3 (cli) (built: May 26 2020 12:24:22) ( NTS )

[Tue Jul 14 15:51:29.248120 2020] [php7:warn] [pid 85779] [client 192.168.0.3:46664] PHP Warning:  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups WHERE gid="1000"' at line 1 in /var/www/proftpd/includes/ez_sql_mysqli.php on line 272, referer: http://192.168.0.3/proftpd/add_group.php
[Tue Jul 14 15:51:29.248154 2020] [php7:notice] [pid 85779] [client 192.168.0.3:46664] PHP Notice:  Trying to access array offset on value of type null in /var/www/proftpd/includes/ez_sql_core.php on line 170, referer: http://192.168.0.3/proftpd/add_group.php
[Tue Jul 14 15:51:29.248264 2020] [php7:warn] [pid 85779] [client 192.168.0.3:46664] PHP Warning:  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups (groupname,gid,members) VALUES ("admins","1000","")' at line 1 in /var/www/proftpd/includes/ez_sql_mysqli.php on line 272, referer: `http://192.168.0.3/proftpd/add_group.php`


@LiskoFINAL
Copy link

I have this problem too. Also after manually injecting a group, it isn't seen in webif and can't create any user. Ubuntu 20.04 x64

@LiskoFINAL
Copy link

I just switched from mysql to mariadb in my Ubuntu 20.04 server setup and all is working fine now. I had the syntax issue even with proftpd alone, now it's all back to normal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants