SQL Error : 1146 Table '.post_reports' doesn't exist
Scris: 12-Mai-2006, 19:46:28
Am imstalat phpbb in romana si am adaugat cateva MOD-uri la el.
Cand dau sa raspund la un mesaj in forum in fereastra de jos unde se afiseaza mesajele postate la acel topic apar mesajele si la sfarsit apare urmatoarea eroare:
linia 256 //
linia 257 // Add poll
linia 258 //
In bd tabelul exista dar e gol, nu are nimic salvat in el...
Eroarea nu pare a fi de aici.
Ceva idei?
Forumul este la adresa tutoriale.far-php.ro/forum/
Cand dau sa raspund la un mesaj in forum in fereastra de jos unde se afiseaza mesajele postate la acel topic apar mesajele si la sfarsit apare urmatoarea eroare:
M-am uitat la linia 265 in fisierul functions_report.php dar nu ma lamureste cu nimic:Eroare generală
Could not get most recent report
DEBUG MODE
SQL Error : 1146 Table 'far_php_ro_1.post_reports' doesn't exist
SELECT COUNT(report_id) as total FROM post_reports WHERE report_status = 1
Line : 256
File : functions_report.php
message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in page_tail.php?
Cod: Selectaţi tot
$sql = ($mode != 'editpost') ? "INSERT INTO " . POSTS_TEXT_TABLE . " (post_id, post_subject, bbcode_uid, post_text) VALUES ($post_id, '$post_subject', '$bbcode_uid', '$post_message')" : "UPDATE " . POSTS_TEXT_TABLE . " SET post_text = '$post_message', bbcode_uid = '$bbcode_uid', post_subject = '$post_subject' WHERE post_id = $post_id";
if (!$db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql);
}
add_search_words('single', $post_id, stripslashes($post_message), stripslashes($post_subject));
//
// Add poll
//
if (($mode == 'newtopic' || ($mode == 'editpost' && $post_data['edit_poll'])) && !empty($poll_title) && count($poll_options) >= 2)
{
$sql = (!$post_data['has_poll']) ? "INSERT INTO " . VOTE_DESC_TABLE . " (topic_id, vote_text, vote_start, vote_length) VALUES ($topic_id, '$poll_title', $current_time, " . ($poll_length * 86400) . ")" : "UPDATE " . VOTE_DESC_TABLE . " SET vote_text = '$poll_title', vote_length = " . ($poll_length * 86400) . " WHERE topic_id = $topic_id";
if (!$db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql);
}
linia 257 // Add poll
linia 258 //
In bd tabelul exista dar e gol, nu are nimic salvat in el...
Eroarea nu pare a fi de aici.
Ceva idei?
Forumul este la adresa tutoriale.far-php.ro/forum/