Σφάλματα #97
Πρόβλημα στην αρχική σελίδα μετά από update
Start date:
21/03/2013
Due date:
% Done:
0%
Estimated time:
Description
Μετά από update από 2.6 σε 3.0, η αρχική σελίδα εμφανίζει αυτό το μήνυμα:
1146: Table 'eclass.agenda' doesn't exist
SELECT agenda.title, agenda.content, agenda.day, DATE_FORMAT(agenda.hour, '%H:%i'),
agenda.lasting, course.code, course.title
FROM agenda, course WHERE agenda.course_id IN ('1','2')
AND agenda.course_id = course.id
AND agenda.visible = 1
HAVING (TO_DAYS(day) - TO_DAYS(NOW())) >= '0'
ORDER BY day, hour DESC
LIMIT 5
Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /home/teras/Works/Development/WebApps/eclass/modules/perso/agenda.php on line 103
1146: Table 'eclass.forum' doesn't exist
SELECT forum.id,
forum.name,
forum_topic.id,
forum_topic.title,
forum_topic.num_replies,
forum_post.post_time,
forum_post.poster_id,
forum_post.post_text
FROM forum, forum_topic, forum_post, course_module
WHERE CONCAT(forum_topic.title, forum_post.post_text) != ''
AND forum.id = forum_topic.forum_id
AND forum_post.topic_id = forum_topic.id
AND forum.course_id = 1
AND DATE_FORMAT(forum_post.post_time, '%Y %m %d') >= "2013 02 21"
AND course_module.visible = 1
AND course_module.module_id = 9
AND course_module.course_id = 1
ORDER BY forum_post.post_time LIMIT 15
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/teras/Works/Development/WebApps/eclass/modules/perso/forumPosts.php on line 63
Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /home/teras/Works/Development/WebApps/eclass/modules/perso/forumPosts.php on line 71
1146: Table 'eclass.forum' doesn't exist
SELECT forum.id,
forum.name,
forum_topic.id,
forum_topic.title,
forum_topic.num_replies,
forum_post.post_time,
forum_post.poster_id,
forum_post.post_text
FROM forum, forum_topic, forum_post, course_module
WHERE CONCAT(forum_topic.title, forum_post.post_text) != ''
AND forum.id = forum_topic.forum_id
AND forum_post.topic_id = forum_topic.id
AND forum.course_id = 2
AND DATE_FORMAT(forum_post.post_time, '%Y %m %d') >= "2013 02 21"
AND course_module.visible = 1
AND course_module.module_id = 9
AND course_module.course_id = 2
ORDER BY forum_post.post_time LIMIT 15
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/teras/Works/Development/WebApps/eclass/modules/perso/forumPosts.php on line 63
Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /home/teras/Works/Development/WebApps/eclass/modules/perso/forumPosts.php on line 71
Από το μήνυμα αυτό και κάτω εμφανίζεται η κεντρική σελίδα
History
Updated by Thanos Kyritsis over 12 years ago
Έχω μια υποψία και για τα 2 σφάλματα. Σε κάποιο commit περάσαμε σε InnoDB, αλλά δεν έχει καθαριστεί παντού στον κώδικα σε όλα τα CREATE TABLE η δημιουργία FULLTEXT index, η οποία δεν επιτρέπεται στο InnoDB, πχ upgrade.php γραμμές 656, 706, 717, 883, 889.
Αυτό έχει σαν αποτέλεσμα η διαδικασία του upgrade να μην ολοκληρώνεται σωστά και άρα να υπάρχουν τα σχετικά σφάλματα μετά το upgrade. Αλήθεια, στο upgrade δεν πέταξε errors ?
Updated by Thanos Kyritsis over 12 years ago
- Priority changed from Κανονική to Υψηλή
- Target version set to 3.0