Project

General

Profile

Σφάλματα #137

Λείπει πεδίο στο restore

Added by Yannis Exidaridis almost 10 years ago. Updated almost 10 years ago.

Status:
Επιλυμένο
Priority:
Κανονική
Target version:
Start date:
20/05/2014
Due date:
% Done:

0%

Estimated time:

Description

Κατά το restore μαθήματος από έκδοση 2.x σε 3 εμφανίζεται το παρακάτω μήνυμα λάθους στον πινακα course_units.

n file /opt/eclass30/modules/course_info/restore_functions.php on line 144
Error: Unable to execute statement with error: "Unknown column 'public' in 'field list'" (SQLSTATE=1054 ERROR=42S22) [Statement='INSERT INTO `course_units` (`title`, `comments`, `visible`, `public`, `order`, `course_id`) VALUES (?, ?, ?, ?, ?, ?)' Elapsed=0.00075999999999998]
Notice: Trying to get property of non-object in /opt/eclass30/modules/course_info/restore_functions.php on line 144

In file /opt/eclass30/modules/course_info/restore_functions.php on line 144
Error: Unable to execute statement with error: "Unknown column 'public' in 'field list'" (SQLSTATE=1054 ERROR=42S22) [Statement='INSERT INTO `course_units` (`title`, `comments`, `visible`, `public`, `order`, `course_id`) VALUES (?, ?, ?, ?, ?, ?)' Elapsed=0.00078]
Notice: Trying to get property of non-object in /opt/eclass30/modules/course_info/restore_functions.php on line 144

Φαίνεται να λείπει το πεδίο public.

History

#1

Updated by Thanos Kyritsis almost 10 years ago

Καλησπέρα, νομίζω πως αν γίνει port το changeset 62c823b93734 (http://hg.gunet.gr/openeclass/rev/62c823b93734) στην 3.0, θα λυθεί το πρόβλημα (χωρίς να θέλει patch στο restore_functions.php).

Να προχωρήσω με το backport ?

#2

Updated by Yannis Exidaridis almost 10 years ago

  • Assignee changed from Thanos Kyritsis to Yannis Exidaridis

ναι πράγματι δεν έχει περαστεί στην 3.0 Θα το περάσω εγώ.

#3

Updated by Yannis Exidaridis almost 10 years ago

  • Status changed from Νέα to Επιλυμένο

Οκ το έκανα port και διορθώθηκε.

Also available in: Atom PDF