Skip to content

Question importer from tsv files does not work #445

@darekpisz

Description

@darekpisz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions