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

Question importer from tsv files does not work #445

Open
darekpisz opened this issue Feb 7, 2025 · 0 comments
Open

Question importer from tsv files does not work #445

darekpisz opened this issue Feb 7, 2025 · 0 comments

Comments

@darekpisz
Copy link

darekpisz commented Feb 7, 2025

system Debian 12
software php8.0 mysql-server-8.0 Apache2
TCExam ver. 16.3.7

Question importer from tsv files does not work.
ERROR: [1064]: 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 \', \'0\', \'0\', \'0\', \'0\' )\' at line 20

Image

system Debian 11
software php8.1 mysql-server-8.0 Apache2
TCExam ver. 16.3.6

Fatal error: Uncaught mysqli_sql_exception: 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 ', '0', '0', '0', '0' )' at line 20 in /var/www/domena.zx/public_html/tcexam/shared/code/tce_db_dal_mysqli.php:89 Stack trace: #0 /var/www/domena.zx/public_html/tcexam/shared/code/tce_db_dal_mysqli.php(89): mysqli_query() #1 /var/www/domena.zx/public_html/tcexam/admin/code/tce_import_questions.php(382): F_db_query() #2 /var/www/domena.zx/public_html/tcexam/admin/code/tce_import_questions.php(61): F_TSVQuestionImporter() #3 {main} thrown in /var/www/domena.zx/public_html/tcexam/shared/code/tce_db_dal_mysqli.php on line 89

User importer from tsv files works fine.

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

1 participant